Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jan 2008 00:58:32 +0100
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-stable@freebsd.org
Subject:   Re: Strange top output
Message-ID:  <fn8kb9$b8h$1@ger.gmane.org>
In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB01119C@w2003s01.double-l.local>
References:  <57200BF94E69E54880C9BB1AF714BBCB01119C@w2003s01.double-l.local>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Johan Hendriks wrote:

> now i have installed 7.0rc1 amd64 version on a quad core xeon and updated yesterday my src and did a buildworld cycle
> On this machine i am running the same jails 1 for proxy and one for the mailscanning.
> but if i do i top here i see much higher values of size used

> this is my first amd64 install, the 6.2 is a i386 install

There are two reasons for the behaviour you noticed:

a) 64-bit software takes more memory than 32-bit, by definition 
(pointers are twice the size, etc.)
b) The memory allocator (malloc) was completely changed in 7.0, and it 
requests more memory from the kernel than the one used before (don't 
worry: the amount of memory actually _used_ has nothing to do with how 
much virtual memory is allocated).

In your case, these two factors have increased memory usage from 82 MB 
to 110 MB, and allocation from 92 MB to 141 MB. There's nothing bad 
here, if you have enough memory.


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHl9SoldnAQVacBcgRAhKWAJ90vdt2jEXub5UPPqm0zMVXqyGcaQCePmYE
t3WIIilXEtRBUVflsmKMXuQ=
=CYUE
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fn8kb9$b8h$1>