Return-Path: linux-kernel-owner@vger.kernel.org Date: Tue, 2 Dec 2014 14:26:55 -0500 From: Tejun Heo To: Jeff Layton Cc: linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org, Al Viro Subject: Re: [RFC PATCH 00/14] nfsd/sunrpc: add support for a workqueue-based nfsd Message-ID: <20141202192655.GL10918@htj.dyndns.org> References: <1417544663-13299-1-git-send-email-jlayton@primarydata.com> <20141202191814.GK10918@htj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20141202191814.GK10918@htj.dyndns.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: On Tue, Dec 02, 2014 at 02:18:14PM -0500, Tejun Heo wrote: ... > unbound. If strict cpu locality is likely to be beneficial and each > work item isn't likely to consume huge amount of cpu cycles, > WQ_CPU_INTENSIVE would fit better; otherwise, WQ_UNBOUND to let the > scheduler do its thing. Hmmm... but you're already using WQ_UNBOUND. Concurrency management doesn't matter for unbound workqueues. They really just behave as shared worker thread pools. Does turning on WQ_HIGHPRI change anything? Workqueue always prefers hot workers which can lead to the hot ones being penalized for consuming too much CPU time. Thanks. -- tejun