we managed to port the aufs+squashfs to android(HTC HD2 with 512M RAM, 1G CPU) with the expectation to improve the system performance, and had done a lot testing with the following scenario. 1. make the whole system into system.sqsh file, then used aufs on top of it. mount -t yaffs2 -o rw /dev/block/$system_partition /aufs/system mount -t squashfs -o loop,ro /aufs/system/system.sqsh /aufs/squashed mount -t aufs -o udba=none,rdblk=0,br:/aufs/system=rw:/aufs/squashed=ro none /system system is able to run without any problem, but we got random system freeze for 5-10 seconds, and system performance is terrible compare to use squashfs only. 2. we also tried the uloop, but the performance got even worse. 3. we also tested the libau.so, with the below mount configuration, and create 2 separated squashfs file, one is to be copied to tmpfs and mounted to /.aufs/cache, another is the left whole system mounted to /.aufs/squashed. this time, system performance seems improved a lot, but there still occasionally system freezing. mount -t aufs -o rw,udba=none,rdblk=0,rdhash=0,rdcache=90,br:/.aufs/system/rw=rw:/.aufs/cache =rr:/.aufs/squashed=rr aufs /system can anybody give us some idea how to improve? thanks.
------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf