lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 21 May 2007 18:14:01 +1000
From:	Herbert Xu <>
To:	Jeff Garzik <>,
	Stephen Hemminger <>,
	Kieran Mansley <>
Subject: Re: [PATCH 0/4] [Net] Support Xen accelerated network plugin modules

On Fri, May 18, 2007 at 02:15:48PM +0100, Kieran Mansley wrote:
> I've also CC'd as some of the files being patched
> may be merged into upstream linux soon, and so folks there may have
> opinions too.

Jeff and Stephen, could you both take a look at these proposed patches
against the Xen netfront driver and see whether the hooks that they add
look OK from a Linux network driver point of view?

> This set of patches provides the hooks and support necessary for
> accelerated network plugin modules to attach to Xen's netback and
> netfront.  These modules provide a fast path for network traffic where
> there is hardware support available for the netfront driver to send and
> receive packets directly to a NIC (such as those available from
> Solarflare).

The RX side looks reasonble.  For TX, what sort of conditions are you
likely to use to decide whether a packet gets fast path or not?

Also for TX, you'll need a better way of managing queue stopping/starting
since presumably you only want to wake the queue when both fast path and
slow path have free slots.

> We have found that using this approach to accelerating network traffic,
> domU to domU connections (across the network) can achieve close to the
> performance of dom0 to dom0 connections on a 10Gbps ethernet.  This is
> roughly double the bandwidth seen with unmodified Xen. 

That sounds good.  I wonder how much of this difference goes away if we
had LRO though.

Here's an interesting experiment, what if you only used these hooks on
the receive side for your 10Gbps transfer? Of course, you need to make
sure that TSO is working properly on the sending side.

Visit Openswan at
Email: Herbert Xu ~{PmV>HI~} <>
Home Page:
PGP Key:
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to
More majordomo info at

Powered by blists - more mailing lists