![]() |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Read first few posts/pages?
|
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Quote:
Quote:
Could be done a bit earlier. Quote:
No, as freemangordon stated in some earlier post. There is no control when/where/which swap is used, if compcache is enabled. |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Just wanted to chime in that I've finally gotten around to making swapset it's own thread.
|
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
quick instruction how to make it run on every boot:
new file: /etc/event.d/rc-local Code:
start on MOUNTS_OK Code:
#!/bin/sh |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Do you think CompCache is giving any benefit on N900? I tried it in the past but found it would cause big problems when the ram swap was full.
|
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
make it small enough (16-32M imo) and it might be of some use, but nothing will help if you run too many apps/widgets at the same time.
|
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Are people still using this?
Never bothered trying, does it really gain performance over just swap on SD? |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
I would be quite sure it does.
Writing to the SD Card is quite slow, slow enough that even the slow processor of the N900 should apply the simple compression at a much faster rate. Also random seek times are by magnitudes better for ram. Obviously this will give you far less additional memory than swap on a SD can. (Maybe I will test it myself within the next week) Oh no need! There is an extensive study by Nokia themselves! https://www.tizen.org/sites/default/...he-meego_0.pdf Man I miss the old Nokia :( So it has huge benefits, even over Swap on the device eMMC, which is faster than a SD. |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Quote:
|
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
If i remember correctly i measured it makes booting 15 seconds faster. Assuming you enable it early.
The problem is that for compression you want a small vm/page_cluster size like 4kb. (echo 0 > /proc/sys/vm/page-cluster) But as fallback it hits emmc with 4kb read and writes, which may result in very poor swapping performance. (Im not even sure if you can change the 4kb swap fallback size by altering vm/page-cluster or it is hardcoded) |
All times are GMT. The time now is 13:13. |
vBulletin® Version 3.8.8