Hi there,
running "top" on a 2.2.18 Kernel showed me the ammount of memory shared.
Now under 2.4.x "top" always displays "0" and i have mountet the tmpfs (if it's needed for that ?).
Is shared memory gone? Is my "top" to old?! I think i've installed all needed versions
as described in "Changes" under linux/Documentation
I don't think there isn't any shared memory, but i'm confused :)
Thanx a lot,
Thomas
On Wed, Feb 21, 2001 at 11:23:09AM +0100, Thomas Foerster wrote:
> running "top" on a 2.2.18 Kernel showed me the ammount of memory shared.
>
> Now under 2.4.x "top" always displays "0" and i have mountet the
> tmpfs (if it's needed for that ?).
>
> Is shared memory gone? Is my "top" to old?! I think i've installed
> all needed versions as described in "Changes" under linux/Documentation
>
> I don't think there isn't any shared memory, but i'm confused :)
This is becoming a FAQ, could we add it as question 14.3 to the lkml
FAQ?
Yes, the processes stil share memory, but due to changes to the VM in
2.4 it became too CPU intensive to calculate the total amount of shared
memory. In order not to break the userland tools, the "MemShared" field
in /proc/meminfo was set to 0.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [email protected]
WWW: http://www-ict.its.tudelft.nl/~erik/