Received: by 10.223.185.111 with SMTP id b44csp122009wrg; Fri, 9 Mar 2018 02:10:15 -0800 (PST) X-Google-Smtp-Source: AG47ELvnoaipFgw84xTtoi7HtnbQUxa7qT2CdbgR57vDnz5NExWNMjx/lJDu0WHrBN6k3ip4FoS7 X-Received: by 10.99.108.66 with SMTP id h63mr23314014pgc.177.1520590215455; Fri, 09 Mar 2018 02:10:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520590215; cv=none; d=google.com; s=arc-20160816; b=Ru1exOziloapd2gilNnKbN+v251u3bNiWEyEZPyW4cYuyuL3Zd25e1tmAi4Z0Fi33B YfI9HcvaLDfhd9NLSM52oA76ZPn+n/miZ5nl7AY3L548sWCJsVlbnxyv/zvOzLAHpZL2 XqZr9hGGGZqzKXbhkKjTGWqk/39s6PuHJehTgUpZiIN8DTmAWebNIHW/7yo4XiemCjnD JyBJZbI35/TvKOc7Q49tQc8BP5y4mEdn9kJNIbGc8+oMrw8j/D5knNq0TeRoH/zaKN5C kuZQgsAhvt2fI/ndBn4mWrRCaZAnulRfOrQUTqlFPWSDGn6/KcpfrrnFuNJcD6Ozu3I5 FXAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=pO61obd0lrcmkQEfpbvp14XhBQGTxUW4a1ksO5vPptg=; b=ohnusdTLAU2eLgvw4QLsi11a9KIViH5Y6iuqxLG+3FJ51AKUa5BhZNWobC6tW/8D+b 6vPiJ7Mxol9uBAhv6aWjg4TXlAG6j5LpPP/w7t1Mb+vQovOWIXANqg4oJwRdH7ERREAI eREaMQdNPAsQXm9i3xugoYTE1sSssOb9gFxS+rsqbnFy0Evim5wvSHgXF2RSmBNkoWwT dKz7+wX/Ve48tz/4O1neTYRF7ud1h/Cx2F7Q+MFOpzEoClDbnsYU3OD+R4sU/rrOmK87 STz0u3ErzLPIdsI7t7eGWrraNUNYJlfXUFoesHxwFsuWMmXymeduQYgSIyzM8Dud6JxB ljqQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k4-v6si608631pll.99.2018.03.09.02.10.00; Fri, 09 Mar 2018 02:10:15 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751025AbeCIKJH (ORCPT + 99 others); Fri, 9 Mar 2018 05:09:07 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:40870 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbeCIKJF (ORCPT ); Fri, 9 Mar 2018 05:09:05 -0500 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1euExR-000642-7a; Fri, 09 Mar 2018 11:09:01 +0100 Date: Fri, 9 Mar 2018 11:08:54 +0100 (CET) From: Thomas Gleixner To: Ming Lei 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 In-Reply-To: <20180309012458.GD5228@ming.t460p> Message-ID: References: <20180308105358.1506-1-ming.lei@redhat.com> <1520515113.20980.31.camel@gmail.com> <20180308133440.GA2713@ming.t460p> <20180309012458.GD5228@ming.t460p> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 9 Mar 2018, Ming Lei wrote: > 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 Hmm. The patches are rather large for urgent and evtl. backporting. Is there a simpler way to address that performance issue? Thanks, tglx