* 2.4.x Shared memory question
@ 2001-02-05 6:35 LA Walsh
2001-02-05 15:51 ` Shawn Starr
2001-02-06 0:12 ` What is the difference between buffers and cached? (was: Re: 2.4.x Shared memory question) Rogerio Brito
0 siblings, 2 replies; 3+ messages in thread
From: LA Walsh @ 2001-02-05 6:35 UTC (permalink / raw)
To: linux-kernel
Another oddity -- I notice things taking alot more memory
in 2.4. This coincides with 'top' consistently showing I have 0 shared
memory. These two observations would have me wondering if I
have somehow misconfigured my system to disallow sharing. Note
that /proc/meminfo also shows 0 shared memory:
total: used: free: shared: buffers: cached:
Mem: 525897728 465264640 60633088 0 82145280 287862784
Swap: 270909440 0 270909440
MemTotal: 513572 kB
MemFree: 59212 kB
MemShared: 0 kB
Buffers: 80220 kB
Cached: 281116 kB
Active: 22340 kB
Inact_dirty: 338996 kB
Inact_clean: 0 kB
Inact_target: 0 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 513572 kB
LowFree: 59212 kB
SwapTotal: 264560 kB
SwapFree: 264560 kB
Not that it seems unrelated, but I do have filesystem type shm
mounted on /dev/shm as suggested for POSIX shared memory.
--
Linda A Walsh | Trust Technology, Core Linux, SGI
law@sgi.com | Voice: (650) 933-5338
--
Linda A Walsh | Trust Technology, Core Linux, SGI
law@sgi.com | Voice: (650) 933-5338
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: 2.4.x Shared memory question
2001-02-05 6:35 2.4.x Shared memory question LA Walsh
@ 2001-02-05 15:51 ` Shawn Starr
2001-02-06 0:12 ` What is the difference between buffers and cached? (was: Re: 2.4.x Shared memory question) Rogerio Brito
1 sibling, 0 replies; 3+ messages in thread
From: Shawn Starr @ 2001-02-05 15:51 UTC (permalink / raw)
To: LA Walsh; +Cc: linux-kernel
Its supposed to, its too costly to calculate shared memory with the new VM
I'm told.
Shawn.
LA Walsh wrote:
> Another oddity -- I notice things taking alot more memory
> in 2.4. This coincides with 'top' consistently showing I have 0 shared
> memory. These two observations would have me wondering if I
> have somehow misconfigured my system to disallow sharing. Note
> that /proc/meminfo also shows 0 shared memory:
>
> total: used: free: shared: buffers: cached:
> Mem: 525897728 465264640 60633088 0 82145280 287862784
> Swap: 270909440 0 270909440
> MemTotal: 513572 kB
> MemFree: 59212 kB
> MemShared: 0 kB
> Buffers: 80220 kB
> Cached: 281116 kB
> Active: 22340 kB
> Inact_dirty: 338996 kB
> Inact_clean: 0 kB
> Inact_target: 0 kB
> HighTotal: 0 kB
> HighFree: 0 kB
> LowTotal: 513572 kB
> LowFree: 59212 kB
> SwapTotal: 264560 kB
> SwapFree: 264560 kB
>
> Not that it seems unrelated, but I do have filesystem type shm
> mounted on /dev/shm as suggested for POSIX shared memory.
>
> --
> Linda A Walsh | Trust Technology, Core Linux, SGI
> law@sgi.com | Voice: (650) 933-5338
>
> --
> Linda A Walsh | Trust Technology, Core Linux, SGI
> law@sgi.com | Voice: (650) 933-5338
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
* What is the difference between buffers and cached? (was: Re: 2.4.x Shared memory question)
2001-02-05 6:35 2.4.x Shared memory question LA Walsh
2001-02-05 15:51 ` Shawn Starr
@ 2001-02-06 0:12 ` Rogerio Brito
1 sibling, 0 replies; 3+ messages in thread
From: Rogerio Brito @ 2001-02-06 0:12 UTC (permalink / raw)
To: linux-kernel
On Feb 04 2001, LA Walsh wrote:
> Another oddity -- I notice things taking alot more memory
> in 2.4. This coincides with 'top' consistently showing I have 0 shared
> memory.
AFAIK, the 2.4.0 series does share memory, but it's just the
counters that are not updated, for they are costly.
> total: used: free: shared: buffers: cached:
> Mem: 525897728 465264640 60633088 0 82145280 287862784
> Swap: 270909440 0 270909440
This is the perfect time to ask one thing that I don't know,
but that I've tried to find without success: what is the
difference between "buffers" and "cached"? I'd make the wild
guess that "buffers" would mean any types of buffers that the
kernel maintains, while "cached" would have something to do
with cached disk blocks...
Are these guesses correct or completely, way off?
Thanks for any hints, Roger...
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rogerio Brito - rbrito@iname.com - http://www.ime.usp.br/~rbrito/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-02-06 0:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-05 6:35 2.4.x Shared memory question LA Walsh
2001-02-05 15:51 ` Shawn Starr
2001-02-06 0:12 ` What is the difference between buffers and cached? (was: Re: 2.4.x Shared memory question) Rogerio Brito
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox