OpenVZ Forum


Home » General » Support » Getting OpenVZ container to run at 1000MB (Network speed) instead of 100MB
Getting OpenVZ container to run at 1000MB (Network speed) instead of 100MB [message #36400] Tue, 16 June 2009 02:37 Go to next message
ieldib is currently offline  ieldib
Messages: 2
Registered: June 2009
Junior Member
Hello,

We are trying to get a container which is serving lots of data to run at 1GB network speeds instead of 100MB (seems that the container reaches its 100MB cap and just starts running like crap). The server load does not really get very high and we have been checking network graphs on the server and it does not seem to ever be running over over 100MB speeds. The container is the only container running on the hardware node we have setup.

Thanks x1000 in advance.

[Updated on: Tue, 16 June 2009 02:51]

Report message to a moderator

Re: Getting OpenVZ container to run at 1000MB (Network speed) instead of 100MB [message #36410 is a reply to message #36400] Wed, 17 June 2009 06:59 Go to previous messageGo to next message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
Hi.

First of all, please, check the network speed with some speed meter, for example 'iperf': http://sourceforge.net/projects/iperf

Please, check the speed both on Hardware Node and inside a Container.

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Re: Getting OpenVZ container to run at 1000MB (Network speed) instead of 100MB [message #36422 is a reply to message #36410] Wed, 17 June 2009 15:19 Go to previous messageGo to next message
ieldib is currently offline  ieldib
Messages: 2
Registered: June 2009
Junior Member
Hello,

We have already checked several times. We are not able to obtain network speeds in excess of a 100MB connection.
Re: Getting OpenVZ container to run at 1000MB (Network speed) instead of 100MB [message #36424 is a reply to message #36400] Wed, 17 June 2009 20:50 Go to previous messageGo to next message
DjSpin is currently offline  DjSpin
Messages: 1
Registered: June 2009
Junior Member
The HW node runs at 1000Mbit and hits 300+Mbit with no issues, the container peaks at 100Mbit.
Re: Getting OpenVZ container to run at 1000MB (Network speed) instead of 100MB [message #36429 is a reply to message #36422] Thu, 18 June 2009 09:06 Go to previous message
khorenko is currently offline  khorenko
Messages: 533
Registered: January 2006
Location: Moscow, Russia
Senior Member
i checked on my local nodes and got almost the same results of network speeds on a Hardware Node and inside a Container:

Server:
[server iperf-2.0.4]# src/iperf -s -w 256K
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:   256 KByte (WARNING: requested   256 KByte)
------------------------------------------------------------
[ ID] Interval       Transfer     Bandwidth
[  5] local <serverIP> port 5001 connected with <clientHN> port 48227
[  5]  0.0-10.0 sec  1.10 GBytes    941 Mbits/sec
[ ID] Interval       Transfer     Bandwidth
[  4] local <serverIP> port 5001 connected with <clientCT> port 57894
[  4]  0.0-10.0 sec  1.10 GBytes    941 Mbits/sec


Client:
[clientHN iperf-2.0.4]# src/iperf -c <serverIP> -w 256K
------------------------------------------------------------
Client connecting to <serverIP>, TCP port 5001
TCP window size:   256 KByte (WARNING: requested   256 KByte)
------------------------------------------------------------
[  3] local <clientHN> port 48225 connected with <serverIP> port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.10 GBytes    941 Mbits/sec

[clientHN iperf-2.0.4]# vzctl enter 101
entered into Container 101
-bash-3.2# su -
[root@localhost ~]# cd /tmp/iperf/iperf-2.0.4
[root@localhost iperf-2.0.4]# src/iperf -c <serverIP> -w 256K
------------------------------------------------------------
Client connecting to <serverIP>, TCP port 5001
TCP window size:   256 KByte (WARNING: requested   256 KByte)
------------------------------------------------------------
[  3] local <clientCT> port 57894 connected with <serverIP> port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.0 sec  1.10 GBytes    941 Mbits/sec


Could you share your results in the same way?
Please, use nodes which are connected to the same switch to make a clear experiment.

Next thing to check is routing. May be packets from the CT do not go directly to the destination server but first go to some default router or so, which has 100Mb network card or connected to 100Mb switch or similar.

Hope this helps.

--
Konstantin


If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
Previous Topic: private area on NFS export
Next Topic: Need help with CPU shortage
Goto Forum:
  


Current Time: Sat Sep 28 11:20:44 GMT 2024

Total time taken to generate the page: 0.04021 seconds