Closed GoogleCodeExporter closed 9 years ago
Minimum kernel version required is 2.6.28. Can you try on this newer kernel?
Original comment by nitingupta910@gmail.com
on 22 Aug 2009 at 1:42
Original comment by nitingupta910@gmail.com
on 23 Aug 2009 at 3:10
I did not pay attention to this pre-requisite, and don't have the possibilty to
test
with a newer kernel for now (it's a modified kernel given by samsung..)
Thanks for your quick response !
Original comment by Dra...@gmail.com
on 23 Aug 2009 at 8:18
Ok, then closing the bug...
Original comment by nitingupta910@gmail.com
on 23 Aug 2009 at 4:12
It also problem on Debian Lenny with 2.6.26-2-686.
Original comment by witold.b...@gmail.com
on 25 Aug 2009 at 5:05
> It also problem on Debian Lenny with 2.6.26-2-686.
Unfortunately, compcache-0.6 is very difficult to backport to 2.6.26.
Original comment by nitingupta910@gmail.com
on 26 Aug 2009 at 5:25
That's unfortunate, really.
CompCache is what what's making android and hero ports actually usable on HTC
kaiser
and vogue phones.
Unfortunately the current usable kernel on these devices is still only 2.6.25
:-/
Original comment by pedro.m....@gmail.com
on 31 Aug 2009 at 1:27
> That's unfortunate, really.
> CompCache is what what's making android and hero ports actually usable on HTC
kaiser
> and vogue phones.
> Unfortunately the current usable kernel on these devices is still only 2.6.25
:-/
If this is the case, then maybe compcache-0.5.4 (with ARM fixes and swap notify
support) is desired. Let me reopen this Issue to track this 0.5.4 release.
Focus is
on 0.6.x so maybe this will take some time.
Original comment by nitingupta910@gmail.com
on 31 Aug 2009 at 3:12
That would be fantastic.
Thank you very much.
Original comment by pedro.m....@gmail.com
on 2 Sep 2009 at 11:02
FYI, compcache is being used in these devices in a rather extreme manner, but
still
behaving beautifully.
It's amazing what it can do.
# free
total used free shared buffers
Mem: 98980 96932 2048 0 368
Swap: 98976 77836 21140
Total: 197956 174768 23188
#
# cat /proc/swaps
Filename Type Size Used Priority
/dev/block/ramzswap0 partition 98976 77836 -1
#
# cat /proc/ramzswap
DiskSize: 98980 kB
NumReads: 68397
NumWrites: 53017
FailedReads: 0
FailedWrites: 0
InvalidIO: 0
PagesDiscard: 0
ZeroPages: 699
GoodCompress: 75 %
NoCompress: 5 %
PagesStored: 21193
PagesUsed: 8173
OrigDataSize: 84772 kB
ComprDataSize: 31880 kB
MemUsedTotal: 32692 kB
#
The example above comes from a phone running very fast and smoothly as it is.
For reference, some vm settings were changed:
- page-cluster = 0
- swappiness = 75
- vfs_cache_pressure = 10
- overcommit at mode 2 (always check, never overcommit) with ratio 80
Running the same system without compcache with just it's 98MB of memory is very
bad,
with android's lowmemorykiller wreaking havok.
Running with a swapfile/partition is also painfull because of the sdcard io
speed.
Using a compcache backing store partition also works well, but issues with the
low
speed of sdcard access and blocking io mean it usually behaves worse than just
using
memory.
Original comment by pedro.m....@gmail.com
on 4 Sep 2009 at 11:39
Can someone please test this pre-compcache-0.5.4 version attached?
I have updated the CompilingAndUsing page with additional build details.
Changelog 0.5.4 vs 0.5.3
- Add swap notifier patch (see README for details)
- Remove swap 'discard' support. Notifiers make them redundant.
- Fix crashes on ARM
If all works fine, I will make it available in downloads area.
Thanks,
Nitin
Original comment by nitingupta910@gmail.com
on 10 Oct 2009 at 5:45
Attachments:
it's work without the patch, which isn't the good file (it is an html file).
Can you
change it for the good patch file ?
Original comment by Dra...@gmail.com
on 11 Oct 2009 at 6:03
Drakaz: hahaha...I somehow manged to make that patch as html. yikes!
I will upload sane patch tomorrow. Thanks for testing it out.
Original comment by nitingupta910@gmail.com
on 11 Oct 2009 at 6:16
Thanks, waiting for the patch. Returned to 5.3 arm patched because of
compcache-0.5.4
performance are less than 5.3 arm.. i hope the patch resolve this ! :)
Original comment by Dra...@gmail.com
on 11 Oct 2009 at 6:21
I have corrected the patch now. Please check test2 version attached.
_With_ patch, compcache-0.5.4 should perform better than 0.5.3. Without patch,
it
will perform worse than compcache-0.5.3 since swap discard support has been
removed
in favor of swap notifiers (provided by patch).
Original comment by nitingupta910@gmail.com
on 13 Oct 2009 at 3:23
Attachments:
compcache-0.5.4-test2 work perfectly with the new patch. I confirm that the
performance seems to be better than compcache 5.3 ! Thanks a lot nitingupta910
!
Original comment by Dra...@gmail.com
on 13 Oct 2009 at 8:33
Its now available from downloads area. Thanks for testing it out.
Original comment by nitingupta910@gmail.com
on 17 Oct 2009 at 6:58
Original issue reported on code.google.com by
Dra...@gmail.com
on 22 Aug 2009 at 1:04