public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: 0k shared?
@ 2001-07-09 12:48 Colin Bayer
  0 siblings, 0 replies; 3+ messages in thread
From: Colin Bayer @ 2001-07-09 12:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: ketil

Ketil,

> As you can see, there is no shared memory here. Is this something I > ought to worry about, or is it normal? I've been using the system, 
> and since things were lagging, I looked at 'top', and this just 
> caught my eye.
> Any reason for worry?
>
> And if you *really* want me to, I can see if I can reproduce this, 
> though I'd rather not. :-)
>

Hate to say this, but RTFFAQ.  On the linux-kernel FAQ (I forget the address), it mentions that in kernel 2.4.x, it became too hard to compute sharedmem, so they just left it blank... 8-)

     -- Colin


On the first day, man created the computer.  On the second day, God proclaimed from the heavens, "F0 0F C7 C8".

------------------------------------------------------------
The CompNerd Network: http://www.compnerd.com/
Where a nerd can be a nerd.  Get your free webmail@compnerd.net!

^ permalink raw reply	[flat|nested] 3+ messages in thread
* 0k shared?
@ 2001-07-09 14:36 Ketil Froyn
  2001-07-09 19:25 ` Richard B. Johnson
  0 siblings, 1 reply; 3+ messages in thread
From: Ketil Froyn @ 2001-07-09 14:36 UTC (permalink / raw)
  To: linux-kernel

Hi.

This may be a stupid question, but I found this strange. In making a small
benchmarking utility, I made the following directory structure by mistake:
a/a/a/a/a/a/a/a/a/a/.....

By ..... I mean this goes on and on, there were around 18 thousand
directories inward like this. A great example of the damage a bug in a
recursive program can do ;) Anyway, I've removed it now (btw, rm -rf on
this sigsegved :D).

And now for the question. My /proc/meminfo looks like this:

        total:    used:    free:  shared: buffers:  cached:
Mem:  195678208 192753664  2924544        0 116613120 45502464
Swap: 361902080 98807808 263094272
MemTotal:       191092 kB
MemFree:          2856 kB
MemShared:           0 kB
Buffers:        113880 kB
Cached:          44436 kB
Active:          20256 kB
Inact_dirty:    136116 kB
Inact_clean:      1944 kB
Inact_target:        8 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       191092 kB
LowFree:          2856 kB
SwapTotal:      353420 kB
SwapFree:       256928 kB

As you can see, there is no shared memory here. Is this something I ought
to worry about, or is it normal? I've been using the system, and since
things were lagging, I looked at 'top', and this just caught my eye.
Any reason for worry?

And if you *really* want me to, I can see if I can reproduce this, though
I'd rather not. :-)

# uname -a
Linux ketil.np 2.4.3 #3 SMP Sat Jun 30 05:23:12 CEST 2001 i686 unknown

The kernel has the international kernel patch.

Ketil


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

end of thread, other threads:[~2001-07-09 19:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-09 12:48 0k shared? Colin Bayer
  -- strict thread matches above, loose matches on Subject: below --
2001-07-09 14:36 Ketil Froyn
2001-07-09 19:25 ` Richard B. Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox