lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <466D8B0F.3080608@gmail.com>
Date:	Mon, 11 Jun 2007 19:49:03 +0200
From:	Rene Herman <rene.herman@...il.com>
To:	Dave Jones <davej@...hat.com>
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	Andy Whitcroft <apw@...dowen.org>,
	"H. Peter Anvin" <hpa@...or.com>, Steve Fox <drfickle@...ibm.com>,
	Mel Gorman <mel@....ul.ie>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] move the kernel to 16MB for NUMA-Q

On 06/11/2007 07:20 PM, Dave Jones wrote:

> FWIW, waay back when (sometime last year if memory serves)
> Linus suggested changing the default to 0x1000000 for all x86.
> The reasoning was some performance microoptimisation regarding
> 4MB aligned TLBs iirc.

Yup. Or rather, he suggested 4M (0x400000):

http://lkml.org/lkml/2006/2/23/189

Aligning the kernel image on 4M could gain an additional TLB entry if the 
kernel image would fit in one (4M aligned) hugepage, but not in the 3M 
that's left after loading the kernel at 1M physical. And that stuff about 
the MTRRs...

That 0x1000000 (16M) is another potentially interesting value on machines 
with enough memory as it gets the kernel image out of the old ZONE_DMA.

> The details have long since evaded my memory, but as an experiment,
> I made the change to the Fedora kernel.  FC5,FC6 and F7 have been
> this way for a while now, with no obvious problems. Ditto RHEL5.
> We did get some performance numbers at the time of the change,
> but they weren't amazing (basically in the noise).
> Given it never seemed to actually get worse, I never got around
> to reverting it..

I've been loading the kernel at 16M physical for ages now on x86. No 
problems either.

Rene.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ