Related
I have installed RAM Booster and ZD Box(task killer) to help free up RAM, however i feel that the RAM usage on my x10 is still too high.
On average the free RAM on my phone is between 40MB -60MB, is that normal?
My question is how else can i free RAM on my phone? will installing apps to SD Card help? Also my internal memory widget is reading "414MB used out of 465MB" thats sound too high. my phone feels laggy and ive even stopped using live wallpapers, sumtimes the phone would even reboot on its own but hasnt done so in a while.
if u install too much apps without using app2sd, its normal to have that amount of ram.. i recommend u to use link2sd, u can manually select apps to move to sd. bt make sure that dont move any widget apps to sdcard or else it will stop functioning and appearing in ur widget list
I use Advanced Task Killer, from the market.
That being said, Android naturally will kill processes and apps. It waits for a certain amount of time, or until the resources are needed elsewhere. You shouldn't have to wory about how much free ram you have available... Unlike Windows, Android will manage it all on it's own!
khakhi said:
I have installed RAM Booster and ZD Box(task killer) to help free up RAM, however i feel that the RAM usage on my x10 is still too high.
On average the free RAM on my phone is between 40MB -60MB, is that normal?
My question is how else can i free RAM on my phone? will installing apps to SD Card help? Also my internal memory widget is reading "414MB used out of 465MB" thats sound too high. my phone feels laggy and ive even stopped using live wallpapers, sumtimes the phone would even reboot on its own but hasnt done so in a while.
Click to expand...
Click to collapse
Use auto memory manager free from market
Requires root and when set to aggressive free ram great
Doesn't eat battery as it isnt a task killer
Sent from my X10i using XDA App
to OP i wish i am a mod so i can move your post to Q&A thread.. geezzzzz
Eddie_Brock said:
I use Advanced Task Killer, from the market.
That being said, Android naturally will kill processes and apps. It waits for a certain amount of time, or until the resources are needed elsewhere. You shouldn't have to wory about how much free ram you have available... Unlike Windows, Android will manage it all on it's own!
Click to expand...
Click to collapse
then y does my phone feel laggy if u say android will manage processes on its own? im going to try "link2sd" now and see how it goes.
Free RAM is wasted RAM, why don't people get that?
theskeptic said:
Free RAM is wasted RAM, why don't people get that?
Click to expand...
Click to collapse
not if it's causing his phone to reboot and have problems because he is using it all...
xcxa23 said:
if u install too much apps without using app2sd, its normal to have that amount of ram.. i recommend u to use link2sd, u can manually select apps to move to sd. bt make sure that dont move any widget apps to sdcard or else it will stop functioning and appearing in ur widget list
Click to expand...
Click to collapse
link2sd is telling me i need to partition my sd fisrt and im not sure how to, im going to try apps2ds
First i don't this is a place to post such question, there is a section called Q&A.
Second, i recommend using AutoKiller Memory Optimizer, it's super amazing and very essential app for me. I get usually more than 100 MB free RAM most of the time, and it's easy customizable, after your read the help section.
Give it a try
it wouldnt be a lack of memory causing a phone to reboot but the app w memory leaks causing the phone to reboot. the apps youre killing werent designed for you to kill them unexpectedly. they were designed to run any necessary cleanup routines on exit. if the app youre killing doesnt have an option to exit, then you should replace it w one that does or ask the author to provide an exit/close for the app to free itself from the list of running processes.
you're introducing dirty unintended states for the apps and the os by killing them unexpectedly. you will have immediate gains in performance and will gain unexpected problems when those same apps go to run later. lost widgets, widget data, duplicate widgets, or maybe even break an app that wasnt designed to open from a dirty state.
keep an eye on the tasks, but leave them alone if you can.
Sent from my X10i using Tapatalk
silv3rfox said:
First i don't this is a place to post such question, there is a section called Q&A.
Second, i recommend using AutoKiller Memory Optimizer, it's super amazing and very essential app for me. I get usually more than 100 MB free RAM most of the time, and it's easy customizable, after your read the help section.
Give it a try
Click to expand...
Click to collapse
Thanx guys will try it...
to op, i think u better try the autokiller 1st. because the link2sd and app2sd need to make partition.
1st make a fat32
2nd make a ext2
size of partition 2 put less than 1gb, i assuming u having a 8gb class 2 sdcard
the rest of it goes to fat32
ps : this require u to format ur sdcard. so make sure u backup it up in ur pc
khakhi said:
link2sd is telling me i need to partition my sd fisrt and im not sure how to, im going to try apps2ds
Click to expand...
Click to collapse
Apps2sd needs partition as well... try a partitioning program and make a main fat32 partition and then a second one ext2 partition (i suggest 1gig max should be more than enough)
You don't want to free up ram. It messes with your phone. Your suppose to use ram
Sent from my X10i using XDA App
Get rid of the task killer and get AutoKiller Memory Management. I went from ~35mb free to ~135mb by changing the last 3 settings to 150, 200, 250 and never need to kill anything
Sent from my X10i using XDA Premium App
i use automatic task killer and it works pretty good for me...
Hi, i recommend the app "Taskiller Full" from AxDroid LLC ( i dont know if the free version is the same ) when i kill apps get a 150-200 free ram
do NOT use task killers. all you will succeed in doing is to use MORE battery. Andoid (which is linux based) is designed to have very little free memory. The way android handles application and memory use is it keeps frequently launched apps in memory so they launch quicker. if a task comes along that requires resources android will simply ditch the reserved memory (that is reserved in case you launch a particular app that is in memory) and will allow it to be utilised for the new app. as has been said 1000's of times before, free ram is wasted ram!
all a task killer will do is to fight against the native android instruction set, each time android attempts to launch a process into ram the task killer will kill it, and each time this happens it will chew a bit more battery life.
having a lack of ram is not necessarily the reason your handset is lagging.....the perceived lack of ram is only because it is earmarked for potential use.
my advise to you? just leave it be, maybe reboot your handset a bit more frequently, and remove some of the apps that you have installed that are fighting against android!
good luck!
theskeptic said:
Free RAM is wasted RAM, why don't people get that?
Click to expand...
Click to collapse
+++ exactly, let your phone do the thinking! (bump)
Sent from my X10i using XDA Premium App
I have a " samsung galaxy player 4 ". I was wounder how much memory ( RAM ) it has ?
I thought i had 512.... but its only showing like half that, why ?
Thanks
savvymatthew said:
I thought i had 512.... but its only showing like half that, why ?
Thanks
Click to expand...
Click to collapse
The OS e.g. Android and Touchwiz use up about 100mb RAM for itself leaving only 300-400mb for the user. My HTC Desire S has 768mb but really i can only use 623mb hope this helps.
Rueben_ said:
The OS e.g. Android and Touchwiz use up about 100mb RAM for itself leaving only 300-400mb for the user. My HTC Desire S has 768mb but really i can only use 623mb hope this helps.
Click to expand...
Click to collapse
Is there a way to install a mod to free up some of the RAM the OS uses? Or a lighter android that doesn't use quite as much?
ZaIINN said:
Is there a way to install a mod to free up some of the RAM the OS uses? Or a lighter android that doesn't use quite as much?
Click to expand...
Click to collapse
I would recommend a 3rd party launcher like ADW Launcher on Android market very light weight, also a app like memory booster which frees RAM. Their are no such mods to change the file system usage as changing the amount of RAM the system needs could result in a unstable device. I have a Galaxy wifi 5.0 with 512mb RAM and the 200mb left is enough for me without lag etc. hope this helps
I recommend using Advanced Task Killer. It has a very easy interface, and frees up ram quickly.
What does it say for ram on the player.... I have seen 377... and 345.
I have 345 and Im pretty pissed about it.
I have 342mb of RAM available. But I heard that around 100+ mb are dedicated to the gpu on the galaxy s phone, and the galaxy player has the same hardware so should be the same. So I think it still has 512mb of ram, but just 342 is usable by Android.
Have a look at the output of dmesg (e.g. run the following in a terminal and copy the resultant file to your PC to view: dmesg > dmesg_output.txt) and it tells you how much memory you have and how much has been set aside. Note you will probably want to reboot before you do this as otherwise the interesting messages have scrolled out of the kernel message buffer.
I've been using an app called Fast Reboot Pro. It appears to simply close processes that are running in the background. It then shows you how much memory was was freed. I hit every so often and especially when things appear to lag. Seem to work pretty well.
jlp2d said:
I've been using an app called Fast Reboot Pro. It appears to simply close processes that are running in the background. It then shows you how much memory was was freed. I hit every so often and especially when things appear to lag. Seem to work pretty well.
Click to expand...
Click to collapse
Gingerbread/Samsung has it's own task manager which in turn has it's own widget which does this. No need to install an app for this
I to use fast reboot, find it much more effective than what the player comes with. I also use ram manager pro witch is a very good tool to set different ram profiles, I like "balance (more free memory)" the best. I first select my profile, then I run fast reboot, very effective! The more you run fast reboot, the more memory it frees up, witch is great for big games like asphalt 6. Also, I use zeam launcher, very lightweight, perhaps the lightest, but still a great improvement over touchwiz. Another thing, NO LIVE WALLPAPERS is an absolute necessary! These things eat WAY more ram than they say on taskmanager. THEY CAN EAT 50+ MB OF RAM!! Also, services like widgetlockscreen and such will eat your ram. If you want to play a heavy game, go to running services and kill as many as you can, you can also clear cached apps by hitting the menu button in running services. Hope these tips help you to make the most of our small supply of ram!
Hmm, after more testing, it would appear that wifi burns around 25mb of ram when on! So, if your really short on ram, just turn on airplane mode to kill all antennas. I just played modern combat 3 with 25mb free ram throughout the whole level I had 190mb free originally, that game sure eats the stuff :s The CPU rides at 1000mhz through the whole game, lol, could always use some more of that stuff! That's what oc is for
It always happens that crashes and errors in the system and slow performance are the problems occurred because of the full or nearly full memory. Issue of memory overload the Smartphones are not immune. It can be avoided, if you know how to maintain phone’s storage space. If your phone has large memory then it will run very smoothly.
For performance of the phone to improve you can delete the cache from time to time which in turn will lead to the better performance of the phone. It can be done by using an application Apps2SD which clears both your cache and histories which are not necessary after some time. By clearing cache it frees up the internal space which there by leads to improved performance in the phone.
1.Try turn OFF (a)Sync(b)Wifi(c)GPS by this a constant process will be stopped and which will also improve your battery life and there by making it more use able, bcoz apps like gmail, contacts, maps constantly updates.
2.Uninstall apps which u don't prefer using. Further checking apps which eat more ram is to look in setting/apps/running and try freezing them.
3.Install task manager which provide operation of auto killing of apps in between time interval.
My Config ROM: FXP149-CM10
Kernel : flykernel 0.7a
launcher : ilauncher 2.2.1
Hope this Helps.
what task manager are you using?
it may helpful for some beginner
but i dont think it helps a lot......
just try Ram manager.
if it useful u can buy full version with more flexible option.
It's work for me.
Sent from my ST18i
sjondenon said:
what task manager are you using?
Click to expand...
Click to collapse
Advanced Task Manager Pro 2.1.5
1. Enable auto kill
2. Enable Regular set frequency to 10min
3. Startup kill
make sure not enabling system wide apps in the list
Free RAM is nothing but wasted RAM. Oh please, android works totally different from your Windows PC.
You can get performance by removing/freezing Unwanted apps, bloatware etc.
Using a Task Manager/Killer may give you a slow performance while Gaming etc.
You should not use a taskmanager, it juse makes your phone slower.
Sent from my muffin
devstaff said:
You should not use a taskmanager, it juse makes your phone slower.
Sent from my muffin
Click to expand...
Click to collapse
Exactly
devstaff said:
You should not use a taskmanager, it juse makes your phone slower.
Sent from my muffin
Click to expand...
Click to collapse
Ok taskmanager are memory hog when coupled with lot of background services eg: widget on screen, social syncing etc.
But if you have organized set of application install with active task managers, it helps solves unecessary lags.
I have 200mb RAM available most of the time ... Installed 40+ apps packages other the default.
Frequently play games like Asphalt 7, Dead Trigger, ShadowGun DeadZone, Real football, Real Racing, GT Racing, CS Portable.
Governer : Smartassv2 - 364- 1209 mhz when active use [ Powersave - 249 - 576 mhz when in my pocket]
I/O scheduler : deadline
ROM: FXP 149 , kernel Fly kernel 0.7a
fuser1337 said:
Free RAM is nothing but wasted RAM. Oh please, android works totally different from your Windows PC.
You can get performance by removing/freezing Unwanted apps, bloatware etc.
Using a Task Manager/Killer may give you a slow performance while Gaming etc.
Click to expand...
Click to collapse
yes exactly, at the beginning i also tried to use taskmanager, but then i google Android RAM and found guides who say the same. and it seem logic for me. so just let it be. no need to use such apps
and custom roms can drain battery more fast,so dont wonder.
first you should check your mobile and wifi signals and stuff like that.
Use ram expander
Create 1020 mb memori swap
sent from squee spleen and spoon
doesn't that damage your sd card? and if you use it with a class 4 one, won't it slow down the phone?
singh07pradeep said:
Ok taskmanager are memory hog when coupled with lot of background services eg: widget on screen, social syncing etc.
But if you have organized set of application install with active task managers, it helps solves unecessary lags.
I have 200mb RAM available most of the time ... Installed 40+ apps packages other the default.
Frequently play games like Asphalt 7, Dead Trigger, ShadowGun DeadZone, Real football, Real Racing, GT Racing, CS Portable.
Governer : Smartassv2 - 364- 1209 mhz when active use [ Powersave - 249 - 576 mhz when in my pocket]
I/O scheduler : deadline
ROM: FXP 149 , kernel Fly kernel 0.7a
Click to expand...
Click to collapse
Thats not really true, taskmanagers doesn't make your phone faster, and free ram is not necessarily good, android manages the ram in another way than for an example Windows. Android kills or puts processes in a kind of freezed mode instead of leaving them running all the time, and when a app needs more ram, android will automatically kill apps so that you can play games and so on.
If you want more free ram, you should use Supercharger or Ram Manager Pro instead, because their alot better than using a taskmanager.
Read this article about it:
http://lifehacker.com/5650894/andro...ed-what-they-do-and-why-you-shouldnt-use-them
Are you serious? I expected more. This is just a very basic guide you can find on any android forum.
Sent from my Xperia Ray using xda premium
Switching off wifi and gps when not in use is just a godamn basic when you use a smartphone, i don't even see the point of opening a topic to say that. Are there still people keeping everything on all the time ?
Task managers are not required since 4.0 at least, if not 2.3 if i remember right. Free ram is useless on Android, i never got this obsession about having free Ram. Many 4.1 and 4.2 custom roms leave less free ram than the official 4.0 and are still way smoother and fast.
This topic is complete bul****, and i'm not even a developer knowing that.
This thread should be moved to /dev/null , because its nothing new in it, and there is alot better tutorials on how to optimize your Xperia Ray.
dont use task managers or killers. Because there is battery drain.
here is my tweaked rom. i have HUGE RAM in first reboot
no init.d scripts, i have not task manager or task killer.
sjondenon said:
doesn't that damage your sd card? and if you use it with a class 4 one, won't it slow down the phone?
Click to expand...
Click to collapse
Maybe yes
Recomended use with class 6 above..
I have used on my ray
With 16 gb class 10
And its ok i guess
sent from squee spleen and spoon
Startup manager is the best
Just install startup manager and unmark apps from starts automatically during startup... Really works
No need care about number of apps installed:fingers-crossed:
swap ram expander
Adding swap ram (no need for much, 300 to 500 mb is ok) makes such a difference. Since I've started using it, I can multitask and I don't get the big slowdowns I was used to. No blank screen when returing to the launcher or horrible wait times under Chrome. From my experience, Android phones with 512mb of ram generally struggle a lot because they always have to erase and reload ram pages so they don't exceed it. I have a class 10 32gb sd card btw.
Gaming Mode Script
As you all know our phone with ICS update struggles in gaming even at games that don't use a lot of ram.
The constant restarting of services that were killed are simply drag every game to hell.
There are many apps in Play Store that are doing what my script does.
But the problem is that most facing a problem in closing the swap file and they just re-enabling it.
That's a problem because even with a class10 SD card the phone is a lot laggy with swap.
Programs need seconds to open and to go to homescreen sometimes needs even 5 seconds and more.
Here's the solution. A simple switchable Script that will give you the extra juice only when you want to game hard.
UPDATE:
Added swap in partitions.
Requirements:
Needs working Busybox and SU
Instructions:
1. Copy the script from inside the appropriate zip to /data or /system and make the permissions to rwx-rwx-rwx (0777).
2. Use Script Manager or what you want,
and make a widget in your homescreen for easy access. Be sure to enable SU in options!
Also install SM widgets so you can set your script as a shorcut in homescreen. That way Smanager will not take any RAM.
3. Tap the widget and after it's done close SManager and you are ready to rumble and enjoy lag-free games.
4. After you are done, press once again the widget and the swap file will be removed. Enjoy your phone back to it's lag free condition.
swaponoff.zip for swap in a file
swappartonoff.zip for partitioned swap
Config:
You can change preferences by editing the script. DON'T use notepad! it will break the unix encoding that it's needed for the script busybox commands.
SWAP_FILE: Where to save the swap file.
SWAP_SIZE: Swap file size in MB. Default is 128MB
SWAPPINESS_OPTION: How much to swap. Default is 10, to avoid unnecessary swapping.
For partitions chage SWAP_PART="/dev/block/mmcblk0p3" Change 3 to what your swap partition number is
Notice:
That will give you lag free games only. Using swap always on will make your phone laggy in general usage.
Also always close the swap file before connecting the phone to usb mass storage!!
Credits go to mrvek for his swap script, which I used as a base.
If you like it, please press thanks!
did this script need partition swap or not?
Can I ask why will a swap file increase gaming performance? If it does, why will it lag the phone during normal use? What's the difference?
xeraphael said:
Can I ask why will a swap file increase gaming performance? If it does, why will it lag the phone during normal use? What's the difference?
Click to expand...
Click to collapse
The system can push te apps into swap. Without need of to kill them(before it kills tehm but they keep restarting afterwards so this is why some games lag) Some other games need alot of memory to even start. So when you have swap. the game can use all the 300mb ram(at least 30 are for frameworkcs, etc)
And CTCaer. I think you shall add that it srecommended to use swap partition. Its better ... at least for me
odie70 said:
did this script need partition swap or not?
Click to expand...
Click to collapse
Nope. It makes use of your sd card. It mounts a certain file there.
A partition for swap was never needed. Also if you use for example noop i/o scheduler for sdcard, this will make the need for swap partition obselete. Because it will not prioritize the writing/read and will work like if you had 2 partitions in sd.
xeraphael said:
Can I ask why will a swap file increase gaming performance? If it does, why will it lag the phone during normal use? What's the difference?
Click to expand...
Click to collapse
Well in ICS every library and framework and the default use of gpu make use of a lot ram. More ram than GB.
Most games need 60-120mb ram to play.
That makes android to kill services running, like widgets, homescreen, messengers and more to free ram.
The problem is that many of them the restarting almost immediately (like whatsapp) and others restart like normal when android sees that
there's free ram (like when you enter a menu in game, ram usage drops).
That creates an endless loop and make the games laggy and the worst of all makes the touchscreen unresponsive.
So the extra virtual ram helps so that these services remain open and not make an impact in your playing by restarting endlessly.
Android and in generally linux makes use of swap only for apps that are not needed.
That means that your game will be mainly in the real ram and will not lag.
In contradiction swap will make your phone laggy for general use because every time you open an app, another app or services will use the swap file (like homescreen).
So when you return to homescreen or to an app that is cached in swap, android will retrieve it from it to the main ram.
This will cause a delay to opening the map and a general lag feeling for 2-5 seconds (according to how much of it went to swap).
I even disabled zram for almost that reason (it takes cpu cycles), as i needed it for game before using swap only when gaming.
To sum it up,
only one thing I saw from using this script when gaming: ALL games now feel like i have gingerbread in my phone.
Only downside is that some gameloft games need a little more time to load, but when android gets done with swapping the unused services, it fades away.
Extra tip: Enable swap when using google maps. Same win like games
Whats the different with ram xpander apps
I used this apps and create 1020 Mb memory swap
This apps used my sd card for supporting the internal memory
And this minimize the force closed apps when we need a lot of ram to open hard apps
Sent from my ST18i using xda premium
mvoid533 said:
Whats the different with ram xpander apps
I used this apps and create 1020 Mb memory swap
This apps used my sd card for supporting the internal memory
And this minimize the force closed apps when we need a lot of ram to open hard apps
Sent from my ST18i using xda premium
Click to expand...
Click to collapse
The only difference is that with my script you don't need an app and that app will take ram as it's always there.
And because some swap apps don't let you disable easily or even at all the swap.
The script is mostly for people that want to have extra virtual ram only when gaming or using google maps.
And btw if needed i can make a script like that for swap in partition.
So how to create it
Or i am just edit your script from 128 to 1000 Mb swap
Sent from my ST18i using xda premium
mvoid533 said:
So how to create it
Or i am just edit your script from 128 to 1000 Mb swap
Sent from my ST18i using xda premium
Click to expand...
Click to collapse
Check OP i've added for partitions.
just fix the number of your partition.
Turning off swap doesnt work
when I tap the widget with swap on, It doesnt erase, nor stop swapfile and it just give me errors
Here is the result when I try to disable swap file
exec /system/bin/sh '/mnt/sdcard/swaponoff/swaponoff.sh'
n/sh '/mnt/sdcard/swaponoff/swaponoff.sh' <
/mnt/sdcard/swaponoff/swaponoff.sh[8]: grep: not found
write: Broken pipe
Gaming Mode Script
by CTCaer
credits to mrvek @ XDA for the original script.
Creating SWAP file of 128 MBs...
dd: can't open '/mnt/sdcard/.swapfile': Text file busy
Fromating SWAP file...
Setting up swapspace version 1, size = 134213632 bytes
UUID=f7040068-5019-4fd0-b8e6-1231df0545b8
Enabling SWAP...
swapon: /mnt/sdcard/.swapfile: Device or resource busy
Done! Ready to game!
I hope you guys have answer to this problem
Sent from my ST18i using Tapatalk 2
Will Hong said:
Turning off swap doesnt work
when I tap the widget with swap on, It doesnt erase, nor stop swapfile and it just give me errors
Here is the result when I try to disable swap file
exec /system/bin/sh '/mnt/sdcard/swaponoff/swaponoff.sh'
n/sh '/mnt/sdcard/swaponoff/swaponoff.sh' <
/mnt/sdcard/swaponoff/swaponoff.sh[8]: grep: not found
write: Broken pipe
Gaming Mode Script
by CTCaer
credits to mrvek @ XDA for the original script.
Creating SWAP file of 128 MBs...
dd: can't open '/mnt/sdcard/.swapfile': Text file busy
Fromating SWAP file...
Setting up swapspace version 1, size = 134213632 bytes
UUID=f7040068-5019-4fd0-b8e6-1231df0545b8
Enabling SWAP...
swapon: /mnt/sdcard/.swapfile: Device or resource busy
Done! Ready to game!
I hope you guys have answer to this problem
Sent from my ST18i using Tapatalk 2
Click to expand...
Click to collapse
Well after updating busybox, problem was solved
Sent from my ST18i using Tapatalk 2
Will Hong said:
Well after updating busybox, problem was solved
Sent from my ST18i using Tapatalk 2
Click to expand...
Click to collapse
Yeah, i forgot to write it. I'll update the OP and say that it needs busybox.
Yeah it work
I made 256 Mb swap
So if I am not a gamers
I cant use it
Hahahhaha
Lol
Sent from my ST18i using xda premium
mvoid533 said:
Yeah it work
I made 256 Mb swap
So if I am not a gamers
I cant use it
Hahahhaha
Lol
Sent from my ST18i using xda premium
Click to expand...
Click to collapse
Well if you are not a gamer it's not needed. 347mb ram is plenty for everything in our phones except google maps and chrome
No its not enough
Cos I have used smart experia Rom
And needs a lot of ram
Cos I have some lag on the root eksplorer
And more
FB sync to much : Timescape, walkman, album, etc. Its sync to fb and I need more ram I guess
Sent from my ST18i using xda premium
mvoid533 said:
No its not enough
Cos I have used smart experia Rom
And needs a lot of ram
Cos I have some lag on the root eksplorer
And more
FB sync to much : Timescape, walkman, album, etc. Its sync to fb and I need more ram I guess
Sent from my ST18i using xda premium
Click to expand...
Click to collapse
Ah well i have completely removed facebook integration and timescape from my rom.
But i have Next Launcher that gets 25-35mb ram and it's locked in ram. Beatiful widgets, switch pro widgets, contacts, whatsapp and more that are open and it never lags with or without zram.
Anyway if your rom needs more ram then this script is not good for the swap to be always on. Better stick to an app that will auto switch it off when mounting to mass storage and to auto start it at boot.
Thank for the suggestion
I used razr m homescreen with circle 3d widgets and new jb Sony home
I think everythink will be ok
Sent from my ST18i using xda premium
CTCaer said:
Nope. It makes use of your sd card. It mounts a certain file there.
A partition for swap was never needed. Also if you use for example noop i/o scheduler for sdcard, this will make the need for swap partition obselete. Because it will not prioritize the writing/read and will work like if you had 2 partitions in sd.
Click to expand...
Click to collapse
well that's sound's good,, thanks,, i'll try it!
mvoid533 said:
Thank for the suggestion
I used razr m homescreen with circle 3d widgets and new jb Sony home
I think everythink will be ok
Sent from my ST18i using xda premium
Click to expand...
Click to collapse
No problem. Not every user has the same needs. Because i made a script doesn't mean that will work good for anyone.
Thats why XDA exist. To share and learn.
My script is for users who need that extra juice only when opening an app that demands a lot of ram.
odie70 said:
well that's sound's good,, thanks,, i'll try it!
Click to expand...
Click to collapse
I uploaded a script for partitioned sd cards if you want.
But yeah that's how it's done.
With deadline and swap in scard, your kernel will prioritize the read/write to the sdcard between reading files for your game and read/writing for swap.
Noop will use 1st in read/write command -> will be the 1st out.
If you use a partition for swap and deadline, android will prioritize the read for your game only.
The scheduling of read writing for swap partition and together with the game will fall to SD Card. Which is like noop. 1st command in ->the 1st to be executed.
I hope i explained the main differences about swap on file or partition.
Install Ram Manager instead. lol
Hi people!
i've found this
http://forum.xda-developers.com/showthread.php?t=2145133
tested it on my device and work fine with CM 10.1
waithing for the official release
How did you manage to make it work?.. i can update it with the cwm and neither the manual way.. with terminal it says not writable (but it is!)
uc370 said:
How did you manage to make it work?.. i can update it with the cwm and neither the manual way.. with terminal it says not writable (but it is!)
Click to expand...
Click to collapse
Try to change permissions using root explorer or es file manager
Sent from my XT910 using xda app-developers app
Permision were changed.. terminal still says only red file
uc370 said:
Permision were changed.. terminal still says only red file
Click to expand...
Click to collapse
I don't know why terminal see only read but if you do cat /proc/swaps you will see how swaps are working
Sent from my Folio 100 using xda app-developers app
And what should it look like?.. q tendria q salir.. aprox 51000 50000 -1
vince686 said:
Hi people!
i've found this
http://forum.xda-developers.com/showthread.php?t=2145133
tested it on my device and work fine with CM 10.1
waithing for the official release
Click to expand...
Click to collapse
I've been trying this patch (manually, not the complete script), but I have found this actually slows down the folio. There is a reason why flash-based devices don't have a swap. When writing large blocks to swap, the system will stutter heavily. The slow flash disk of the folio will not help in this. My test shows it is actually slowing down quite a bit.
Even with the low RAM of the folio, it is still faster to just start/restart an app than to swap it away in a swapfile (resulting in 1secs of stutter) and then getting it back anyway from disk.
ZRAM is something similar. Tough here I can understand some improved use cases, but:
- you take away precious RAM
- then you swap out programs and compress them (uses a lot of CPU)
- if you swap the program in again, you need to decompress. Granted, the decompress might be a little faster than restarting the app.
- because of the lower useable memory, programs do have an higher chance than before to be compressed (vs killed without ZRAM), so decompression (with ZRAM) statistically will happen more than restarting (without ZRAM), making the gains of ZRAM point 3 less.
- I don't think this works correctly with huge processes (e.g. browser), and will just see that less RAM is available, and will not swap out parts because the whole memory region is still in use (best case, it will continuously swap in & out parts, making it again slower)
I'm not completely trowing out ZRAM, as it is still beneficial with some workload combinations (I think a large collection of small apps is the most optimal case)