Guest iKrautDroid Posted February 20, 2011 Report Posted February 20, 2011 Im running FLB mod 1.7oc with 256mb ext2 partition, a 64mb swap partition and my cache running from sd. Is this to much load for my class6 sd card?
Guest iKrautDroid Posted February 20, 2011 Report Posted February 20, 2011 no Would 128mb swap be too much? :D
Guest eckengucker1 Posted February 20, 2011 Report Posted February 20, 2011 Why should it be too much? How much swap system use depends on swappyness and not on the swap part. size.
Guest AntonioPT Posted February 20, 2011 Report Posted February 20, 2011 (edited) Why should it be too much? How much swap system use depends on swappyness and not on the swap part. size. I heard that bigger swap partitions, even with low swapiness settings (15, 30), degrade performance. EDIT: 64 MB is a good value. Edited February 20, 2011 by AntonioPT
Guest iKrautDroid Posted February 20, 2011 Report Posted February 20, 2011 I heard that bigger swap partitions, even with low swapiness settings (15, 30), degrade performance. EDIT: 64 MB is a good value. ok, how does this swapieness-thing work? The higher the swapieness the more of swap-partition is used? Ps. does the swapieness have to be a multiple of 15?
Guest AntonioPT Posted February 20, 2011 Report Posted February 20, 2011 ok, how does this swapieness-thing work? The higher the swapieness the more of swap-partition is used? Ps. does the swapieness have to be a multiple of 15? It's not that linear, but yes, that's mainly what it does. No, it does not have to be a multiple of 15. But most people seem to like round numbers :D
Guest iKrautDroid Posted February 21, 2011 Report Posted February 21, 2011 It's not that linear, but yes, that's mainly what it does. No, it does not have to be a multiple of 15. But most people seem to like round numbers :D ok, whats highest swapieness my card can handle?
Guest AntonioPT Posted February 21, 2011 Report Posted February 21, 2011 ok, whats highest swapieness my card can handle? More swappiness = less performance. 30 is a good value.
Guest iKrautDroid Posted February 21, 2011 Report Posted February 21, 2011 More swappiness = less performance. 30 is a good value. So the lower swapieness, the more of the swap-partition is used. Would 10 or 5 work for lots of swap?
Guest AntonioPT Posted February 21, 2011 Report Posted February 21, 2011 So the lower swapieness, the more of the swap-partition is used. Would 10 or 5 work for lots of swap? As I said, it's not linear. From the Ubuntu docs: What is swappiness and how do I change it? The swappiness parameter controls the tendency of the kernel to move processes out of physical memory and onto the swap disk. Because disks are much slower than RAM, this can lead to slower response times for system and applications if processes are too aggressively moved out of memory. swappiness can have a value of between 0 and 100 swappiness=0 tells the kernel to avoid swapping processes out of physical memory for as long as possible swappiness=100 tells the kernel to aggressively swap processes out of physical memory and move them to swap cache The default setting in Ubuntu is swappiness=60. Reducing the default value of swappiness will probably improve overall performance for a typical Ubuntu desktop installation. A value of swappiness=10 is recommended, but feel free to experiment. Note: Ubuntu server installations have different performance requirements to desktop systems, and the default value of 60 is likely more suitable. You don't get any types of benefits from using a big partition for swap. As I said, it actually degrades performance. Follow my recommendations and use a 64MB partition with swappiness=30.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now