OpenVZ Forum


Home » General » Support » Inbound bandwidth speed problem (inbound bandwidth problem on VE CentOS6 x64)
Inbound bandwidth speed problem [message #44238] Fri, 25 November 2011 21:43 Go to next message
fredericep is currently offline  fredericep
Messages: 6
Registered: November 2011
Location: Belgium
Junior Member
Hello,

A few days ago I installed a fresh CentOS6 64 bits with openvz kernel 2.6.32-042stab039.11.

There is only 1 VE at the moment, created from the CentOS6 x64 template.

When I copy a file (scp) to my VE from another server in the same network , transfer speed is ok at first , but after 1 or 2 seconds the transfer speed is dropping from 40MB/s to less than 200 KB/s.
From the same server I can transfer the same file to the HN at a correct speed.
I tried from another server, the behaviour is the same : bad performance to the VE and correct speed to the HN.
There is no rate limit or traffic shaping in place on the HN or the VE.

Any idea ?

Thank you.

Frederic
Re: Inbound bandwidth speed problem [message #44335 is a reply to message #44238] Wed, 30 November 2011 19:58 Go to previous messageGo to next message
fredericep is currently offline  fredericep
Messages: 6
Registered: November 2011
Location: Belgium
Junior Member
short update regarding this problem :
I tried with a testing kernel 2.6.32-042stab044.1 but the result is the same.

All ideas are welcome ...
Re: Inbound bandwidth speed problem [message #44343 is a reply to message #44335] Thu, 01 December 2011 19:18 Go to previous messageGo to next message
TheStig is currently offline  TheStig
Messages: 94
Registered: December 2008
Member
have you checked your beancounters yet?
Re: Inbound bandwidth speed problem [message #44346 is a reply to message #44238] Thu, 01 December 2011 19:58 Go to previous messageGo to next message
fredericep is currently offline  fredericep
Messages: 6
Registered: November 2011
Location: Belgium
Junior Member
yes I checked the beancounters, they are clean, no failcnt recorded.

I moved a VE that was working fine on another HN, once it's on my CentOS x64 HN the problem is the same.
Re: Inbound bandwidth speed problem [message #44349 is a reply to message #44238] Thu, 01 December 2011 20:35 Go to previous messageGo to next message
TheStig is currently offline  TheStig
Messages: 94
Registered: December 2008
Member
are you familiar with tcpdump? maybe it can give you some hints. also try a different protocol like http or iperf for benchmarking to narrow down the problem.
also, what would be the "correct" speed you are expecting to see and what rates are you archiving to the HN? 40MB/s is too fast for a 100Mbit network and too slow for 1Gbit ethernet.
Re: Inbound bandwidth speed problem [message #44371 is a reply to message #44238] Fri, 02 December 2011 20:56 Go to previous messageGo to next message
fredericep is currently offline  fredericep
Messages: 6
Registered: November 2011
Location: Belgium
Junior Member
I'll try to see if I can take a tcpdump trace and analyze it.

Regarding the speed, this is a local network with Gigabit switches.

I tested by downloading a zip file over http using wget
On the HN :
133,254,561 56.1M/s in 2.3s
This is not a terrific speed for a Gbit lan, but I'm fine with it.

The same file in the VE :
53,123,832 18.2K/s eta 12m 22s
I gave up before the end


Are you also using a CentOS6 x64 ?

-
Frederic
Re: Inbound bandwidth speed problem [message #45252 is a reply to message #44238] Mon, 20 February 2012 19:14 Go to previous messageGo to next message
mojah is currently offline  mojah
Messages: 4
Registered: February 2012
Location: Belgium
Junior Member

Hi,

I'm having the exact same issue on CentOS 6 x64. Same as the original poster, downloads start at full line speed and drop to 10-20Kbps after a few seconds. Kind of like a burst was "allowed" but then fell back to regular traffic shaping.

This is a normal install with no traffic shaping applied. Running the kernel "2.6.32-042stab049.6.x86_64" (latest stable) gave me this problem, as well as the latest in testing branch "2.6.32-042stab052.2".

I'm actually thinking this may be a bug in the kernel, but I have no way to prove it. Hardware node has full in- and egress traffic, the container is very limited for the incoming traffic.
Re: Inbound bandwidth speed problem [message #45256 is a reply to message #44238] Tue, 21 February 2012 07:48 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Are you running OpenVZ inside VM (virtual machine) or bare host?


http://static.openvz.org/userbars/openvz-developer.png
Re: Inbound bandwidth speed problem [message #45257 is a reply to message #45256] Tue, 21 February 2012 07:55 Go to previous messageGo to next message
mojah is currently offline  mojah
Messages: 4
Registered: February 2012
Location: Belgium
Junior Member

Hi,

Yes, inside a VMware virtual machine. I'm discussing this with Kirill as well on the mailing list, we've tried by switching VMXNET3 to E1000 to exclude driver issues.

I'll keep this forum post up-to-date as I get feedback.
Re: Inbound bandwidth speed problem [message #45258 is a reply to message #44238] Tue, 21 February 2012 07:57 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Sorry, actually wanted to ask initially you, fredericep:
Are you running OpenVZ inside VM (virtual machine) or bare host?


http://static.openvz.org/userbars/openvz-developer.png
Re: Inbound bandwidth speed problem [message #45271 is a reply to message #45258] Tue, 21 February 2012 18:32 Go to previous messageGo to next message
fredericep is currently offline  fredericep
Messages: 6
Registered: November 2011
Location: Belgium
Junior Member
dev wrote on Tue, 21 February 2012 08:57
Sorry, actually wanted to ask initially you, fredericep:
Are you running OpenVZ inside VM (virtual machine) or bare host?
it was running inside a VMware ESXi VM.
Re: Inbound bandwidth speed problem [message #45272 is a reply to message #45271] Tue, 21 February 2012 21:45 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Ok, so it looks like it has really to do something with ESX (mojah uses ESX as well)... If you still use it, you can try changing from ESX network paravirt driver to e1000 emulation.

http://static.openvz.org/userbars/openvz-developer.png

[Updated on: Tue, 21 February 2012 21:45]

Report message to a moderator

Previous Topic: *SOLVED* OpenVPN in VPS : Masquerade
Next Topic: Ubuntu 11.10 is broken guys.
Goto Forum:
  


Current Time: Mon Oct 02 18:58:30 GMT 2023

Total time taken to generate the page: 0.02328 seconds