WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

[Xen-devel] question on large send offload

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] question on large send offload
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Sat, 8 Mar 2008 23:01:36 +1100
Delivery-date: 2008年3月08日 04:02:04 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AciBFCjtZsZpX40BRMebO6u7OLpyPg==
Thread-topic: question on large send offload
Does the data for a large send offload have to occupy more than one
page? In tuning the windows drivers, if I set the minimum mss multiple
before considering offload (a windows variable) to 2, then I seem to get
hangs. If I set it to 4 then everything appears to be okay. 
If the mss is 1460 (normal for Ethernet), then 2 * 1460 = 2920, which
will often fit into one page, in which case the ring looks like:
0: tx_request - flags |= NETTXF_extra_info
1: extra_info
If the 2920 bytes were on more than one page, then the ring would look
like:
0: tx_request - flags |= NETTXF_extra_info | NETTXF_more_data
1: extra_info
2: tx_request - no change to flags
The behaviour I'm seeing is that I'll get a bunch of packets working
just fine, then it will pause for a bit, and I'm wondering if I could be
getting a bunch of the latter above case, and then one of the former
which causes the hang. I haven't yet put debug statements in to find out
which of the above is the packet before the hang... I'll do that
tomorrow.
Any suggestions?
Thanks
James
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Migrate/Save of 32-bit domU Broken on Xen 3.2.0 64-bit dom0 , Nicolas
Next by Date: [Xen-devel] TUN and TAP Documentation , Pavel Muller
Previous by Thread: [Xen-devel] Migrate/Save of 32-bit domU Broken on Xen 3.2.0 64-bit dom0 , Nicolas
Next by Thread: Re: [Xen-devel] question on large send offload , Pasi Kärkkäinen
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /