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 Feb 2012 14:29:58 -0500
From:	Vivek Goyal <vgoyal@...hat.com>
To:	Tejun Heo <tj@...nel.org>
Cc:	axboe@...nel.dk, ctalbott@...gle.com, rni@...gle.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCHSET] blkcg: unify blkgs for different policies

On Wed, Feb 01, 2012 at 01:19:05PM -0800, Tejun Heo wrote:

[..]
> 
> * use unified stats updated under queue lock and drop percpu stats
>   which should fix locking / context bug across percpu allocation.

Hi Tejun,

Does that mean that stat updation will happen under queue lock even if
there are no throttling rules? That will introduce extra queue lock on
fast path those who have throttling compiled in but are not using (common
case for distributions).

IMHO, we should keep the lockless per cpu stats and do the allocation in
worker thread. I was going through my messages and noticed that for
a workload queue lock contention had come down by 11% and in a separate
testing I could gain 4-5% with PCIe based flash drive for random reads
while I saturated the cpus.

Thanks
Vivek
--
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