Received: by 10.223.185.111 with SMTP id b44csp231121wrg; Fri, 9 Mar 2018 04:10:06 -0800 (PST) X-Google-Smtp-Source: AG47ELv6FiwA5bK1KVQf9YyJHTK0FNV35M5YOfHzLffrSzUdZiDEcttsJgiH2kBl1dUgV7QXQ2tb X-Received: by 10.98.21.200 with SMTP id 191mr29617597pfv.166.1520597406476; Fri, 09 Mar 2018 04:10:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520597406; cv=none; d=google.com; s=arc-20160816; b=PH/kvD4ecCln0Fl9CXDNvIEa4zc1krTKpv02+GfBoOPw8ODMIHQEgT9zZ7NoWn86PS XHy1hqhmD9f0SC29eGduqZ7PTbOYNG1R9sAb1wlMDy1q+BU2V4vSjmL2PemOCm93+O8S 1wNPiWAIZ6pCOAlQ4UTq87WLo9hboTnYHGYiJEmEK9pO0Iz00UEUNFo1vO3/QmFY/Ceo lQhr/8vf3Zjh0oSkd6y3XKJIhWP3YX/BwlL6XkN991qiugd8mwXU7aKYOYdtYVSvlu5T laPTD1NMVJG6l1LL0c4Sacmvzzwd6d0AOis+134/nZfw2GWbQvfy2RX7NeEKQGYoHdgj b9Og== 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=lzQ1DlqPmlQayhL46lX7qZ34I7iVGDeWLPFJ2kuASRo=; b=cXhAts1NOA554/a4gn1JInGY2vxwyZUIF2pF9ieGAY2AE2CEoAPLR4hNoRfk630WMm cMpqG4rj4GrAwop+QWfqmoGGYmfSEKhLbY+3lGQ/ucbFXFdrj6+FtG5UtbM3CqdHMSMU 2nkAsdrYWRoOO4zMpawl2c6Z06ESD6rQGTSn00MWOl6+Tzup78bNMuMeZeGHrFKnH5av GFOclyGFmd75HIMeO+0V7bDrjjontusXIfPIvB6FYLcShH/ZZYwdTrlml9fCephR5ZfA ViKdioL04H1BiuD1TXaKzyjbsEiDcrTvMkufCoitk8OfnVtNZ+pn3B034Y6CFb2kAK3s XSYw== 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 u8-v6si783418plh.219.2018.03.09.04.09.52; Fri, 09 Mar 2018 04:10:06 -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 S932067AbeCIMIx (ORCPT + 99 others); Fri, 9 Mar 2018 07:08:53 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:49192 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751183AbeCIMIu (ORCPT ); Fri, 9 Mar 2018 07:08:50 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id A34A1813F699; Fri, 9 Mar 2018 12:08:49 +0000 (UTC) Received: from ming.t460p (ovpn-12-22.pek2.redhat.com [10.72.12.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3C2B46353C; Fri, 9 Mar 2018 12:08:38 +0000 (UTC) Date: Fri, 9 Mar 2018 20:08:34 +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: <20180309120833.GB30257@ming.t460p> References: <20180308105358.1506-1-ming.lei@redhat.com> <1520515113.20980.31.camel@gmail.com> <20180308133440.GA2713@ming.t460p> <20180309012458.GD5228@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.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Fri, 09 Mar 2018 12:08:49 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.8]); Fri, 09 Mar 2018 12:08:49 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.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 On Fri, Mar 09, 2018 at 11:08:54AM +0100, Thomas Gleixner wrote: > 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? Not thought of a simpler solution. The problem is that number of active msix vector is decreased a lot by commit 84676c1f21. However, if someone wants to backport, this patchset can be applied cleanly, no any conflict. Thanks, Ming