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:	Thu, 2 Jun 2016 17:29:56 +0100
From:	Al Viro <viro@...IV.linux.org.uk>
To:	"Huang, Ying" <ying.huang@...el.com>
Cc:	Linus Torvalds <torvalds@...ux-foundation.org>, lkp@...org,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [LKP] [lkp] [dcache_{readdir, dir_lseek}() users] 4e82901cd6:
 reaim.jobs_per_min -49.1% regression

On Thu, Jun 02, 2016 at 02:28:36PM +0800, Huang, Ying wrote:
> "Huang, Ying" <ying.huang@...el.com> writes:

> Here is the comparison result with perf profile information.  You can
> find it via searching 'perf-profile'.
[snip]

Looks like this load is hitting the arseloads of contention cases of
spin_lock() on various ->d_lock inside dcache_readdir().  With exclusive
lock on directory most of them end up uncontended...

I'll try to see what can be done there; quite a bit of those are actually
due to moving the cursor on every step.  I wonder if we could do the list
traversals with something less drastic - the real contents changes are
prevented by the shared lock on directory being held, after all...

I'll play with that and post when I get somewhere with it...

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ