New LiveCD patch for low-memory systems (compcache-0.2)

John McCabe-Dansted gmatht at gmail.com
Sun Mar 9 15:34:23 UTC 2008


I have provided updated patches against [kx]ubuntu-7.10 (and updated
patch source code) at:
  http://www.ucc.asn.au/~mccabedj/ccache/

These patches now do three things:

1) They use compcache-0.2. This fixes a crasher and provides stats at
/proc/compcache and /proc/tlsf.
2) pagecache-managements scripts are included. "niceubiquity" can be
run in place of ubiquity to have a more responsive system while
installing.
3) atl2-2.0.4 is included, to fix bug 190340

See:
http://code.google.com/p/compcache/
http://people.redhat.com/csnook/atl2/
https://bugs.launchpad.net/bugs/190340i
- atl2.ko too old for Attansic L2 100 Mbit Ethernet

Notes:
1) Can use
	cat /proc/swaps
	top
etc. to test that compcache is actually running

2) The mouse seems jerky when compcache is active and we are
installing files to hdd with ubiquity. niceubiquity (automatically
added to cd) seems to fix that problem. niceubiquity could do with
more testing. FYI niceubiquity is:
  nice ionice -n7 pagecache-management-lazy200.sh ubiquity
  2b) the pagecache script limits the write buffer to 2MB. AFAICT this
adds 20sec to a 20min install time, but should make system more
responsive while installing.

3) Ubiquity on this LiveCD will install a pristine Ubuntu, without
compcache etc. installed. If this is not desired the files can be
manually copied over:
  /lib/modules/*.ko
  /lib/modules/2.6.22-14-generic/ubuntu/net/atl2/atl2.ko
  /bin/pagecache-management*
  /bin/niceubiquity
  /etc/init.d/compcache

-- 
John C. McCabe-Dansted
PhD Student
University of Western Australia




More information about the Ubuntu-devel-discuss mailing list