OpenVZ Forum


Home » General » Support » venet download speed limit from VM itself (Possible reason? Howto explore...)
venet download speed limit from VM itself [message #40972] Sat, 30 October 2010 09:37 Go to next message
jack is currently offline  jack
Messages: 5
Registered: October 2010
Location: Yekaterinburg
Junior Member
Download speed from VM is fine:

[otherhost.othernet] wget vm.mynet/testspeed.o
--2010-10-30 15:25:57-- vm.mynet/testspeed.o
Connecting to ##.##.##.##:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 369834552 (353M) [application/x-object]
Saving to: `testspeed.o.2'

83% [========================================> ] 310,615,928 87.7M/s eta 1s


But download speed from VM itself is terrible:

[vm.mynet] wget otherhost.othernet/testspeed.o
--15:24:14-- otherhost.othernet/testspeed.o
=> `testspeed.o.7'
Resolving otherhost.othernet... ##.##.##.##
Connecting to otherhost.othernet|##.##.##.##|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 369,834,552 (353M) [text/plain]

0% [ ] 580,372 13.15K/s ETA 8:44:57



Why?

The same VM, seme venet... all the same.
No modifications have been made in sysctl.

Possible reason? Howto explore?...

ps:
Linux version 2.6.32-3-pve (unknown) (root[@]oahu) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 SMP Wed Sep 8 11:47:56 CEST 2010

[vm.mynet] cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
lo:744408088 89527 0 0 0 0 0 0 744408088 89527 0 0 0 0 0 0
venet0:86946381 208407 0 0 0 0 0 0 1743258118 1233667 0 0 0 0 0 0

[vm.mynet] 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:89535 errors:0 dropped:0 overruns:0 frame:0
TX packets:89535 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:744408714 (709.9 MB) TX bytes:744408714 (709.9 MB)

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:209199 errors:0 dropped:0 overruns:0 frame:0
TX packets:1234388 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:87306786 (83.2 MB) TX bytes:1743536097 (1.6 GB)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:85.12.197.51 P-t-P:85.12.197.51 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

This is standart venet virtual interface added by standart command like:
vzctl set $CTID --ipadd <IP> --save
Re: venet download speed limit from VM itself [message #40973 is a reply to message #40972] Sat, 30 October 2010 09:44 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

Hi,

plz show the bc (=Bean Counter) of this Container, any failcnt logged?

Bye,
Thorsten
Re: venet download speed limit from VM itself [message #40974 is a reply to message #40973] Sat, 30 October 2010 09:48 Go to previous messageGo to next message
jack is currently offline  jack
Messages: 5
Registered: October 2010
Location: Yekaterinburg
Junior Member
Hi, curx!

I've start download now, and watch counters in the same time.

Not at all!

Every 2.0s: cat /proc/user_beancounters Sat Oct 30 15:47:18 2010

Version: 2.5
uid resource held maxheld barrier limit failcnt
7051: kmemsize 10662917 13540558 9223372036854775807 9223372036854775807 0
lockedpages 0 0 262144 262144 0
privvmpages 79792 114180 786432 798932 0
shmpages 1579 2235 9223372036854775807 9223372036854775807 0
dummy 0 0 0 0 0
numproc 71 83 1024 1024 0
physpages 57525 91393 0 9223372036854775807 0
vmguarpages 0 0 786432 9223372036854775807 0
oomguarpages 57577 91393 786432 9223372036854775807 0
numtcpsock 15 36 9223372036854775807 9223372036854775807 0
numflock 12 23 9223372036854775807 9223372036854775807 0
numpty 2 2 255 255 0
numsiginfo 0 36 1024 1024 0
tcpsndbuf 377272 1735544 9223372036854775807 9223372036854775807 0
tcprcvbuf 468120 6741448 9223372036854775807 9223372036854775807 0
othersockbuf 173400 252672 9223372036854775807 9223372036854775807 0
dgramrcvbuf 0 4360 9223372036854775807 9223372036854775807 0
numothersock 184 214 9223372036854775807 9223372036854775807 0
dcachesize 855666 908130 9223372036854775807 9223372036854775807 0
numfile 2371 2889 9223372036854775807 9223372036854775807 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 10 10 9223372036854775807 9223372036854775807 0
Re: venet download speed limit from VM itself [message #40976 is a reply to message #40973] Sat, 30 October 2010 10:13 Go to previous messageGo to next message
jack is currently offline  jack
Messages: 5
Registered: October 2010
Location: Yekaterinburg
Junior Member
Exact the same problem forum.proxmox.com/threads/4923-22K-s-Speed-in-VZ-on-GB-Link
Re: venet download speed limit from VM itself [message #40977 is a reply to message #40972] Sat, 30 October 2010 10:28 Go to previous message
jack is currently offline  jack
Messages: 5
Registered: October 2010
Location: Yekaterinburg
Junior Member
Problem was already sold. Close the topic.

"""It describes a similar effect, with a comment (#2) describing a workaround:
i.e: ethtool -K eth0 rx off"""

In my case, also: ethtool -K eth0 tx off

Links:
forum.proxmox.com/threads/4923-22K-s-Speed-in-VZ-on-GB-Link? highlight=venet
bugzilla.openvz.org/show_bug.cgi?id=1619
Previous Topic: very odd error caused by a particular VE
Next Topic: "nothing to do" via yum install
Goto Forum:
  


Current Time: Sat Oct 12 10:14:05 GMT 2024

Total time taken to generate the page: 0.07573 seconds