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: <alpine.DEB.2.00.1104121752400.12609@chino.kir.corp.google.com>
Date:	Tue, 12 Apr 2011 17:56:04 -0700 (PDT)
From:	David Rientjes <rientjes@...gle.com>
To:	Dave Hansen <dave@...ux.vnet.ibm.com>
cc:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	LKML <linux-kernel@...r.kernel.org>,
	linux-mm <linux-mm@...ck.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Christoph Lameter <cl@...ux.com>,
	KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>,
	Chris McDermott <lcm@...ux.vnet.ibm.com>
Subject: Re: [PATCH resend^2] mm: increase RECLAIM_DISTANCE to 30

On Tue, 12 Apr 2011, Dave Hansen wrote:

> > That doesn't seem like an argument against this patch, it's an improper 
> > configuration unless the remote memory access has a latency of 2.1x that 
> > of a local access between those two nodes.  If that's the case, then it's 
> > accurately following the ACPI spec and the VM has made its policy decision 
> > to enable zone_reclaim_mode as a result.
> 
> Heh, if the kernel broke on every system that didn't follow _some_ spec,
> it wouldn't boot in very many places.
> 
> When you have a hammer, everything looks like a nail.  When you're a
> BIOS developer, you start thwacking at the kernel with munged ACPI
> tables instead of boot options.  Folks do this in the real world, and I
> think if we can't put their names and addresses next to the code that
> works around this, we might as well put the DMI strings of their
> hardware. :) 
> 

That's why I suggested doing away with RECLAIM_DISTANCE entirely, 
otherwise we are relying on the SLIT always being correct when we know 
it's not; the policy decision in the kernel as it stands now is that we 
want to enable zone_reclaim_mode when remote memory access takes longer 
than 2x that of a local access (3x with KOSAKI-san's patch), which is 
something we can actually measure at boot rather than relying on the BIOS 
at all.  Then we don't have to bother with DMI strings for specific pieces 
of hardware and can remove the existing ia64 and powerpc special cases.
--
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