OpenVZ Forum


Home » General » Support » Network Speeds slow only with openvz kernel
Network Speeds slow only with openvz kernel [message #32635] Thu, 21 August 2008 06:21 Go to next message
poke is currently offline  poke
Messages: 4
Registered: August 2008
Location: US
Junior Member
Hi All,

I'm having the weirdest experience. I have an openvz node that will not up/download over 200 KB/s on the public side. This is on the host node and VPSs. Also, when I download from another server on the same switch, I CAN achieve full speed.. ?

When I boot into the stock kernel I am able to download at the full 10 Mbit speed around 1.07 MB/s.

So this must be isolated to the openvz kernel? How should I go about troubleshooting this issue?

Thanks for any help!

Best Regards,
poke
Re: Network Speeds slow only with openvz kernel [message #32668 is a reply to message #32635] Fri, 22 August 2008 15:34 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

- could you please specify the kernel you use?
- could you please specify your network configuration? ("ip a l" (from HN and CT)) What OS do you have? Do you know the way to reproduce the issue?
- do you use traffic limiting? (iptables/tc)
Re: Network Speeds slow only with openvz kernel [message #32677 is a reply to message #32668] Sat, 23 August 2008 00:20 Go to previous messageGo to next message
poke is currently offline  poke
Messages: 4
Registered: August 2008
Location: US
Junior Member
Hello,

Thanks for your reply!

Kernel used:
# uname -a
Linux vz20.vpslogin.com 2.6.18-92.1.1.el5.028stab057.2 #1 SMP Mon Jul 21 17:08:31 MSD 2008 x86_64 x86_64 x86_64 GNU/Linux

Running Centos 5.2 x64

# ip a l
2: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc cbq qlen 1000
link/ether 00:1d:92:aa:40:ed brd ff:ff:ff:ff:ff:ff
inet 58.241.255.38/29 brd 58.241.255.39 scope global eth0
inet6 fe80::21d:92ff:feaa:40ed/64 scope link
valid_lft forever preferred_lft forever
1: sit0: <NOARP> mtu 1480 qdisc noop
link/sit 0.0.0.0 brd 0.0.0.0
3: venet0: <BROADCAST,POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue
link/void

This was a fresh openvz install as a HyperVM Slave. iptables is enabled but not traffic limiting, at least I don't think it is. I've run service iptables stop and it changes nothing.

As far as reproducing the slow network speeds, I can only show you the machine in each kernel:

ovzkernel:
# wget http://www.sea01.softlayer.com/downloads/test100.zip
--20:02:05-- http://www.sea01.softlayer.com/downloads/test100.zip
Resolving www.sea01.softlayer.com... 67.228.118.21
Connecting to www.sea01.softlayer.com|67.228.118.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104874307 (100M) [application/zip]
Saving to: `test100.zip.2'

3% [==> ] 3,507,056 197K/s eta 8m 46s

Stock Kernel:
# uname -r
2.6.18-92.1.10.el5
[root@vz20 ~]# cd JBWH/
[root@vz20 JBWH]# wget http://www.sea01.softlayer.com/downloads/test100.zip
--20:06:10-- http://www.sea01.softlayer.com/downloads/test100.zip
Resolving www.sea01.softlayer.com... 67.228.118.21
Connecting to www.sea01.softlayer.com|67.228.118.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104874307 (100M) [application/zip]
Saving to: `test100.zip'

9% [========> ] 10,372,024 1.10M/s eta 1m 56s


I appreciate any advice/input.

Thank You
Re: Network Speeds slow only with openvz kernel [message #32704 is a reply to message #32677] Mon, 25 August 2008 08:25 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:


ovzkernel:
# wget http://www.sea01.softlayer.com/downloads/test100.zip
--20:02:05-- http://www.sea01.softlayer.com/downloads/test100.zip
Resolving www.sea01.softlayer.com... 67.228.118.21
Connecting to www.sea01.softlayer.com|67.228.118.21|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 104874307 (100M) [application/zip]
Saving to: `test100.zip.2'

3% [==> ] 3,507,056 197K/s eta 8m 46s



Is it from HN or inside VE? You have mentioned that this issue affected as HN and VE. Is it right?
Re: Network Speeds slow only with openvz kernel [message #32728 is a reply to message #32635] Tue, 26 August 2008 06:18 Go to previous messageGo to next message
poke is currently offline  poke
Messages: 4
Registered: August 2008
Location: US
Junior Member
correct. The slow speeds happen on both the HN and in VEs.

Thanks
Re: Network Speeds slow only with openvz kernel [message #32733 is a reply to message #32728] Tue, 26 August 2008 09:57 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

some stupid questions:
- do you have any limitations/failcounters set on you HN or inside the VE. (cat /proc/user_beancounters)
- ovz kernel is based on the 2.6.18-92.1.1.el5 kernel. Do you have a chance to check 2.6.18-92.1.1.el5 kernel?
- what driver is responsible for your net card?
- could you please show lspci output?
- and also "tc class show dev eth0"?
Re: Network Speeds slow only with openvz kernel [message #32734 is a reply to message #32635] Tue, 26 August 2008 10:04 Go to previous messageGo to next message
poke is currently offline  poke
Messages: 4
Registered: August 2008
Location: US
Junior Member
Unfortunately we have had to cancel the server. It's strange, the first time we've ever encountered the issue...

As listed I was able to boot into the newest stock and openvz kernels and the stock kernel provided full network speed whereas the ovzkernel was limited to 200 KB/s on the HN and VE side.

I'm unable to further troubleshoot as the server is no longer online.

Thanks for trying to help though. Have a great day Wink

Cheers
Re: Network Speeds slow only with openvz kernel [message #32735 is a reply to message #32734] Tue, 26 August 2008 10:11 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

anyway, may be you've limited/checked /proc/user_beancounters. No?
Do you remember the network card that is on your server?
Thank you very much for the assistance.
Re: Network Speeds slow only with openvz kernel [message #32810 is a reply to message #32635] Mon, 01 September 2008 05:49 Go to previous messageGo to next message
vztester is currently offline  vztester
Messages: 19
Registered: August 2008
Junior Member
Actually I can verify this exact same issue with the only difference of booting with the VZ and RHEL Kernels:

vmlinux-2.6.18-92.1.1.el5.028stab057.2
vmlinuz-2.6.18-92.1.10.el5

In this example a long distance download between North America and the UK hits only 4.54 MB/s but when using the stock RHEL kernel I get 11 MB/s each time.

iptables is turned off too.


Re: Network Speeds slow only with openvz kernel [message #32824 is a reply to message #32810] Mon, 01 September 2008 11:56 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:


Is it from HN or inside VE?


Quote:


- do you have any limitations/failcounters set on you HN or inside the VE. (cat /proc/user_beancounters)
- ovz kernel is based on the 2.6.18-92.1.1.el5 kernel. Do you have a chance to check 2.6.18-92.1.1.el5 kernel?
- what driver is responsible for your net card?
- could you please show lspci output?
- and also "tc class show dev eth0"?

Previous Topic: filed opcode / no DRQ after issuing multiwrite ext
Next Topic: OpenVZ assigned IP addresses don't get routed
Goto Forum:
  


Current Time: Wed Aug 13 22:10:58 GMT 2025

Total time taken to generate the page: 0.43071 seconds