Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2424347yba; Mon, 6 May 2019 06:00:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzxq1fSuG0DIaXYxicpocsc2V4g2rKT0B1k7ArRSyAzm43OZ2znITJWc38LevDRwGJkKnI4 X-Received: by 2002:a65:6554:: with SMTP id a20mr32309757pgw.284.1557147649793; Mon, 06 May 2019 06:00:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557147649; cv=none; d=google.com; s=arc-20160816; b=M22hKwsDu0EqiNttrB1lneyXZFdoj5buxmoTOgkpJfwOLHnm7WBQm+zbouXG2x4y6B LZc23mb3E5N+HrjLECRoeBOFXolmMW77oIFBMG5L+P7i3u3+i7ia+CZkJM2moIRIeN4z HJ//RE9pzqZJxSrTzYrFfmJw6febgkHNy9NRBC0ZjU62yKXnUXe2VOsoTn9qvKaemHex u03rwCAnjMKAI+yuKBnLa82idIoFN+mGS7L/35niPRR06ce/i26qWXsb4hRi4JApXs4e /RL2WfyxY30Q9T3/NksnkDn/G2qj75XsSi3OnY+3+wEiH2XYCtvcVw8iBJDjSu7fwZhl VVAQ== 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; bh=v4hT2ITAU4pECya/tq6bbRhcZjOvRDUpiKWqkEyVzn0=; b=GUTUQ0kp6AnBoYK0EG0S3LxJ4W5Pzrf2iO5hMOn6XHOpIi7GdM9gcjKxLTyVTeii2S smuREah6+XiHPwj4pcOUc/hdXc2pJvYow6JNPvvpVokmT03YU6mIFmrWO/Z7y4r7Svw0 1vGyC0FjO4egXdnvXDEf6tyR+zxwU+eHjLOXun4+3cMe/Ll6GOr4G44RDbtY42rfoifS r+thCaGLT30Lqp3Y3EiMvqu104NnWtD3WlBllkjR4aE4N7eqh8MyhAdwyhOSbyZcrxTp UFdh0AfXkVcutUJ+zMzDRWqBPYcohAnGraiy0ZB2xGvFLql/Kzx74Uzp3JeKdILC+Lha WI2w== 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 24si6016539pgt.474.2019.05.06.06.00.28; Mon, 06 May 2019 06:00:49 -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; 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 S1726261AbfEFM72 (ORCPT + 99 others); Mon, 6 May 2019 08:59:28 -0400 Received: from verein.lst.de ([213.95.11.211]:52212 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725856AbfEFM71 (ORCPT ); Mon, 6 May 2019 08:59:27 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id 36EC567358; Mon, 6 May 2019 14:59:09 +0200 (CEST) Date: Mon, 6 May 2019 14:59:09 +0200 From: Christoph Hellwig To: Maxim Levitsky Cc: Christoph Hellwig , Max Gurtovoy , Fam Zheng , kvm@vger.kernel.org, Wolfram Sang , linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org, Keith Busch , Kirti Wankhede , Mauro Carvalho Chehab , "Paul E . McKenney" , Sagi Grimberg , Christoph Hellwig , Liang Cunming , Jens Axboe , Alex Williamson , John Ferlan , Liu Changpeng , Jens Axboe , Greg Kroah-Hartman , Nicolas Ferre , Paolo Bonzini , Amnon Ilan , "David S . Miller" Subject: Re: [PATCH v2 06/10] nvme/core: add mdev interfaces Message-ID: <20190506125909.GB5288@lst.de> References: <20190502114801.23116-1-mlevitsk@redhat.com> <20190502114801.23116-7-mlevitsk@redhat.com> <20190503122902.GA5081@infradead.org> <20190504064938.GA30814@lst.de> <1cc7efd1852f298b01f09955f2c4bf3b20cead13.camel@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1cc7efd1852f298b01f09955f2c4bf3b20cead13.camel@redhat.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 06, 2019 at 11:31:27AM +0300, Maxim Levitsky wrote: > Why are you saying that? I actualy prefer to use a sepearate queue per software > nvme controller, tat because of lower overhead (about half than going through > the block layer) and it better at QoS as the separate queue (or even few queues > if needed) will give the guest a mostly guaranteed slice of the bandwidth of the > device. The downside is that your create tons of crap code in the core nvme driver for your specific use case that no one cares about. Which is why it is completely unacceptable. If you want things to go fast make the block layer go fast, don't add your very special bypass.