Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rick Jones
Date: Friday, April 24, 2009 - 10:13 am

> This is strange.  I wonder if it might be a cache footprint issue?

A point about netperf :)  By default, it will use one more buffer than the 
initial size of the socket buffer divided by the send/recv buffer size - this 
goes back to days of copy-avoidance, a flavor of which can be found in reading:

ftp://ftp.cup.hp.com/dist/networking/briefs/copyavoid.pdf

particularly section 3.2.  It can be overridden with the global -W option:

     -W send,recv      Set the number of send,recv buffers

Of course, this will interact with other things such as:

The default send/recv size will be the send/recv socket buffer size. That can be 
overridden with the test-specific -m/-M options.

The default socket buffer size will be whatever the system gives it.  That can be 
overridden with the test-specific -s/-S options.

So, the various options can have a non-trivial effect on the cache footprint of 
the data netperf is shoving around.

rick jones
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] myr10ge: again fix lro_gen_skb() alignment, Stanislaw Gruszka, (Wed Apr 15, 1:09 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, David Miller, (Wed Apr 15, 2:28 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Brice Goglin, (Wed Apr 15, 2:48 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, David Miller, (Wed Apr 15, 3:02 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Wed Apr 15, 6:01 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Wed Apr 15, 2:04 pm)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, David Miller, (Wed Apr 15, 4:42 pm)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, David Miller, (Thu Apr 16, 2:02 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Tue Apr 21, 12:19 pm)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Wed Apr 22, 8:37 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Herbert Xu, (Thu Apr 23, 10:45 pm)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Fri Apr 24, 5:45 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Fri Apr 24, 9:16 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Rick Jones, (Fri Apr 24, 10:13 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, David Miller, (Mon Apr 27, 2:32 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, David Miller, (Mon Apr 27, 5:45 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, David Miller, (Mon Apr 27, 5:45 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Herbert Xu, (Mon Apr 27, 11:12 pm)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Tue Apr 28, 8:00 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, David Miller, (Tue Apr 28, 8:02 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Tue Apr 28, 8:44 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Tue Apr 28, 2:12 pm)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Wed Apr 29, 6:42 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Eric Dumazet, (Wed Apr 29, 6:53 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Wed Apr 29, 7:18 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Eric Dumazet, (Wed Apr 29, 8:26 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Wed Apr 29, 10:28 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Eric Dumazet, (Thu Apr 30, 1:17 am)
Re: [PATCH] myr10ge: again fix lro_gen_skb() alignment, Andrew Gallatin, (Thu Apr 30, 12:14 pm)