Linux-swap calibration

Advertisement

I searched and did not really find any common thread or answer ...

I'm using CM 4.1.999 currently (4.0.4 previously) with linux-swap exclusively, and I've tried other ROMs too.

At the moment, I have an 8gb class 6 SD with 4 partitions: remains FAT32, 500MB ext3, ~ 40MB linux-swap, and ~ 200MB linux-swap. I created both swap partitions because many of the threads I read categorically do not go above 32MB (no explanation), but others also categorically indicate using about 200MB for Hero ROMs .

So, my question is, what is it, and why? Why the limit of 32 MB? Why not 196MB? Why the disparity between "basic" ROM recommendations and Hero ROM recommendations? In addition to "it's going slower", is there an answer to the question of why this makes it slow down with certain types of ROMs, and is there a way to mitigate it?

In addition, regarding the swappiness, how do we benchmark it? What does swappiness mean? I saw that in user.conf the default is 60, but I have seen some people use 32 MB swap partitions with 40 swappiness, or 200 MB with 100 swappiness, as well as 96 MB with 80 swappiness. So, who is it, and how do we know what is good for us besides the countless iterations of tuning, rebooting, testing, tuning, rebooting, testing, etc.?

If I have missed a link or thread with the information I am looking for, please let me know so that I can do my research; A simple explanation or recommendation would be the key, though ... just trying to learn as much as I can!

Thank you! As a long time XDA user, I always appreciate the community's involvement and the innovation that is happening here !!

The answer

I do not like repartitioning either haha ​​but I use 96mb on the cyan rom (I change between the hero and the cyan) I had no problem with them

The limit of 32 MB was more or less an experimental guess made some time ago. it seems dated.

make sure you only have 1 swap partition. this could potentially cause problems

So, you should be fine with 64-96mb

The reason there is no definitive parameter that maximizes performance is due to ROM differences. What works on one rom may not work as well in another. In addition, many people perceive the speed of their parameters differently and suggest what they believe to be fast.

The best way to find what suits you best is to experiment with different settings and see what fits your needs

Related articles

Ext2 / 3 and linux swap partitions

2010-09-11

I searched for information about using ext and linux swap partitions today and I thought I would ask here for more experienced users. If I understand correctly, ppl uses the ext partition for apps2sd but with froyo, it is built. So, are there any oth

ext4 and linux swap partition !!

2011-05-18

Sonmeone, everyone please tell me what is the utility / need to have an ext4 and linux swap partition in the SD card ?? The Ext4 partition is used with data2ext scripts in phones with low internal memory. This effectively uses the space in the SD car

Need help to partition in ext3 and linux-swap

2017-08-14

how do you partition your SD card to ext3 and linux-swap without ADB? I have an 8 GB class 4 SD card http://forum.xda-developers.com/showthread.php?t=535914 Try this link, if it does not work go to the development section and it's on the second page.

Problems with the Linux Swap partition

2017-08-14

So I tried to partition my 1GB SD card with the 3 required partitions: FAT32, Ext2 (or 3) and Linux Swap, but every time I do it, my phone says that the SD card is unreadable. Why is it? In order for my phone to recognize my SD card, I need to reform

more memory for ext3 linux swap

2017-08-13

i bet w card sw swap linux for my jachero 2.63 but i stil get the loading screen from time to time it's faster but i wud like to make it faster MROE..is there a way i can add more from my memory to the exchange of linux and remove some apps2sd? Do no

How do you use Compcache with linux-swap as backup

2017-08-13

How do you use Compcache with linux-swap as backup? I do not understand the thread correctly which explains that I already compcache. There are two ways to use an existing linux-swap as a backup of Compcache.Let linux handles compcache and the linux-

Linux Swap and Swapper

2017-08-14

I am currently using JACHeroski 2.7.3 I do not quite understand the Linux trading system. I did the Linux swap partition but I do not know how to activate the partition. Is it the same as using Swapper? How about the old Swapper app? Do I have to uni

Compcache or Linux-swap partition

2017-08-13

Ok, I am currently running 3.6.8.1 Cyan. I was running the new 7 until this morning. And I woke up and started my phone and had extreme shifting. Restarted, still had a bad shift. I checked my exchange and he said 0 through the board. I do not rememb