I have not used schoolOS, but I believe its just like any other linux
distro with special packaging.
Recently, I found an article on how to speed up linux.
The basic reason why linux is slow at launching applications (biggies,
like firefox I mean) is excessive file reading, i.e. the hard disk
head moves a lot, taking longer time.
If one has a CPU with a good rating > 1Ghz, some of this load can be
transferred to the CPU, i.e. by storing the files in a compressed
file. Hence there is lesser data to read and HDD head moves less, but
speed improves.

Because schoolOS is static [I believe; may be wrong], i.e. the core
components won't be updated till a new version is released, we can use
SquashFS to compress /usr and /opt separately and loop mount it (loop
mounting is always read only).

The procedure is something like this:

mkdir /squashed
mksquashfs /usr /squashed/usr.sqfs -always-use-fragments
mksquashfs /opt /squashed/opt.sqfs -always-use-fragments
mv /usr{,.old}
mv /opt{,.old}
mkdir /usr /opt
mount -o loop /squashed/usr.sqfs /usr
mount -o loop /squashed/opt.sqfs /opt

/etc/fstab entry, so that the mounting happens automatically:

/squashed/usr.sqfs /usr squashfs loop,ro 0 0
/squashed/opt.sqfs /opt squashfs loop,ro 0 0

If after boot everything works perfectly fine, then we can rm -rf
/opt.old /usr.old

Do consider this idea.

-- 
Regards,
Nilesh Govindarajan
Facebook: http://www.facebook.com/nilesh.gr
Twitter: http://twitter.com/nileshgr
Website: http://www.itech7.com
VPS Hosting: http://www.itech7.com/a/vps

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to