Received: by 10.223.185.116 with SMTP id b49csp6303441wrg; Thu, 8 Mar 2018 05:21:16 -0800 (PST) X-Google-Smtp-Source: AG47ELvJSDWD7iMbdPrhQ98eJm36GuA2+bZ/c2uFS9RH1XOIffgTAkyAL530Ng/Z+EVuTNpqtAh9 X-Received: by 10.101.96.142 with SMTP id t14mr20892531pgu.58.1520515276432; Thu, 08 Mar 2018 05:21:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520515276; cv=none; d=google.com; s=arc-20160816; b=DqPpTe4bDaveKxanaqcR1R8Frb4IkbWLnpttHecrG4LuKeSbg4TQKzmWm3dP3g9YNe TIR1jXzHqq/MFQ5ZsBZvMZvRUVxFzYPZAIYWygTiqpXnYHBGDiCTvdZMmdPVJ2ANsPl8 aCsTFrVLKQB0fLbSdcE0UhjcX5a2opzzkYBjyfAusGRXB2b9rltnkLTfvZj1lki94TDK VrjvA/Y0hTocinlwQgejTueoAvfuSvEZILKykkeBnnIYLeWwKnjeBBwQojv0EAAE0Jb2 ngzcTsWm43FCfvzoTQlx4Ey6hm8QOD2jbkvlH2atlz9EvVRGrGRi7B7ZYzPDzGoYaqBr XAww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:reply-to:from:subject:message-id :arc-authentication-results; bh=kfXAVvszMtxRkrwIS0IPU5+i8yXsReZ7DnE9H9wCiT0=; b=G3SiDGJaf3Qkl2C0DH5p8yRDAMfmcsZtD9MFbVqGclnz6r0Lm1p5pAt2uQ/v0sO0TP Ft0LBrm3jvVYgna26jMpBIyAzWxdId25DXpz8Ny+iXvjelEuReb/ZN4a13+q/QkruOQM wfAzq2rhyUUmzJ5Q13b/vK+ZOE04Y1EdQ1YOPcFKhfF+9Xb7oT3+hCR7D06EM7nRaCm1 0BqM1YMDXkHWYrYccw0MglqXvfp//XlG9qJFTx2b+fokpVzPgG94FgqKuIoDetUgN/wO EGMdhRYHvCtCF2Xi9FLScWF4EeFJDWjIn4C+EI8uui3dgLzDFTmXrFO8bwZoy0Ag76zi rxtw== 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q16si13102720pgc.610.2018.03.08.05.21.01; Thu, 08 Mar 2018 05:21:16 -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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933982AbeCHNSi (ORCPT + 99 others); Thu, 8 Mar 2018 08:18:38 -0500 Received: from mga04.intel.com ([192.55.52.120]:5725 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752041AbeCHNSg (ORCPT ); Thu, 8 Mar 2018 08:18:36 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2018 05:18:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,441,1515484800"; d="scan'208";a="23527420" Received: from linux.intel.com ([10.54.29.200]) by orsmga008.jf.intel.com with ESMTP; 08 Mar 2018 05:18:36 -0800 Received: from abityuts-desk.fi.intel.com (abityuts-desk.fi.intel.com [10.237.68.39]) by linux.intel.com (Postfix) with ESMTP id 486065803D7; Thu, 8 Mar 2018 05:18:34 -0800 (PST) Message-ID: <1520515113.20980.31.camel@gmail.com> Subject: Re: [PATCH V3 0/4] genirq/affinity: irq vector spread among online CPUs as far as possible From: Artem Bityutskiy Reply-To: dedekind1@gmail.com To: Ming Lei , Jens Axboe , Christoph Hellwig , Thomas Gleixner , linux-kernel@vger.kernel.org Cc: linux-block@vger.kernel.org, Laurence Oberman Date: Thu, 08 Mar 2018 15:18:33 +0200 In-Reply-To: <20180308105358.1506-1-ming.lei@redhat.com> References: <20180308105358.1506-1-ming.lei@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.5 (3.26.5-1.fc27) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2018-03-08 at 18:53 +0800, Ming Lei wrote: > Hi, > > This patchset tries to spread among online CPUs as far as possible, so > that we can avoid to allocate too less irq vectors with online CPUs > mapped. > > For example, in a 8cores system, 4 cpu cores(4~7) are offline/non present, > on a device with 4 queues: > > 1) before this patchset > irq 39, cpu list 0-2 > irq 40, cpu list 3-4,6 > irq 41, cpu list 5 > irq 42, cpu list 7 > > 2) after this patchset > irq 39, cpu list 0,4 > irq 40, cpu list 1,6 > irq 41, cpu list 2,5 > irq 42, cpu list 3,7 > > Without this patchset, only two vectors(39, 40) can be active, but there > can be 4 active irq vectors after applying this patchset. Tested-by: Artem Bityutskiy Link: https://lkml.kernel.org/r/1519311270.2535.53.camel@intel.com Ming, this patchset fixes the v4.16-rcX regression that I reported few weeks ago. I applied it and verified that Dell R640 server that I mentioned in the bug report boots up and the disk works. So this is not just an improvement, it also includes a bugfix. Thanks!