[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140929.145815.1751251065603753225.davem@davemloft.net>
Date: Mon, 29 Sep 2014 14:58:15 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: david.stevens@...cle.com
Cc: netdev@...r.kernel.org, sowmini.varadhan@...cle.com,
Raghuram.Kothakota@...cle.com
Subject: Re: [PATCH net-next 2/4] sunvnet: make transmit path zero-copy in
the kernel
From: David L Stevens <david.stevens@...cle.com>
Date: Mon, 29 Sep 2014 13:16:55 -0400
> This patch removes pre-allocated transmit buffers and instead directly maps
> pending packets on demand. This saves O(n^2) maximum-sized transmit buffers,
> for n hosts on a vswitch, as well as a copy to those buffers.
>
> Single-stream TCP throughput linux-solaris dropped ~5% for 1500-byte MTU,
> but linux-linux at 1500-bytes increased ~20%.
>
> Signed-off-by: David L Stevens <david.stevens@...cle.com>
Awesome!!!
However:
> dr->ncookies = ncookies;
> + for (i = 0; i < VNET_TX_RING_SIZE; ++i) {
> + struct vio_net_desc *d;
>
I see a lot of this, I think your patch is corrupted.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists