OpenVZ Forum


Home » General » Support » Packet loss problem
Packet loss problem [message #7143] Thu, 05 October 2006 05:20 Go to next message
enigmaYmee is currently offline  enigmaYmee
Messages: 5
Registered: October 2006
Junior Member
I'm new to Openvz and have searched for the answer to this problem but have had no luck.

I'm testing Openvz on my home server running gentoo. Using the stable openvz sources the problem I'm seeing is that after rebooting into the newly compiled kernel everything works fine except for network traffic. I get about 50% packet loss and the RTT for the responces is about 4000ms. This is on a 100mb switch.

I've also tried compiling with the config file from the openvz website on the download page. I then set the eth0 to 10baseT/half duplex just to try something different with the nic.

Everything I've tried has produced the same result. Is there something that I'm forgetting to do? If you can provide any advice I would very much appreciate it. Also, if there is anymore information about my system you need I can provide it.
Re: Packet loss problem [message #7146 is a reply to message #7143] Thu, 05 October 2006 06:57 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
I suppose this problem is on HN not in VE?
Also there is no such problem on gentoo kernel, right?
If so, can you, please, specify network card you're using and
driver (and its version) used for it in gentoo kernel.
And of course OpenVZ kernel you're running!

Thanks!
Re: Packet loss problem [message #7156 is a reply to message #7143] Thu, 05 October 2006 14:58 Go to previous messageGo to next message
enigmaYmee is currently offline  enigmaYmee
Messages: 5
Registered: October 2006
Junior Member
I'm not sure how to answer the first question because I don't know what HN is. Host network?

You're right there is no problem on the gentoo kernel. Kernel version 2.6.14.

My network card is onboard with the VT8235 chip. Driver is Via Rhine with module name via-rhine.

As for the OpenVZ kernel I have tried 2. 022.077 and 026.015. I just noticed that the gentoo database lists 022.077 as stable while OpenVZ considers 022.078 as stable. I will try that one today and see if I have any luck.

Thanks for the quick response and any other info you need just let me know. I'm pretty much stuck on this one.
Re: Packet loss problem [message #7196 is a reply to message #7156] Fri, 06 October 2006 10:56 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
HN - Hardware Node, Host Node, etc...
So do you have the problem on HN or in VE?
Also how do you detect lost packets? What tools do you use?
Can you provide their output, please.

Thanks.
Re: Packet loss problem [message #7215 is a reply to message #7143] Sat, 07 October 2006 07:27 Go to previous messageGo to next message
enigmaYmee is currently offline  enigmaYmee
Messages: 5
Registered: October 2006
Junior Member
The problem is definately on the HN as I haven't setup any VE's yet. I have to solve this problem before I can procede since working over SSH with this problem is nearly impossilbe.

I am using standard ping tools to determine the packet loss. Here is some output:

1. Ping from a windows box to the server running OpenVZ
Quote:


ping 192.168.1.200 -n 20

Pinging 192.168.1.200 with 32 bytes of data:

Request timed out.
Reply from 192.168.1.200: bytes=32 time=1426ms TTL=64
Reply from 192.168.1.200: bytes=32 time=1ms TTL=64
Request timed out.
Request timed out.
Reply from 192.168.1.200: bytes=32 time=3418ms TTL=64
Reply from 192.168.1.200: bytes=32 time=13ms TTL=64
Request timed out.
Request timed out.
Request timed out.
Reply from 192.168.1.200: bytes=32 time=573ms TTL=64
Reply from 192.168.1.200: bytes=32 time=1908ms TTL=64
Reply from 192.168.1.200: bytes=32 time<1ms TTL=64
Reply from 192.168.1.200: bytes=32 time=3999ms TTL=64
Reply from 192.168.1.200: bytes=32 time<1ms TTL=64
Request timed out.
Reply from 192.168.1.200: bytes=32 time=2575ms TTL=64
Request timed out.
Request timed out.
Reply from 192.168.1.200: bytes=32 time=395ms TTL=64

Ping statistics for 192.168.1.200:
Packets: Sent = 20, Received = 11, Lost = 9 (45% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 3999ms, Average = 1300ms



2. Ping from the server to the same windows box
Quote:


ping 192.168.1.105 -c 20
PING 192.168.1.105 (192.168.1.105) 56(84) bytes of data.
64 bytes from 192.168.1.105: icmp_seq=4 ttl=128 time=1996 ms
64 bytes from 192.168.1.105: icmp_seq=5 ttl=128 time=996 ms
64 bytes from 192.168.1.105: icmp_seq=6 ttl=128 time=45.3 ms

--- 192.168.1.105 ping statistics ---
20 packets transmitted, 3 received, 85% packet loss, time 18991ms
rtt min/avg/max/mdev = 45.366/1012.779/1996.225/796.515 ms, pipe 2



3. Here is some TCP pings from the server to the windows box
Quote:


hping 192.168.1.105 -c 20
HPING 192.168.1.105 (eth0 192.168.1.105): NO FLAGS are set, 40 headers + 0 data bytes
len=46 ip=192.168.1.105 ttl=128 id=32653 sport=0 flags=RA seq=0 win=0 rtt=254.1 ms
len=46 ip=192.168.1.105 ttl=128 id=32668 sport=0 flags=RA seq=11 win=0 rtt=4973.9 ms
len=46 ip=192.168.1.105 ttl=128 id=32669 sport=0 flags=RA seq=12 win=0 rtt=3973.5 ms
len=46 ip=192.168.1.105 ttl=128 id=32670 sport=0 flags=RA seq=13 win=0 rtt=2973.0 ms
len=46 ip=192.168.1.105 ttl=128 id=32671 sport=0 flags=RA seq=14 win=0 rtt=1972.5 ms
len=46 ip=192.168.1.105 ttl=128 id=32672 sport=0 flags=RA seq=15 win=0 rtt=972.0 ms
len=46 ip=192.168.1.105 ttl=128 id=32692 sport=0 flags=RA seq=16 win=0 rtt=1242.7 ms
len=46 ip=192.168.1.105 ttl=128 id=32693 sport=0 flags=RA seq=17 win=0 rtt=242.2 ms

--- 192.168.1.105 hping statistic ---
20 packets tramitted, 8 packets received, 60% packet loss
round-trip min/avg/max = 242.2/2075.5/4973.9 ms



4. Here are the stats of ping from the server to the windows box without the OpenVZ kernel
Quote:


--- 192.168.1.105 ping statistics ---
20 packets transmitted, 20 received, 0% packet loss, time 19148ms
rtt min/avg/max/mdev = 0.121/0.146/0.152/0.007 ms



Also I tried the 022.078 openvz kernel today using the config file from the download site. The only thing that was changed from the standard kernel config was the processor type. Change to K7 which is what the server is. I then tried just compiling it as 686 but I received an error during the compile.

make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [arch/i386/kernel/asm-offsets.s] Error 2

I then tried leaving the processor type as the default(Pentium Pro). This compiled but had the same effect.

**EDIT
I just tried the precompiled OpenVZ kernel 022.078 and I had the same problem. So this has to be something on my system thats causing it, but what?

[Updated on: Sat, 07 October 2006 08:26]

Report message to a moderator

Re: Packet loss problem [message #7229 is a reply to message #7215] Sat, 07 October 2006 19:13 Go to previous message
John Kelly is currently offline  John Kelly
Messages: 97
Registered: May 2006
Location: Palmetto State
Member
enigmaYmee wrote on Sat, 07 October 2006 03:27

So this has to be something on my system thats causing it, but what?


Unknown.

If you can't diagnose the problem with gentoo, try another distro. Maybe something in gentoo is triggering a bad reaction with the OpenVZ kernel.

I have not seen anyone else reporting packet loss from their LAN to the HN.

Previous Topic: *SOLVED* Firewall rule don't allow ftp while port 21 is open
Next Topic: Kernel Test
Goto Forum:
  


Current Time: Mon Sep 16 11:21:48 GMT 2024

Total time taken to generate the page: 0.07885 seconds