<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi<br>
<br>
I'm currenty testing network QoS implementations stumbled upon quite
strange results when using QoS definitions inside the virtdomain
xml.<br>
<br>
I'm testing bandwidth from a virtdomain towards a hardware server
connected to the same switch, both connected to gigabit ports. Iperf
tells me the bandwidth is around 939 Mbit/s.<br>
<br>
I added this to my virtdomains xml:<br>
<bandwidth><br>
<inbound average='1280'/><br>
<outbound average='1280'/><br>
</bandwidth><br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
This should limit the bandwidth to around 10 megabit/s 1280
kilobytes/s, however i get only around 5.14 Mbits/sec...<br>
<br>
Has anyone an idea what causes this difference? <br>
<br>
I already checked the applied qdisc & class:<br>
<br>
root@testvirt-patrick:~ # tc qdisc sh dev vnet1<br>
qdisc htb 1: root refcnt 2 r2q 10 default 1 direct_packets_stat 0<br>
qdisc ingress ffff: parent ffff:fff1 ---------------- <br>
root@testvirt-patrick:~ # tc class sh dev vnet1<br>
class htb 1:1 root prio 0 rate 10240Kbit ceil 10240Kbit burst 1598b
cburst 1598b <br>
<br>
<pre class="moz-signature" cols="72">Freundliche Grüsse / kind regards
Patrick Herzfeld
--
Nine Internet Solutions AG, Albisriederstrasse 243a, CH-8047 Zuerich
Tel +41 44 637 40 00 | Support +41 44 637 40 40 | Fax +41 44 637 40 01</pre>
</body>
</html>