Re: i686 SMP systems with more then 12 GB ram with 2.4.x kernel ?

From: Rik van Riel (riel@conectiva.com.br)
Date: Fri Jan 04 2002 - 07:15:17 EST


On Fri, 4 Jan 2002, Hugh Dickins wrote:
> On Thu, 3 Jan 2002, Rik van Riel wrote:
> > On Thu, 3 Jan 2002, Alan Cox wrote:
> > > A lot of it is the page structs (64bytes per page - which really
> > > should be nearer the 32 some rival Unix OS's achieve on x86)
> >
> > The 2.4 kernel has the page struct at 52 bytes in size,
> > William Lee Irwin and I have brought this down to 36.
>
> Please restate those numbers, Rik: I share Alan's belief that the
> current standard 2.4 kernel has page struct at 64 bytes in size.

Indeed, I counted wrong ... substracted the waitqueue when counting
the first time, then substracted it again ;)

The struct page in the current kernel is indeed 64 bytes. In
the rmap VM it's also 64 bytes (60 bytes if highmem is disabled).

After removal of the waitqueue, that'll be 52 bytes, or 48 if
highmem is disabled.

kind regards,

Rik

-- 
DMCA, SSSCA, W3C?  Who cares?  http://thefreeworld.net/

http://www.surriel.com/ http://distro.conectiva.com/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:24 EST