qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: "Anders Pitman" <anders@apitman.com>
Cc: qemu-devel@nongnu.org, stefanha@gmail.com
Subject: Re: Fast usermode networking with QEMU
Date: Mon, 19 Sep 2022 23:24:41 +0200	[thread overview]
Message-ID: <20220919232441.661eda8d@elisabeth> (raw)
In-Reply-To: <d859a414-ca5a-48a8-ab96-2cb869f8978f@www.fastmail.com>

Hi Anders,

On Mon, 23 May 2022 14:51:17 -0600
"Anders Pitman" <anders@apitman.com> wrote:

> I came across this blog post[0] concerning passt, which is an
> alternative usermode networking implementation for QEMU.

...and I just came across your email, entirely by chance. I'm not
actively monitoring this list most of the time.

> I'm working on a project that uses QEMU on Windows hosts running
> Linux guests. I'm trying to get faster usermode networking than is
> available with libslirp. My performance target is 200Mbps even on
> older or less powerful hardware, such as Celeron mini PCs. Currently
> I'm seeing 15-30MBps with libslirp.
> 
> It appears that passt doesn't currently support Windows, correct? Is
> there a guess as to how difficult that might be to implement? If the
> speedup is significant, I would be interested in taking a crack at
> adding Windows support.

I gave some quick comments about the challenges I see in the
perspective of a FreeBSD port at:
  https://bugs.passt.top/show_bug.cgi?id=6#c2

and I suppose a Windows port, by the way tracked at:
  https://bugs.passt.top/show_bug.cgi?id=8

could face similar challenges.

But from a quick browsing of the Winsock reference documentation months
ago, it actually looked easier because there seemed to be a description
of an equivalent for every bit of TCP socket information we're fetching
on Linux via TCP_INFO socket option.

I can try to remember/double check and give more details if it helps,
but if you're familiar with Windows development I suppose I wouldn't add
much value. :)

-- 
Stefano



      reply	other threads:[~2022-09-19 21:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-23 20:51 Fast usermode networking with QEMU Anders Pitman
2022-09-19 21:24 ` Stefano Brivio [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=20220919232441.661eda8d@elisabeth \
    --to=sbrivio@redhat.com \
    --cc=anders@apitman.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).