Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp103972imm; Tue, 5 Jun 2018 15:58:08 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKmgJV8Z8qW/3HZV+SEwzYMUuTbhs5qE/Vko5c72OFMXNwtYAPR239uxKo3FXeXwKDzDEu7 X-Received: by 2002:aa7:860e:: with SMTP id p14-v6mr497861pfn.155.1528239488305; Tue, 05 Jun 2018 15:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528239488; cv=none; d=google.com; s=arc-20160816; b=YtLWE1tq76Q7/dJuWbaysVZQrDIQKeNBakFUuoqEKH6AwynVfH6YinoC0VDfTN+9iN bT5CfHVOtqPlCGAPdC8lFSnkHu8R5JYN7H2ecWZBn1EitaRVhfmtdeW+5J350cNaohGi h8/zDu+Nr0RdzpuzpaKtb34sNpz1yb/HQX9Xzk76S7N40Hs9O7wzpz7yM0xbMLfYdU0U 79x1PtFKkdD52VADt+Hnr4FQZWkEVzV25IsS14PBDGjbEHTgsICDMZb2aKcoGp9Qq3ft fCUcQGEEuyW2VFZLIKBPFLJzRMdsaFnwSLYs5FR9UhvgvT87Gvm+8plegjiexkiw9am1 vIbw== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=s3DbQo2zL+ljJCEGZpzAIXqLoxQZFsStf5/7KiEHyrk=; b=kxF/O97hVUV8aOS757FBlXJNRlwDZ9tUdUWZNvI0fHXhE5f2d5qLLFvNI7SYKdx2sp yu7LqJ6cfokFPOF9czo/fR6XCMHoEyU/Z+T0ke9elFzbQhOK7Kccy5HyiK/9US+LOBoN NhIQwBpsyB8iz1+IOxb5hAod7oIvkXj81pTC2qfBgIJICDyyuR3jtImi2G/bL8ZbhgZK L7nMGdTIuC6ScDgWN5ETGaIvMq9RMnBp3TCOLeQK3h1F0iNGMFaHorO2gfGhwcJwbRfj 36k7HLuC13dZnZUW95vXY+v46GumTXJIgs0kSid0QiDD11TxtJuquWJouVhkPwbRLuy+ 06rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@purestorage.com header.s=google header.b=cy+nZ6SW; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=purestorage.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g1-v6si48808255pld.11.2018.06.05.15.57.52; Tue, 05 Jun 2018 15:58:08 -0700 (PDT) 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; dkim=pass header.i=@purestorage.com header.s=google header.b=cy+nZ6SW; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=purestorage.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752646AbeFEW53 (ORCPT + 99 others); Tue, 5 Jun 2018 18:57:29 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:33460 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752365AbeFEW52 (ORCPT ); Tue, 5 Jun 2018 18:57:28 -0400 Received: by mail-lf0-f67.google.com with SMTP id y20-v6so6155367lfy.0 for ; Tue, 05 Jun 2018 15:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=purestorage.com; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=s3DbQo2zL+ljJCEGZpzAIXqLoxQZFsStf5/7KiEHyrk=; b=cy+nZ6SWDX5WaKqa2PTH25aqtvXUyCCCEub8aprE9yaiRUstOIh7vAm8+AEvtuGc38 07udwhCrDUx+Fmkz2e4wBlQV5MprN7g6ifsU9Z1el+xo3odbm/9AwV6U/N/pg083kvyR /eYu/KCtgYhkM+K5TUlChUbjRlSlrCQmB+bHs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=s3DbQo2zL+ljJCEGZpzAIXqLoxQZFsStf5/7KiEHyrk=; b=fUa8pCoJGGWO+mv09iIiz58gzJcEYWRmDahqbqD4RtoJzQOMPoFaIrjLFwkat0XKgX leHW/WQLy9+sgD0jkpX4roJToP1648vZrLmr7QhTCGMDcJupJu7oHKWn0waF/ohSMrs7 HFw1pt0U14iumvw3zly8a7Q6Rsl8F1gRFPmr7O7YjrwgIq7Kc6Bjrt2FahR9bBRRO3Uz 4+21SAkYtj34l43cxqRSYxXUWbo7s4OQH9dkr1poUHRk81quDN++YVdKNBWlJZSIQxTG WPv5bvUKcju8kBM/I/vTtaLKovDAtDSYehc6nQIt+a6WqSeVgZ4+5llJmcnqUxn+PMuA KAlg== X-Gm-Message-State: APt69E1RSCgd9fMefnipWhwAe4II6ttTLXyDQq6PeXKzUryhPurReV/j j35wgaRvgzkoaCum8w0jsO8XUOTBaX/fZLKDEe4D9w== X-Received: by 2002:a19:5011:: with SMTP id e17-v6mr279975lfb.71.1528239446685; Tue, 05 Jun 2018 15:57:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:c205:0:0:0:0:0 with HTTP; Tue, 5 Jun 2018 15:57:05 -0700 (PDT) In-Reply-To: <20180605044222.GA29384@lst.de> References: <20180525125322.15398-1-jthumshirn@suse.de> <20180525130535.GA24239@lst.de> <20180525135813.GB9591@redhat.com> <20180605044222.GA29384@lst.de> From: Roland Dreier Date: Tue, 5 Jun 2018 15:57:05 -0700 Message-ID: Subject: Re: [PATCH 0/3] Provide more fine grained control over multipathing To: Christoph Hellwig Cc: Sagi Grimberg , Mike Snitzer , Johannes Thumshirn , Keith Busch , Hannes Reinecke , Laurence Oberman , Ewan Milne , James Smart , Linux Kernel Mailinglist , Linux NVMe Mailinglist , "Martin K . Petersen" , Martin George , John Meneghini Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The sensible thing to do in nvme is to use different paths for > different queues. That is e.g. in the RDMA case use the HCA closer > to a given CPU by default. We might allow to override this for > cases where the is a good reason, but what I really don't want is > configurability for configurabilities sake. That makes sense but I'm not sure it covers everything. Probably the most common way to do NVMe/RDMA will be with a single HCA that has multiple ports, so there's no sensible CPU locality. On the other hand we want to keep both ports to the fabric busy. Setting different paths for different queues makes sense, but there may be single-threaded applications that want a different policy. I'm not saying anything very profound, but we have to find the right balance between too many and too few knobs. - R.