network freezes :S

  • Thread starter Thread starter maur
  • Start date Start date
M

maur

Guest
Hello.

I've some problems with network performance..
When Im trying to download something bigger (many files or just one file but big one - 2-3 GB) after 20-50 seconds network freezes.. When I wait ~3-7 minut - it works again.
I was afraid that problem can be in my network configuration, routing etc etc, but now i created new vps with only internal network 10.2.10.10 connected via vmbr0 with host - on this vps problem exists too..
I tried to use -l (limit bandwitch) option in scp - the it hangs up a little bit later.
Also checked top: 11% i/o and 20% cpu..
What else can I check?

This may be important:
Im adding new external ip to vps in way:
on host:
ip route add 100.100.28.161 dev vmbr0
arp -i eth0 -Ds 100.100.28.161 eth0 netmask 255.255.255.255

on vps:
auto eth0
iface eth0 inet static
address 10.2.10.2
netmask 255.255.255.0
network 10.2.10.0
broadcast 10.2.10.255
gateway 10.2.10.1
dns-nameservers 10.2.10.1
post-up ip r d default via 10.2.10.1; ip r a 100.200.78.1/32 dev eth0
auto eth0:0
iface eth0:0 inet static
address 100.100.28.161
netmask 255.255.255.255
network 100.100.28.161
broadcast 100.100.28.161
gateway 100.200.78.1
 
Solved!

Buggy rtl8139, when i switched network card to e1000 - works like a charm! :)
 
What OS are you running on the VM?
How did you determine it was the virtual NIC that was buggy, and not the driver that the VM tried to utilise?
 
What OS are you running on the VM?
How did you determine it was the virtual NIC that was buggy, and not the driver that the VM tried to utilise?

vps:
red:~# uname -a
Linux red[...].pl 2.6.26-2-amd64 #1 SMP Tue Jan 12 22:12:20 UTC 2010 x86_64 GNU/Linux

host:
m:~# uname -a
Linux m.red[...].pl 2.6.32-1-pve #1 SMP Fri Jan 15 11:37:39 CET 2010 x86_64 GNU/Linux
m:~#

I didn't determine, just take a shot and it works. I can try to check it, but for now i have to finish migration before monday..