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]
Date:	Sat, 19 Nov 2011 18:09:59 -0800 (PST)
From:	David Rientjes <rientjes@...gle.com>
To:	Petr Holasek <pholasek@...hat.com>
cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	Ingo Molnar <mingo@...hat.com>,
	"H. Peter Anvin" <hpa@...or.com>, linux-kernel@...r.kernel.org,
	x86@...nel.org, Anton Arapov <anton@...hat.com>
Subject: Re: NUMA emulation x86_64: numa=fake parameter for custom nodes
 distance

On Sat, 19 Nov 2011, Petr Holasek wrote:

> A lot of developers still have no access to large NUMA machines and 
> possibility of NUMA emulation could involve more of them to thinking
> about NUMA awareness of their apps/kernel code.
> 

That's a bogus argument, numa=fake already allows you to construct as 
large of a NUMA box as you want in a faked environment.  The distances 
have nothing to do with that.

The distances you're adding here are, by definition, incorrect because it 
doesn't respect the actual distance between physical nodes that numa=fake 
uses already.  If you're using numa=fake on an UMA machine, then the 
performance of the kernel will be just that, you won't actual see any 
introduced latency between fake nodes just by changing the distance.  So 
you're completely invalidating what internode distances actually mean.

I'd much rather see an option to fake the SLIT that could do all of this 
without limitation and would be possible to debug issues in the future.
--
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