linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.4.12 and memory (Swap<->Cached)
@ 2001-11-03 12:35 Andrey Nekrasov
  2001-11-03 13:54 ` degger
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Nekrasov @ 2001-11-03 12:35 UTC (permalink / raw)
  To: Linux Kernel

Hello.


#cat /proc/meminfo

        total:    used:    free:  shared: buffers:  cached:
Mem:  2108588032 2105348096  3239936        0    69632 708489216
Swap: 4293378048 156639232 4136738816
MemTotal:      2059168 kB
MemFree:          3164 kB
MemShared:           0 kB
Buffers:            68 kB
Cached:         691876 kB
SwapCached:          8 kB
Active:         490884 kB
Inactive:       201068 kB
HighTotal:     1703872 kB
HighFree:         1152 kB
LowTotal:       355296 kB
LowFree:          2012 kB
SwapTotal:     4192752 kB
SwapFree:      4039784 kB



Why use swap, if "Cached" (it is disk cache?) 691876 kB?

-- 
bye.
Andrey Nekrasov, SpyLOG.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.4.12 and memory (Swap<->Cached)
  2001-11-03 12:35 2.4.12 and memory (Swap<->Cached) Andrey Nekrasov
@ 2001-11-03 13:54 ` degger
  0 siblings, 0 replies; 2+ messages in thread
From: degger @ 2001-11-03 13:54 UTC (permalink / raw)
  To: andy; +Cc: linux-kernel

On  3 Nov, Andrey Nekrasov wrote:

>         total:    used:    free:  shared: buffers:  cached:
> Mem:  2108588032 2105348096  3239936        0    69632 708489216
> Swap: 4293378048 156639232 4136738816
> MemTotal:      2059168 kB
> MemFree:          3164 kB
> MemShared:           0 kB
> Buffers:            68 kB
> Cached:         691876 kB
> SwapCached:          8 kB
> Active:         490884 kB
> Inactive:       201068 kB
> HighTotal:     1703872 kB
> HighFree:         1152 kB
> LowTotal:       355296 kB
> LowFree:          2012 kB
> SwapTotal:     4192752 kB
> SwapFree:      4039784 kB
> Why use swap, if "Cached" (it is disk cache?) 691876 kB?

I have a different problem with this figures. Shouldn't
Active+Inactive+Cached+Buffers+MemFree == MemTotal?

In fact I was about to also post a cat of meminfo because
I'm having really poor interactive perfomance on my G4-500
with 2.4.14-pre5-ben0 and I think it's memory related. The
problems weren't that bad a few subreleases ago.

        total:    used:    free:  shared: buffers:  cached:
Mem:  261517312 252518400  8998912        0  1175552 66686976
Swap: 268427264 79831040 188596224
MemTotal:       255388 kB
MemFree:          8788 kB
MemShared:           0 kB
Buffers:          1148 kB
Cached:          49420 kB
SwapCached:      15704 kB
Active:          49748 kB
Inactive:        60160 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       255388 kB
LowFree:          8788 kB
SwapTotal:      262136 kB
SwapFree:       184176 kB

All the machine is running right now is the GNOME desktop, a mailreader
and a webbrowser as well as 4 terminals.

--
Servus,
       Daniel




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-11-03 15:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-03 12:35 2.4.12 and memory (Swap<->Cached) Andrey Nekrasov
2001-11-03 13:54 ` degger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).