🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.development
Article #15

Re: Kernel Question: buffer cache

#15
From: Frank W. ten Wolde
Date: Sun, 06 Feb 1994 10:09
48 lines
3029 bytes
ins122a@lindblat.cc.monash.edu.au (Mike Battersby) writes:

>First things first, a description of my setup.

>        80386-40, no copro
>        4mb RAM, IDE HD's (single controller), ext2 fs
>        ET4000 video card
>        vanilla ALPHA-pl14{p,x,z} pl15

>Lately I've noticed that the amount of system memory used for the
>buffer cache (as reported by 'free' or 'cat /proc/meminfo') is
>behaving (at least what I see as) weirdly.  The cache size will
>start out at zero, as would be expected, and slowly grow, as is
>expected, but once past a certain size, will not shrink again
>below that size.  This size is (usually) 1500k, but varies
>depending on how many filesystems I have mounted (for example if
>I unmount some filesystems, then the size will shrink).

>Firstly, is this normal? If so, can somebody explain the reasons
>behind this behaviour.

>Secondly, if this *is* normal, doesn't such behaviour violate the
>reasons for a shared memory between processes/buffer cache?  The
>cache will seemingly never shrink below the given size, no matter
>what the system is doing (even when it is thrashing like you
>wouldn't believe), and I really don't like the idea of permanently
>giving up half of my avalailble memory to the buffer cache.

> - Mike

It renders my Linux useless. See my previous mail on the buffer cache
I posted one day ago. When compiling a few files my buffer cache grows
to over 2600kb, leaving only a few tens of k available for processes
to run in. Needless to say that the systems is then only busy with
paging :-(

-Frank


-- 
=============================================================================
= Frank W. ten Wolde (PA3FMT)         Pink Elephant Industry B.V.           =
= Email: franky@duteca.et.tudelft.nl  Alternative: wolde2@ksla.nl           =
=============================================================================
WS User Support MCA/EP Department   Koninklijke/Shell-Laboratorium, Amsterdam
Ref Ind: ICS/32                     Badhuisweg 3
Room   : GvTD 22/22                 1031 CM  Amsterdam
Phone  : (+31)20-630 3540           The Netherlands
Technical Details
Message-ID: <2j2fkl$df4@liberator.et.tudelft.nl>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!sun4nl!tudelft.nl!liberator.et.tudelft.nl!erasmus.et.tudelft.nl!franky
References: <2j20sa$3tq@harbinger.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10c7cf,ef664eb2b5cc1599,start
X-Google-Attributes: gid10c7cf,public
X-Google-Thread: 102983,ef664eb2b5cc1599,start
X-Google-Attributes: gid102983,public
X-Google-ArrivalTime: 1994-02-06 02:09:25 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!zib-berlin.de!netmbx.de!Germany.EU.net!EU.net!sun4nl!tudelft.nl!liberator.et.tudelft.nl!erasmus.et.tudelft.nl!franky
From: franky@erasmus.et.tudelft.nl (Frank W. ten Wolde)
Newsgroups: comp.os.linux.development,aus.computers.linux
Subject: Re: Kernel Question: buffer cache
Date: 6 Feb 1994 10:09:25 GMT
Organization: Delft University of Technology, Dept. of Electrical Engineering
Lines: 48
Message-ID: <2j2fkl$df4@liberator.et.tudelft.nl>
References: <2j20sa$3tq@harbinger.cc.monash.edu.au>
NNTP-Posting-Host: erasmus.et.tudelft.nl
X-Newsreader: NN version 6.5.0 #2 (NOV)