Network Speeds slow only with openvz kernel [message #32635] |
Thu, 21 August 2008 06:21  |
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 #32677 is a reply to message #32668] |
Sat, 23 August 2008 00:20   |
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 #32810 is a reply to message #32635] |
Mon, 01 September 2008 05:49   |
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.
rtt
|
|
|
Re: Network Speeds slow only with openvz kernel [message #32824 is a reply to message #32810] |
Mon, 01 September 2008 11:56  |
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"?
|
|
|
|