![]() |
2011-08-30
, 11:26
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#82
|
I did comparison between KPv48 and KPv48_Compcache and it seems that RAM and swap usages are both higher with compcache.
What I did: openend microb and did some surfing and monitored Conky. Then left only Conky running and checked RAM and swap after some 5min of idle.
KPv48
RAM: ~170MB
Swap: 90MB
KPv48_Compcache (disksize 98304)
RAM: ~200MB
Swap: 120MB
Wonder why RAM and swap usage is so much higher? I tried to do excatly same things in both cases.
The Following 4 Users Say Thank You to vi_ For This Useful Post: | ||
![]() |
2011-08-30
, 12:04
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#83
|
Swap use is higher...Because you now have less RAM...
I imagine the 'swap settings for high I/O' or whatever that thread was called has more appropriate swap settings than say swappolube defaults.
Reasoning is swappolube optimises for minimal swapping (hence low swappiness) and the 'high I/O' settings optimise for lots of little swaps.
echo 30 > /proc/sys/vm/swappiness echo 0 > /proc/sys/vm/page-cluster echo 512 > /sys/block/mmcblk0/queue/nr_requests echo 512 > /sys/block/mmcblk1/queue/nr_requests echo 0 > /sys/block/mmcblk0/queue/iosched/slice_idle echo 0 > /sys/block/mmcblk1/queue/iosched/slice_idle echo 32 > /sys/block/mmcblk0/queue/iosched/quantum echo 32 > /sys/block/mmcblk1/queue/iosched/quantum echo 80 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync echo 80 > /sys/block/mmcblk1/queue/iosched/fifo_expire_sync echo 180 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async echo 180 > /sys/block/mmcblk1/queue/iosched/fifo_expire_async
![]() |
2011-08-30
, 13:27
|
|
Posts: 168 |
Thanked: 206 times |
Joined on Apr 2010
@ Finland
|
#84
|
![]() |
2011-08-30
, 13:43
|
|
Posts: 4,365 |
Thanked: 2,467 times |
Joined on Jan 2010
@ Australia Mate
|
#85
|
insmod /lib/modules/current/ramzswap.ko disksize_kb=120512 swapon /dev/ramzswap0 swapoff /dev/mmcblk0p3; swapon /dev/mmcblk0p3
![]() |
2011-08-30
, 14:09
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#86
|
I did the following as root in xterm and got errors
insmod /lib/modules/current/ramzswap.ko disksize_kb=120512 = -1 invalid module formatCode:insmod /lib/modules/current/ramzswap.ko disksize_kb=120512 swapon /dev/ramzswap0 swapoff /dev/mmcblk0p3; swapon /dev/mmcblk0p3
swapon /dev/ramzswap0 = no such file/dir
![]() |
2011-08-30
, 16:20
|
|
Posts: 2,021 |
Thanked: 1,060 times |
Joined on Apr 2010
@ Hong Kong
|
#87
|
![]() |
2011-08-30
, 16:31
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#88
|
![]() |
2011-08-30
, 16:35
|
|
Posts: 2,021 |
Thanked: 1,060 times |
Joined on Apr 2010
@ Hong Kong
|
#89
|
![]() |
2011-08-30
, 16:49
|
Posts: 3,074 |
Thanked: 12,964 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#90
|
The Following User Says Thank You to freemangordon For This Useful Post: | ||
What I did: openend microb and did some surfing and monitored Conky. Then left only Conky running and checked RAM and swap after some 5min of idle.
KPv48
RAM: ~170MB
Swap: 90MB
KPv48_Compcache (disksize 98304)
RAM: ~200MB
Swap: 120MB
Wonder why RAM and swap usage is so much higher? I tried to do excatly same things in both cases.
Last edited by Gusse; 2011-08-30 at 11:21.