Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6696857ybi; Wed, 29 May 2019 11:39:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqypHmR9VYRhLJMrGW+37dUNwWZQ8WVNzwc6h8bdueIW0EzHNyyuSRensDrJTwVAcbSqBalk X-Received: by 2002:a17:902:9348:: with SMTP id g8mr100233180plp.174.1559155165347; Wed, 29 May 2019 11:39:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559155165; cv=none; d=google.com; s=arc-20160816; b=qV3cA3hZ1oQdP56UZ813yvgo3eubkw/Ui8JwMBnIg3uU+n/rvIj/rdrZ8o7KqnhbpO /VPZ+aa+FCWwX3P9Nc9gxr6qzF1tYkXzMU1BKbqyBAfKaonRFQ68eTmqGx74Gmekqafx njCuo/Xg4aQIrlk2JSGcPjrhhSz/fFMaq1cUXKEMDQrBnfAFmFfJYuDEHT2JXfEzqIIu HfHcU5Cyhn16rY6nZUiUsrOgvDwBn31mdMBkFyWpR2a1OzF6gbYowiI//rutO720Uhhk TKMxOspcc1zp80B6VZmgkLl5TYmMCjKxQMU2BNrYc/kaSWjhrNS+RMclkd3scPve3k7P cotg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=FNcpLdR1gB2FKoJvwQEraWVU2LiqRZ3fWLfIQutIUng=; b=rh6LTJgidLeu68jVMqPPYDTwOOg4kIBgEiV15vBg0Ih3+UdUcdexNBCo/vF5nZYSqo sXzO18F4j35+CX42EhAWBiFXkD8BeyfxMICrwtoYY20/NPaMhzFi7zs23BHPzTYq6vHk pjUTS7ECiXoD2tR72EYN9lKm7xyJVvtlW5J4r12wm4wK4a6HKshPIWF5naXY93yZd1bK h2rF6+ilnY8BWj0w4a5bJ/pXFEIO1AYwPYDlBXgPvkSlBzNTpTbxtkOrwVkIkkQ4tXoM I7F+BUvNcbOZ0JE3JGo+MYE2pz8atrvpS16ycffDPeN+fD+pJkFYm9xrT7U/1vfT5QTE 0iHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=LpRQwP+4; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t136si499896pfc.144.2019.05.29.11.39.11; Wed, 29 May 2019 11:39:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@umich.edu header.s=google-2016-06-03 header.b=LpRQwP+4; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=umich.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726489AbfE2Sik (ORCPT + 99 others); Wed, 29 May 2019 14:38:40 -0400 Received: from mail-ua1-f66.google.com ([209.85.222.66]:41485 "EHLO mail-ua1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbfE2Sik (ORCPT ); Wed, 29 May 2019 14:38:40 -0400 Received: by mail-ua1-f66.google.com with SMTP id n2so1414633uad.8 for ; Wed, 29 May 2019 11:38:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umich.edu; s=google-2016-06-03; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FNcpLdR1gB2FKoJvwQEraWVU2LiqRZ3fWLfIQutIUng=; b=LpRQwP+4bD8Okvj/R3TGpPhei7ShznJD0gMGE2qMGs1g9Xzaejcf2coKhYY4CokKxc bNwcD4yQsFoMtgqPWRvsSdcl8M1nQQU0FJ0PWRb7/g96VvgEEIH/86uLvdC+t/C7Z2vp ypdnNJ6YpOZHx/5PaWf6s4IljyDEhEygU3XSgrGl5CevNE0MyBg+MGQLqnZ0/uBG2XVD Yta07to/B6Xpw9OM4+3o4NGclo1hgCIVtNiL8GMTB95cV4HqJjnYXsptlQ7CpDo8prh+ CCmBc78EpBOhK8H4CHZ96wEUvCrul/9tolf1eEoKD8Iw27NCREyoGtRmbgfB4ItswBor JxDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FNcpLdR1gB2FKoJvwQEraWVU2LiqRZ3fWLfIQutIUng=; b=e0PmtRru1wbig6gOmM5P+xYxdkiPPYdzzbIsZR25fBSYE2rM6h+lCgj3FDX4fi61KA wGSajOXUZbUFoBOLxPnoXzfk0FrzVtfMZFz9O5+D35INiyEunZ6ZLMePVDTQFumZivbJ FYC38m1OSaG3ig/+02YO4Pj9/Pb3n2jKWf9enymPmnBV1AjkstYBxuczLIlcJ1T4nnNz Pg7zRmRfsMPLazmAg2kAa0k63GhqO6FvMx19SVwjhXEkzuqV+/aRjkrWUs0m9//5Pr+K W7L4fmU1MpCnjfPh68Y4IJfA82/WXBSN1U06L8ztO12M+qZzxP9WMC2WoV6zWNwRdXlm YDhA== X-Gm-Message-State: APjAAAUekIg5UCpvq679u2blsC8dH1mTtaC8psGVtLw/VYmCukJf6CVo rbP3vWUVoaSGGHMLaQETwMgoctEG/dgnPavDg88= X-Received: by 2002:a9f:3381:: with SMTP id p1mr9185477uab.40.1559155119023; Wed, 29 May 2019 11:38:39 -0700 (PDT) MIME-Version: 1.0 References: <20190503111841.4391-1-trond.myklebust@hammerspace.com> <20190503111841.4391-2-trond.myklebust@hammerspace.com> <20190503111841.4391-3-trond.myklebust@hammerspace.com> <20190503111841.4391-4-trond.myklebust@hammerspace.com> <20190503111841.4391-5-trond.myklebust@hammerspace.com> <20190503111841.4391-6-trond.myklebust@hammerspace.com> In-Reply-To: From: Olga Kornievskaia Date: Wed, 29 May 2019 14:38:28 -0400 Message-ID: Subject: Re: [RFC PATCH 5/5] SUNRPC: Reduce the priority of the xprtiod queue To: Trond Myklebust Cc: Chuck Lever , linux-nfs Content-Type: text/plain; charset="UTF-8" Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, May 28, 2019 at 4:10 PM Olga Kornievskaia wrote: > > On Fri, May 3, 2019 at 7:24 AM Trond Myklebust wrote: > > > > Allow more time for softirqd > > > > Signed-off-by: Trond Myklebust > > --- > > net/sunrpc/sched.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c > > index c7e81336620c..6b37c9a4b48f 100644 > > --- a/net/sunrpc/sched.c > > +++ b/net/sunrpc/sched.c > > @@ -1253,7 +1253,7 @@ static int rpciod_start(void) > > goto out_failed; > > rpciod_workqueue = wq; > > /* Note: highpri because network receive is latency sensitive */ > > - wq = alloc_workqueue("xprtiod", WQ_UNBOUND|WQ_MEM_RECLAIM|WQ_HIGHPRI, 0); > > I thought we needed UNBOUND otherwise there was performance > degradation for read IO. I remove my objection as this is for the xprtiod queue and not the rpciod queue. The latter is the one when removing WQ_UNBOUND would only use a single rpciod thread for doing all the crypto and thus impact performance. > > > + wq = alloc_workqueue("xprtiod", WQ_MEM_RECLAIM | WQ_UNBOUND, 0); > > if (!wq) > > goto free_rpciod; > > xprtiod_workqueue = wq; > > -- > > 2.21.0 > >