FAQ

75 views
Skip to first unread message

Sarah Edwards

unread,
Apr 24, 2014, 2:37:50 PM4/24/14
to geni-...@googlegroups.com
Leigh suggested starting a FAQ pinned to the top of geni-users@, and that we start adding things starting with the question below. 

If you think a question should be added, please reply to this thread with the question and answer. 

= Question Index =
1) "Why do I see poor bandwidth on my stitched links with iperf?" 

===================

Question: "Why do I see poor bandwidth on my stitched links with iperf?" 

Answer (provided by Nick Bastin): 

The window size is way too small if you want single-flow throughput to be high, particularly given the latency in WAN connections (the resultant bandwidth delay product will be much too high for iperf's default window sizes). 

You simply need to set the window size larger on both the server and client and your performance should be better for a single flow, regardless of raw-pc or xen VM. (The default raw PC window size is likely a lot larger, hiding this problem, but if you want deterministic performance from iperf you always need to set the window sizes you're going to use, otherwise it makes a guess at a default that is going to be highly intolerant of any latency in your connection). 

Barring any other shaping going on, the throughput you're getting with a 23.5K window means you have a connection with roughly 12ms of delay. To get 100 Mbits (or close to it) on this connection, you'd need a window size of 150K or larger (and make sure your buffer sizes on both end can support that large of a window). 

Brecht Vermeulen adds: 
typically also handy in debugging link performance is to throw in an UDP iperf to see what is possible on the links and when packet loss begins to start: 
server side: iperf -s -u 
client side:  iperf -c xxx -b 50M 

so you can vary bandwidth and packet size and see what happens 

For the whole thread that lead to this discussion see: 
        https://groups.google.com/d/msg/geni-users/Pqgs_BpSZPc/3LOLHwrkbPYJ 

Niky Riga

unread,
Apr 25, 2014, 9:41:06 AM4/25/14
to geni-...@googlegroups.com
Started a wiki page with the FAQs as well at:
http://groups.geni.net/geni/wiki/Experimenters/FAQ

Question: "Should I use a raw PC for my experiment?"

Many aggregates in GENI have only a couple  of raw PCs and thus are a scarce resource, since when a user reserves one, no one else can use them. Moreover, some AMs have policies in place that do not allow a user to renew slivers with raw PCs for a long time. 

When you are designing your experiment only include a raw PC if you absolutely need to. In most cases you can do everything you want with a Virtual Machine (VM). This way you will leave the raw PCs to experimenters that really need them. If you are not sure if a VM is appropriate for your experiment don't hesitate to send an email to geni-...@googlegroups.com.

April 24, 2014 at 2:37 PM
--
GENI Users is a community supported mailing list, so please help by responding to questions you know the answer to.
 
If this is your first time posting a question to this list, please review http://groups.geni.net/geni/wiki/GENIExperimenter/CommunityMailingList
---
You received this message because you are subscribed to the Google Groups "GENI Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geni-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

fkandah

unread,
Apr 25, 2014, 11:59:10 PM4/25/14
to geni-...@googlegroups.com
Hi All,

Thank you for creating this section on GENI, i believe it will be of a great help to most GENI users.
Could you please create an icon for that along with the GENI tutorials, GENI resources, ... under the experimenters section for easy access.

Thanks all.

Niky Riga

unread,
May 12, 2014, 2:09:25 PM5/12/14
to geni-...@googlegroups.com

Hi Farah,

We added this on the main Experimenter page:
http://groups.geni.net/geni/wiki/GENIExperimenterWelcome

This is at the ASK icon along with the HowTos

Cheers,
Niky
April 25, 2014 at 11:59 PM
Hi All,

Thank you for creating this section on GENI, i believe it will be of a great help to most GENI users.
Could you please create an icon for that along with the GENI tutorials, GENI resources, ... under the experimenters section for easy access.

Thanks all.



On Thursday, April 24, 2014 2:37:50 PM UTC-4, Sarah Edwards wrote:
--
GENI Users is a community supported mailing list, so please help by responding to questions you know the answer to.
 
If this is your first time posting a question to this list, please review http://groups.geni.net/geni/wiki/GENIExperimenter/CommunityMailingList
---
You received this message because you are subscribed to the Google Groups "GENI Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geni-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
April 24, 2014 at 2:37 PM
Leigh suggested starting a FAQ pinned to the top of geni-users@, and that we start adding things starting with the question below. 

If you think a question should be added, please reply to this thread with the question and answer. 

= Question Index =
1) "Why do I see poor bandwidth on my stitched links with iperf?" 

===================

Question: "Why do I see poor bandwidth on my stitched links with iperf?" 

Answer (provided by Nick Bastin): 

The window size is way too small if you want single-flow throughput to be high, particularly given the latency in WAN connections (the resultant bandwidth delay product will be much too high for iperf's default window sizes). 

You simply need to set the window size larger on both the server and client and your performance should be better for a single flow, regardless of raw-pc or xen VM. (The default raw PC window size is likely a lot larger, hiding this problem, but if you want deterministic performance from iperf you always need to set the window sizes you're going to use, otherwise it makes a guess at a default that is going to be highly intolerant of any latency in your connection). 

Barring any other shaping going on, the throughput you're getting with a 23.5K window means you have a connection with roughly 12ms of delay. To get 100 Mbits (or close to it) on this connection, you'd need a window size of 150K or larger (and make sure your buffer sizes on both end can support that large of a window). 

Brecht Vermeulen adds: 
typically also handy in debugging link performance is to throw in an UDP iperf to see what is possible on the links and when packet loss begins to start: 
server side: iperf -s -u 
client side:  iperf -c xxx -b 50M 

so you can vary bandwidth and packet size and see what happens 

For the whole thread that lead to this discussion see: 
        https://groups.google.com/d/msg/geni-users/Pqgs_BpSZPc/3LOLHwrkbPYJ 
Reply all
Reply to author
Forward
0 new messages