[Users] Network overhead inside VE
Alexis Bienvenüe
paoz at passoire.fr
Wed Nov 17 04:52:42 EST 2010
Hi.
I installed a OpenVZ HN with debian kernel, set up a VE with debootstrap
with a private IP.
When downloading the same file with wget from internet at the same time,
I observe 3.1M/s from the HN, but only 13.7K/s from the VE !
I don't see any positive failcnt in /proc/user_beancounters
Could anyone help me with my configuration ?
Thanks,
Alexis Bienvenüe.
### INSIDE VE :
> /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
venet0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0
Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:15741 errors:0 dropped:0 overruns:0 frame:0
TX packets:8798 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:23589983 (22.4 MiB) TX bytes:489727 (478.2 KiB)
venet0:0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.10.7.10 P-t-P:10.10.7.10 Bcast:0.0.0.0
Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
### HN :
> /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 1c:c1:de:e7:2f:48
inet adr:195.220.110.190 Bcast:195.220.110.191
Masque:255.255.255.192
adr inet6: fe80::1ec1:deff:fee7:2f48/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:38204 errors:0 dropped:0 overruns:0 frame:0
TX packets:22144 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:46315878 (44.1 MiB) TX bytes:2272196 (2.1 MiB)
Mémoire:fbe60000-fbe80000
lo Link encap:Boucle locale
inet adr:127.0.0.1 Masque:255.0.0.0
adr inet6: ::1/128 Scope:Hôte
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:560 (560.0 B) TX bytes:560 (560.0 B)
venet0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:8798 errors:0 dropped:0 overruns:0 frame:0
TX packets:15741 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:489727 (478.2 KiB) TX bytes:23589983 (22.4 MiB)
> tc qdisc show
qdisc mq 0: dev eth0 root
> iptables -nL
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
> iptables -t nat -nL
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
SNAT all -- 0.0.0.0/0 0.0.0.0/0
to:195.220.110.190
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
More information about the Users
mailing list