On Tue, Mar 26, 2002 at 10:14:38PM +0100, Wolfgang Schweer wrote: > On Tue, 26 Mar 2002, Hans Ekbrand wrote: > > > The CPU doesn't matter very much, (though there is a small but > > noticable difference between a P-100 and a 486 DX 33 when both use > > simliar graphic chips) and with NFS swapping and custom kernels, I > > think 8 Mb RAM is ok. > > Using custom kernels one can free up some more space in ws memory by > including support for shmfs (something like 'virtual fs', section > filesystems during kernel config). > It is then possible to skip the ram disk for /tmp, using shmfs instead. > shmfs has the advantage to be resizable, i.e. only the needed memory is > occupied. Compared to the standard size of the ram disk for /tmp one can > gain nearly one meg of ram.
Interesting, in order to use shmfs instead of ram disk, I suppose have to modify
/opt/ltsp/i386/etc/modules.devfs:alias /dev/ram* rd
/opt/ltsp/i386/etc/rc.local:/sbin/mke2fs -q -m0 /dev/ram1 ${RAMDISK_SIZE}
/opt/ltsp/i386/etc/rc.local:/bin/mount -n /dev/ram1 /tmp
and substitute "/dev/ram" with "/dev/shm". But is it that simple?
--
Hans Ekbrand
msg04035/pgp00000.pgp
Description: PGP signature
