Re: Memory + page tables

Chris Noe (stiker@northlink.com)
Sun, 19 Jul 1998 13:58:31 -0700 (MST)


On Sun, 19 Jul 1998, George wrote:

> Pages table cache takes up 114,688 bytes, quite a bit. Lots of free memory
> and cache and the disk light is still on solid from swapping. 8MB actually
> booted, 4MB wouldn't boot normally (it finished all rc.d scripts but never
> actually gave a log in prompt) but worked with init=/bin/bash. Actually,
> it's somewhat usable...

I was able to boot up here with mem=4M on 2.1.109(UP), and took a few
notes:

Linux iniquity 2.1.109 #83 Sat Jul 18 14:12:37 MST 1998 i586 unknown

Free pages: 556kB
(Free: (139 148 96 144)
13*4kB 9*8kB 9*16kB 1*32kB 0*64kB 2*128kB = 556kB)
Swap cache: add 51064/51064, delete 51058/51058, find 0/0
Free swap: 7212kB
1024 pages of RAM
308 reserved pages
6 pages shared
6 pages swap cached
20 pages in page table cache
Buffer memory: 120kB
Buffer heads: 158
Buffer blocks: 120
CLEAN: 77 buffers, 0 used (last=0), 0 locked, 0 protected, 0 dirty
LOCKED: 27 buffers, 19 used (last=24), 0 locked, 0 protected, 0 dirty
DIRTY: 2 buffers, 0 used (last=0), 0 locked, 0 protected, 2 dirty
Networking buffers in use : 289
Total network buffer allocations : 1259
Total failed network buffer allocs : 0
IP fragment buffer size : 0

81,920 bytes used for the page table cache.

But there was no way I was going to try compiling a kernel on this :)

Just a light load:
2 bash
1 top
basic daemons

Seemed pretty responsive. I also tested a bzip2 -9 going while listening
to an mp3, and not a single skip (even with all the swapping going on).
Impressive, to say the least; especially considering bzip uses mass
amounts of memory, and there weren't really mass amounts to go around. :)

Who says 2.1 won't run on low mem 'pooters?

CONFIG_EXPERIMENTAL=y
CONFIG_M586=y
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_NET=y
CONFIG_PCI=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_SYSVIPC=y
CONFIG_SYSCTL=y
CONFIG_BINFMT_AOUT=m
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PNP=y
CONFIG_PNP_PARPORT=m
CONFIG_BLK_DEV_FD=m
CONFIG_BLK_DEV_IDE=y
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_BLK_DEV_IDECD=m
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_BLK_DEV_LOOP=m
CONFIG_PARIDE_PARPORT=m
CONFIG_PACKET=m
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_NOSR=y
CONFIG_SKB_LARGE=y # Probably should have turned that off for 4mb :)
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
CONFIG_PPP=m
CONFIG_EXT2_FS=y
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_FAT_FS=m
CONFIG_VFAT_FS=m
CONFIG_PROC_FS=y
CONFIG_NFS_FS=m
CONFIG_SUNRPC=m
CONFIG_LOCKD=m
CONFIG_NLS=y
CONFIG_NLS_CODEPAGE_437=m
CONFIG_NLS_ISO8859_1=m
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=m
CONFIG_PRINTER=m
CONFIG_PRINTER_READBACK=y
CONFIG_MOUSE=y
CONFIG_PSMOUSE=m
CONFIG_VGA_CONSOLE=y
CONFIG_VIDEO_SELECT=y
CONFIG_SOUND=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_OPL3SA1=m
CONFIG_SOUND_SOFTOSS=m
CONFIG_SOUND_YM3812=m
CONFIG_MAGIC_SYSRQ=y

Chris Noe
(stiker@northlink.com)

-- 
---------------------------------------------------------
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)
---- http://online.offshore.com.ai/arms-trafficker/ -----

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html