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>] [day] [month] [year] [list]
Message-ID: <003401d44b3a$65afbf70$310f3e50$@alibaba-inc.com>
Date:   Thu, 13 Sep 2018 16:18:48 +0800
From:   "蒋雄伟(蒋冲)" 
        <xiongwei.jiang@...baba-inc.com>
To:     <linux-kernel@...r.kernel.org>
Cc:     <shli@...nel.org>, <neilb@...e.de>
Subject: raid5: how to bind worker threads to specified cpus

Since commit b721420e8719131896b009b11edbbd27d9b85e98, raid5 has been
enabled to support workqueue offload handling of stripes. However, if I hope
to bind worker threads to specified cpus, for example 0-3, is it possible?
The reason for doing this is that I hope applications will not be disturbed
by raid5's jobs. My naive idea is to add a field named "affinity_hint" to
struct r5conf, and then add a sysfs entry to input cpu list, and then take
stripe_head's sector as the hash key to evenly distribute stripe_head across
the cpus.
Anyone has suggestion about my idea or any alternative solutions to bind
worker threads to specified cpus ? thanks a lot .

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ