• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Virtual Memory

I made 1 fat, and 2 3 gb parts for ssm, and 1 256mb part for swap. Converted them from ext2 to ext4. Kouma spotted me the advice to use mkswap on my part /Dev/block/mmcblk0p4 and then mounted it with koumamod. Never even see more than 80mb's used in swap part... swappiness of 60.
 
I made 1 fat, and 2 3 gb parts for ssm, and 1 256mb part for swap. Converted them from ext2 to ext4. Kouma spotted me the advice to use mkswap on my part /Dev/block/mmcblk0p4 and then mounted it with koumamod. Never even see more than 80mb's used in swap part... swappiness of 60.
well ok, still don't totally understand and will have to get a step by step from him so i don't scew it up. but sounds good and when you say no lag i pretty much now think i have no lag. don't see how can be any faster. now i can go from a sleeping phone to on then settings then applications to manage then will see apps and how much they all use in like 3 secs. as fast as i can press it will be there. even to like file explorer or anything like that. is yours faster or did you have slowness and this made it better for you?????? just wondering if its worth it for me to do in my case??????
 
Honestly, basic functions I never had lag, but when my son was playing games and had to swap out for msgs or calls or anything of that nature, my phone would lock up and even freeze sometimes. No problems now. May wait a few seconds, if that
This is the major difference I have seen. Multiple applications don't lock my phone up now. Want me to pm you what I did, I can. No expert by any means...
 
Honestly, basic functions I never had lag, but when my son was playing games and had to swap out for msgs or calls or anything of that nature, my phone would lock up and even freeze sometimes. No problems now. May wait a few seconds, if that
This is the major difference I have seen. Multiple applications don't lock my phone up now. Want me to pm you what I did, I can. No expert by any means...
sure i'm no expert either, some things i'm good at and others not so good and other people are good at others and thats how we all get along. but yeah pm me . thx
 
Okay...so I have two partitions of 512mb
For SSM.
But! I wanna use that unused internal memory.
How do I do this?
All the swappaholics got info for me?
I get confused just by reading swap swappy swappiness swapadiddly swaparoo that there is.
This is what I'm thinking I have to do.
I believe the internal memory is in /Dev/ (something else) /
I want to use as much of it as possible.
So I'm thinking 100-140mb?
Swapiness 2 (app) is taking some getting used to.
But I think I can manage it.
 
Okay...so I have two partitions of 512mb
For SSM.
But! I wanna use that unused internal memory.
How do I do this?
All the swappaholics got info for me?
I get confused just by reading swap swappy swappiness swapadiddly swaparoo that there is.
This is what I'm thinking I have to do.
I believe the internal memory is in /Dev/ (something else) /
I want to use as much of it as possible.
So I'm thinking 100-140mb?
Swapiness 2 (app) is taking some getting used to.
But I think I can manage it.


if your using ssm you can't mount partition.make swapfile.swp on sdcard and have koumamod look at it then "mkdir /data/swap"and mv from sdcard to there.manually change koumamod to/data/swap/swapfile.swp save and reboot
 
and don't use run at boot in swapper 2 app

and kouma...
it apk 1.3 not using swap at boot it seems.worked with 1.2

keep trying might be my error in MIUI file explorer what should swapfile permissions be? root.root rw rw rw? or system.system rw-rw-rw
 
if your using ssm you can't mount partition.make swapfile.swp on sdcard and have koumamod look at it then "mkdir /data/swap"and mv from sdcard to there.manually change koumamod to/data/swap/swapfile.swp save and reboot
I don't wanna mount partition . I want to use the original internal memory as ram.
 
the internal memory it's a partition to.you can either put all data on ext and mount /dev/stl13 as swap
or with ssm you can put swapfile somewhere in /data
 
I'm using ssm and have a partition mounted as swap. How can I not do that? Mounted 4th partition /dev/block/mmcblk0p4 approx 256 MB swap.
4418834d-5e9d-8ac6.jpg

4418834d-5f87-66d8.jpg
 
and Why your koumamod look like that? it themed out do I have old version? I got 1.3 that someone emailed me last night might have been kouma idk didn't check
 
My bad, misunderstood. Yup, I'm using guspeeds dark times. I have to say, I really like it. :( Sorry for the misunderstanding... really
 
My bad, misunderstood. Yup, I'm using guspeeds dark times. I have to say, I really like it. :( Sorry for the misunderstanding... really


no give me your partition

and kouma any ideas why swap isn't mounting at boot? I installed to fresh flash and have swap in /data/swap/swapfile.swp and /data/app/swapfile.swp (running SSM so one is internal one with apps
 
no give me your partition

and kouma any ideas why swap isn't mounting at boot? I installed to fresh flash and have swap in /data/swap/swapfile.swp and /data/app/swapfile.swp (running SSM so one is internal one with apps


Maybe you typo'd one of the paths.
I may need to adjust how the startup service checks for the file to be available. I know that android apps typically can't see into /data. But I think if they try to access a specific file, it works. I may have been mistaken and that could be the issue
 
Maybe you typo'd one of the paths.
I may need to adjust how the startup service checks for the file to be available. I know that android apps typically can't see into /data. But I think if they try to access a specific file, it works. I may have been mistaken and that could be the issue


it was cuz I didn't set priority.thought it would be -1 and minus to.works at boot when I put values in though
 
it was cuz I didn't set priority.thought it would be -1 and minus to.works at boot when I put values in though

ok, that's still a bug then. It's -supposed- to let you leave priority empty and let the system pick the value on boot.
I guess it's not working. I'll have to look into that
 
ok, that's still a bug then. It's -supposed- to let you leave priority empty and let the system pick the value on boot.
I guess it's not working. I'll have to look into that


ya I've confirmed bug numerous tries. no values on 2 premade swapfiles fail to swapon. have to manually activate each but apk doesn't call at boot anyways so don't do nothing. I use one at priority 70 other 30 and it self mounts and sticks with reboot. it's seeing blank values as priority 0 I guess so don't activate.

try making blank values only swapon with no priority options.just gotta mount in order of menu and should get first as -1 and next -2. that only bug I've found out don't force close even if it fail now so that cool. a display box right below showing command "free"with manual refresh button so it don't have to auto poll would be convenient too.so I don't gotta switch to terminal or mem app to confirm or view usage
 
kouma....

got question bout priories in koumamod 1.3

after installing it I remember it had no swap path entered but priority was 100. I figured that meant 100% do after making 2 swapfiles I made priority 70 and priority 30.
my setup:
3.6 on ssm on 16GB class 10
small swap file on internal data partition and large file in mmcblk0p2 with apps

70 was on /data/swap/swapfile.swp which is a small swap file and still on stl13 so I wanted mostly to swap there
30 on /data/app/swapfile.swp
I figured it would mostly be swapping to small one and a little bit on large one till small was filled and then all overflow would go there.

as far as I can tell phone only swaps to one with highest priority it doesn't split to follow percentages so only internal is used. is it supposed to send 30% to second swap or do you just need to make one number larger than other? in which case priority 2/1 would be same as 70/30, or -1/-2 like if I'd activated in terminal
50/50 I noticed both showed values for used swap but didn't do anything to test if they were used evenly

am I misunderstanding how priorities work or is this a bug in apk (like swap not activating if no priority set instead of -1/-2)
 
and I use free market app "meminfo" and select "show swap" from menu. that only way I know of to see how much is swapped where.
free in terminal only show totals of swap used/free so you can tell if both are swapon'd by total size of swap but not if they are both really used. could be bug in meminfo but it shows free/used/priority/location of each swap so it appears it pointless having 2nd swap
were you aware of one of swaps showing up as activated but not being used? idk how to view that in terminal so this apk only reason I noticed anything
 
Back
Top Bottom