Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Private networking help
PostPosted: Mon Feb 14, 2011 12:19 am 
Offline
Newbie

Joined: Sat Dec 18, 2010 9:55 pm
Posts: 2
Hi all,

I'm trying to do some web server benchmarking to get an idea of various configurations and their relative performance for an app. I have two linode's set up (set up the second one basically to get fast networking to really be able to test the server), but found that the throughput was topping out at around 45 kbytes/sec. So I enabled private networking on both linode's and followed the config guide to do the static IP allocation.

For both linodes I've configured /etc/network/interfaces to have eth0 be the public IP, and eth0:0 the private IP. I added the options rotate to /etc/resolv.conf as well, then restarted networking (and of course, restarted both servers after enabling private networking).

However when I test this with my private IP's I get:

Code:
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.166.xxx port 5001 connected with 192.168.166.xxx port 32895
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.2 sec  54.9 MBytes  45.3 Mbits/sec


I can't imagine this is actually using the private network as 45 Mbit/sec in a datacenter would be ridiculous. Is there something else I need to do, or something to check?[/code]


Top
   
 Post subject:
PostPosted: Mon Feb 14, 2011 1:39 am 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
By default the virtual ethernet interface of a Linode is bandwidth limited to 50Mbps outbound (inbound doesn't appear to have a limit). This is on the virtual interface in general, so affects both public and private address space.

Not sure why you'd only be getting 45Kbytes/s on the public interface. You may not hit 50Mbps easily with just one sink depending on latency, but that seems really low.

You can open a support ticket to have the limit increased (to 100Mbps), but in my experience are asked to explain your need and to demonstrate that you can utilize the higher rate.

-- David


Top
   
 Post subject:
PostPosted: Mon Feb 14, 2011 2:00 am 
Offline
Newbie

Joined: Sat Dec 18, 2010 9:55 pm
Posts: 2
db3l wrote:
By default the virtual ethernet interface of a Linode is bandwidth limited to 50Mbps outbound (inbound doesn't appear to have a limit). This is on the virtual interface in general, so affects both public and private address space.

Not sure why you'd only be getting 45Kbytes/s on the public interface. You may not hit 50Mbps easily with just one sink depending on latency, but that seems really low.

You can open a support ticket to have the limit increased (to 100Mbps), but in my experience are asked to explain your need and to demonstrate that you can utilize the higher rate.

-- David


Are you sure about that? 50Mb is largely what you can get through the public interface no? I can't imagine linode would offer private networking with no greater speed than the outgoing data center pipe, it would make doing any sort of clustering or load balancing much less useful...

I also found this post from just a few days ago and he managed to get over 1 Gb per second on the private network...

http://alittletothewright.com/index.php/2011/02/linode-private-network-speed-tests/


Top
   
 Post subject:
PostPosted: Mon Feb 14, 2011 9:33 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
From the page you cited:
Quote:
One thing to note: The private interface is an alias on the primary interface. This means that the default cap on outbound bandwidth (which exists to prevent you from accidentally blowing through all your transfer in a couple hours) applies to the private interface as well. The default cap is 50Mbit/sec, but all it takes is a ticket to get that bumped up if needed.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Mon Feb 14, 2011 10:21 am 
Offline
Senior Member

Joined: Sat Feb 14, 2009 1:32 am
Posts: 123
chadcf wrote:
I can't imagine linode would offer private networking with no greater speed than the outgoing data center pipe, it would make doing any sort of clustering or load balancing much less useful...


One of the main reasons to use private networking is not for speed between servers, it is to reduce the amount of bandwidth used when talking between servers in the same datacenter.


Top
   
 Post subject:
PostPosted: Tue Feb 15, 2011 12:13 pm 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
If you need it to be faster, you can get the limit raised.

When I was migrating to a new Linode, I filed a ticket, and they bumped the limit to 150Mbps. I updated the ticket when I was done to get it dropped back down to 50Mbps.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group