guy keren wrote:
> On Mon, 2 Oct 2000, tizmo wrote:
>
> > hi, i am using slack7.1 and i think i got a problem...
>
> why look for a problem when you've got none?
>
> > i use 'top' and i see that the Swap is not used..
> > i see these lines:
> > Mem: 127884K av, 32156K used, 95728K free, 10556K shrd, 3136K buff
> > Swap: 192740K av, 0K used, 192740K free 21888K cached
> >
> > is my swap space being used ?
>
> it's not being used, simply because your system still has ~95MB free RAM.
> the system starts using swap space only when it runs out of RAM. think
> about it - why use slow swap devices when you can use RAM - a several
> orders of magnitude faster storage device?
>
> guy
>
Because there is always use for this faster storage device.
I will agree that if the guy (not Guy, tizmo, ohh never mind) has 95MB of free RAM,
there is no reason to swap anything out. It's just that a normal system has quite a
few things loaded into memory that are never accessed. Swapping these things out can
produce free RAM to be used for Disk caching.
I am not sure Linux knows how to do that (though - assuming that your RAM gets full
every now and then, that will happen anyway), but I am trying to point out that, if
my system allocated 128MB of memory, and it has exactly 128MB of RAM, the best
allocation is NOT 128MB Ram full, swap 0K full.
Shachar
P.S.
Like I said, this does not apply to a system with 95MB of free Ram.
Sh.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]