Mike Keefe wrote:
>
> Hello,
> I noticed that the Technical Specifications for XFS specified
> that at least 64 MB of memory is suggested for a Linux-based
> XFS system. What I'd like to know is: what is the smallest memory
> configuration that Linux XFS has been installed on and run
> successfully ?
I have one test system I use that is running 2.4.18-xfs from the SGI
tree and the machine has only a total of 24Meg of RAM.
Not only does this system run that filesystem, it also builds its own
kernel (and some other stuff)
This is a 486-DX/4-100 laptop of many, many years ago.
BTW - Switching to XFS from EXT2 on that laptop actually made the
kernel compile slightly faster (for the exact same kernel and options)
Amazing as I did not expect that on a system with such limited
resources.
> Do you even see it as being feasible to run on a signle processor
> embedded
> system with 16 MB of main memory ?
I don't know, depends on what other stuff you want to run in the background.
Note that XFS itself really does not make sense for small disk drives.
(I once put it on a 32meg CF drive just to test it, not a good idea
given the amount of space you loose) This is the output of top on that
machine - it happens to have a top running on the console too...
Note the amount of cache in the system is reasonably high. I am also running
FBCon (800x600) on the console and that is taking some RAM away too.
PCMCIA ethernet and a kernel with lots of features compiled in add to the
amount of overhead. I can say that I don't have ext2 compiled in as this
machine has no physical access to other drives (not even a floppy)
12:22pm up 3 days, 21:59, 1 user, load average: 0.09, 0.04, 0.00
47 processes: 46 sleeping, 1 running, 0 zombie, 0 stopped
CPU states: 5.3% user, 3.9% system, 0.0% nice, 90.6% idle
Mem: 21864K av, 21172K used, 692K free, 0K shrd, 0K buff
Swap: 529192K av, 5576K used, 523616K free 14276K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
838 root 13 0 548 480 480 S 3.9 2.1 206:07 top
7683 root 14 0 1036 1036 828 R 3.7 4.7 0:00 top
7660 root 10 0 2020 1984 1420 S 1.7 9.0 0:01 sshd
1 root 8 0 128 84 84 S 0.0 0.3 0:04 init
2 root 8 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 9 0 0 0 0 SW 0.0 0.0 0:01 kapmd
4 root 19 19 0 0 0 SWN 0.0 0.0 0:16 ksoftirqd_CPU0
5 root 9 0 0 0 0 SW 0.0 0.0 3:45 kswapd
6 root 9 0 0 0 0 SW 0.0 0.0 0:00 bdflush
7 root 9 0 0 0 0 SW 0.0 0.0 0:42 kupdated
8 root 9 0 0 0 0 SW 0.0 0.0 0:10 pagebuf_daemon
393 root 9 0 344 288 288 S 0.0 1.3 0:09 syslogd
398 root 9 0 332 200 200 S 0.0 0.9 0:00 klogd
418 rpc 9 0 284 192 192 S 0.0 0.8 0:00 portmap
530 ntp 9 0 1892 1892 1708 S 0.0 8.6 0:02 ntpd
554 root 8 0 168 4 4 S 0.0 0.0 0:00 cardmgr
592 root 9 0 424 312 280 S 0.0 1.4 0:31 sshd
653 root 9 0 88 4 4 S 0.0 0.0 0:00 rpc.rquotad
666 root 9 0 96 8 8 S 0.0 0.0 0:00 rpc.mountd
672 root 9 0 0 0 0 SW 0.0 0.0 0:01 nfsd
673 root 9 0 0 0 0 SW 0.0 0.0 0:00 lockd
674 root 9 0 0 0 0 SW 0.0 0.0 0:00 rpciod
675 root 9 0 0 0 0 SW 0.0 0.0 0:01 nfsd
676 root 9 0 0 0 0 SW 0.0 0.0 0:01 nfsd
677 root 9 0 0 0 0 SW 0.0 0.0 0:01 nfsd
678 root 9 0 0 0 0 SW 0.0 0.0 0:01 nfsd
679 root 9 0 0 0 0 SW 0.0 0.0 0:01 nfsd
680 root 9 0 0 0 0 SW 0.0 0.0 0:01 nfsd
681 root 9 0 0 0 0 SW 0.0 0.0 0:01 nfsd
747 root 9 0 852 352 300 S 0.0 1.6 0:02 sendmail
766 root 9 0 68 4 4 S 0.0 0.0 0:00 gpm
784 root 8 0 180 116 92 S 0.0 0.5 0:01 crond
820 daemon 9 0 112 52 52 S 0.0 0.2 0:00 atd
827 root 9 0 64 4 4 S 0.0 0.0 0:00 mingetty
828 root 9 0 64 4 4 S 0.0 0.0 0:00 mingetty
829 root 9 0 64 4 4 S 0.0 0.0 0:00 mingetty
830 root 9 0 64 4 4 S 0.0 0.0 0:00 mingetty
831 root 9 0 64 4 4 S 0.0 0.0 0:00 mingetty
832 root 9 0 64 4 4 S 0.0 0.0 0:00 mingetty
835 root 9 0 64 4 4 S 0.0 0.0 0:00 mingetty
836 root 9 0 64 4 4 S 0.0 0.0 0:00 mingetty
837 root 9 0 80 20 20 S 0.0 0.0 0:00 mingetty
3024 root 9 0 112 4 4 S 0.0 0.0 0:00 crond
6198 root 9 0 116 8 8 S 0.0 0.0 0:00 crond
7662 root 9 0 1680 1680 888 S 0.0 7.6 0:01 tcsh
--
Michael Sinz ---- Worldgate Communications ---- msinz@xxxxxxxxx
A master's secrets are only as good as
the master's ability to explain them to others.
|