All of lore.kernel.org
 help / color / mirror / Atom feed
From: Josef Bacik <jbacik@fb.com>
To: Pavel Machek <pavel@ucw.cz>
Cc: <axboe@fb.com>, <linux-block@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>, <kernel-team@fb.com>,
	<nbd-general@lists.sourceforge.net>, <w@uter.be>,
	<hch@infradead.org>
Subject: Re: [PATCH][V2] nbd: add multi-connection support
Date: Fri, 7 Oct 2016 16:43:10 -0400	[thread overview]
Message-ID: <1af1b85a-6d14-b9b3-69b6-96444fccd187@fb.com> (raw)
In-Reply-To: <20161007183656.GE19976@amd>

On 10/07/2016 02:36 PM, Pavel Machek wrote:
> On Thu 2016-09-15 10:43:54, Josef Bacik wrote:
>> NBD can become contended on its single connection.  We have to serialize all
>> writes and we can only process one read response at a time.  Fix this by
>> allowing userspace to provide multiple connections to a single nbd device.  This
>> coupled with block-mq drastically increases performance in multi-process cases.
>> Thanks,
>>
>> Signed-off-by: Josef Bacik <jbacik@fb.com>
>
> Idea is that it can now use multiple CPUs concurrently...?
>
> Do you have a diff for the nbd-server, too?
> 									Pavel
>

nbd-server doesn't need anything special, it just works.  I have a patch for 
nbd-client so you can open multiple connections to setup the NBD device.  You 
can find my patches for the userspace stuff here

https://github.com/josefbacik/nbd

Thanks,

Josef

      reply	other threads:[~2016-10-07 20:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-15 14:43 [PATCH][V2] nbd: add multi-connection support Josef Bacik
2016-10-07 18:36 ` Pavel Machek
2016-10-07 20:43   ` Josef Bacik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1af1b85a-6d14-b9b3-69b6-96444fccd187@fb.com \
    --to=jbacik@fb.com \
    --cc=axboe@fb.com \
    --cc=hch@infradead.org \
    --cc=kernel-team@fb.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nbd-general@lists.sourceforge.net \
    --cc=pavel@ucw.cz \
    --cc=w@uter.be \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.