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] [day] [month] [year] [list]
Date:	Thu, 02 Apr 2009 16:22:06 +0900
From:	Tejun Heo <tj@...nel.org>
To:	David Miller <davem@...emloft.net>
CC:	linux-kernel@...r.kernel.org
Subject: Re: More problems in setup_pcpu_remap()

Hello, David.

David Miller wrote:
>>> Using 2MB per cpu is just rediculious, and really not even necessary.
>> The focus at the moment is using large page for the first chunk to
>> reduce pressure on TLB, not necessarily actually using 2MB for each
>> unit.
> 
> You'll get better TLB hit rates with my suggestion.
> 
> The idea is to carve up a 2MB page amongst consequetive cpus in
> the same NUMA node.
> 
> With hyperthreading these cpus will be sharing the TLB, so you'll
> get better TLB hit rates than the current code.

That sounds great.

> I'm going to do something like this on sparc64.  This x86 code is
> severely demotivating me, so I'll stop looking at it now :-)

Yeah, please go ahead and write severely motivating code.  I'll be
very motivated to apply it to x86.  :-)

Thanks.

-- 
tejun
--
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