Received: by 10.223.185.116 with SMTP id b49csp277793wrg; Thu, 8 Mar 2018 17:26:30 -0800 (PST) X-Google-Smtp-Source: AG47ELtl/RY7vkP32L6+xA86gcfCDC5DnXISOAs/6LMOYLh87vedqnMeNphchaHm4U005BXRJ7vt X-Received: by 10.101.97.139 with SMTP id c11mr22650126pgv.435.1520558790666; Thu, 08 Mar 2018 17:26:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520558790; cv=none; d=google.com; s=arc-20160816; b=pUWSkYfTUKBkQ3Sg7NQhHVy1zJtnaA9rS3IWu7FxnAQ8nOwIaoKiVqEzSgoPOcHPWQ 0Giz1HgRzhdmKCM1cA+iIlRC/wyBZJLhP4IWJ4+XdUwxSlnfH1c0OnpNbPrPbIS1u6h6 3UxTpYYmt2nGx41bOut53KM1E++9IzarprFnXw5zfji6fDusg5q/MjA6NRjtNmcB2W6V JvN6Neix2Ddy2URxjHd7w5KEC6YJVhjurlCAwlnZbYzRWKu+u0kTR/J1l9nujDgfvOrv 9s3y3N4QwOEXxpcVv1BjAQdHLRTDtfgeUGCAPk+O3UoP5t4tuYI+9JdDvsubXjwATFSh r9og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=nCKLytO1c1a4fDNCSugMoYnuOao29DQ8K9shlPUHnUw=; b=Xo6L1E92v9BlVfRj5ahGneNVOFtjH+M3JfkhCAKUByeZhj4fUpd4meUi7c8BTHlKEt IUj2zq3uFf+8vhnWHT98n9jccWFk/U53QdLsiNbrYYIX0hUCmAmd78XIr0sb8BkmX0fo fTdeT3Gt0Myf2VnNUxcja9IYBcndHLhu+Yar25ekbzE6Oq02lxF+yfjqvUxEY87ciF2N Ij6VSMw7cjAOYroi+/qGrUAl3gdEwYUTZn5PlBMRyCSTsa9gZzJf4eZaNNlcDxPGuP6J nu9+uhDwDS71KT4RsdvZVcwqvpiFJZGo7RxChLLJ/Fg2ZbIjJqhOCxQxIRewdQYTHyuH O64Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p10si13862127pgc.74.2018.03.08.17.26.15; Thu, 08 Mar 2018 17:26:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932082AbeCIBZO (ORCPT + 99 others); Thu, 8 Mar 2018 20:25:14 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:35278 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750880AbeCIBZN (ORCPT ); Thu, 8 Mar 2018 20:25:13 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7B7854040070; Fri, 9 Mar 2018 01:25:12 +0000 (UTC) Received: from ming.t460p (ovpn-12-83.pek2.redhat.com [10.72.12.83]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D415F202322A; Fri, 9 Mar 2018 01:25:03 +0000 (UTC) Date: Fri, 9 Mar 2018 09:24:59 +0800 From: Ming Lei To: Thomas Gleixner Cc: Artem Bityutskiy , Jens Axboe , Christoph Hellwig , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, Laurence Oberman Subject: Re: [PATCH V3 0/4] genirq/affinity: irq vector spread among online CPUs as far as possible Message-ID: <20180309012458.GD5228@ming.t460p> References: <20180308105358.1506-1-ming.lei@redhat.com> <1520515113.20980.31.camel@gmail.com> <20180308133440.GA2713@ming.t460p> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Fri, 09 Mar 2018 01:25:12 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Fri, 09 Mar 2018 01:25:12 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'ming.lei@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, On Fri, Mar 09, 2018 at 12:20:09AM +0100, Thomas Gleixner wrote: > On Thu, 8 Mar 2018, Ming Lei wrote: > > Actually, it isn't a real fix, the real one is in the following two: > > > > 0c20244d458e scsi: megaraid_sas: fix selection of reply queue > > ed6d043be8cd scsi: hpsa: fix selection of reply queue > > Where are these commits? Neither Linus tree not -next know anything about > them.... Both aren't merged yet, but they should land V4.16, IMO. > > > This patchset can't guarantee that all IRQ vectors are assigned by one > > online CPU, for example, in a quad-socket system, if only one processor > > is present, then some of vectors are still assigned by all offline CPUs, > > and it is a valid case, but still may cause io hang if drivers(hpsa, > > megaraid_sas) select reply queue in current way. > > So my understanding is that these irq patches are enhancements and not bug > fixes. I'll queue them for 4.17 then. Wrt. this IO hang issue, these patches shouldn't be bug fix, but they may fix performance regression[1] for some systems caused by 84676c1f21 ("genirq/affinity: assign vectors to all possible CPUs"). [1] https://marc.info/?l=linux-block&m=152050347831149&w=2 Thanks, Ming