Reply
Thread Tools
Posts: 6 | Thanked: 0 times | Joined on Apr 2006
#1
Has anybody tried out large swap sizes in the new 2006 beta OS? I am keen to know if this allows larger swap files than the 2005 OS which was limited to 24MB.

Thanks in advance!
 
Posts: 3 | Thanked: 0 times | Joined on Apr 2006
#2
128MB works fine.

Ludo.
 
Posts: 428 | Thanked: 54 times | Joined on Mar 2006 @ Washington DC
#3
ludo, are you using wolfram's extrootfs method or the one in the 2006 OS version? Cuz I'm using the OS version of virtual memory and the largest is only 64MB
 
Posts: 3 | Thanked: 0 times | Joined on Apr 2006
#4
I don't use the 2006 OS version of virtual memory because it creates a swap file in the fat partition.
I think I'm using wolfram's method.

I created a new 128MB swap partition on the rsmmc card.
Then I edited minircS, minireboot and minishutdown files:

sed -i '/exit/iswapon -a 2>/dev/null' /etc/init.d/minircS

sed -i '/umount/iswapoff -a 2>/dev/null' /etc/init.d/minireboot /etc/init.d/minishutdown

and I added this line to /etc/fstab:
/dev/mmcblk0p3 none swap sw 0 0

Now the swap is on:

Nokia770-22:~# cat /proc/swaps

Filename Type Size Used Priority

/dev/mmcblk0p3 partition 136544 0 -1

Nokia770-22:~#
 
Posts: 4 | Thanked: 0 times | Joined on Jun 2006
#5
How much better is with a swap file comparing with OS '05 or new OS without swap? Is it too slow?

I wonder if flash with 1 million of cicles will run out fast on heavy swapping...
 
Reply


 
Forum Jump


All times are GMT. The time now is 04:09.