<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">change the run_command to:<div>run_command("/sbin/tc filter add dev $iface parent ffff: protocol ip prio 50 u32 match ip src 0.0.0.0/0 police rate ${rate}bps burst ${burst}b mtu 64kb drop flowid :1");<br><br>instead of</div><div><br></div><div><div># so we use avrate instead</div><div>#run_command("/sbin/tc filter add dev $iface parent ffff: " .</div><div><span style="line-height: 1.7;">#</span><span class="Apple-tab-span" style="line-height: 1.7; white-space: pre;"> </span><span style="line-height: 1.7;">"protocol ip prio 50 estimator 1sec 8sec " .</span></div><div>#<span class="Apple-tab-span" style="white-space:pre"> </span>"u32 match ip src 0.0.0.0/0 police avrate ${rate}bps drop flowid :1");</div><br><br><br><div></div><div id="divNeteaseMailCard"></div>Regards</div><div><br></div><div>Fan<br><pre><br>At 2013-01-22 15:25:32,"Dietmar Maurer" <dietmar@proxmox.com> wrote:
>> when I use virtio with traffic limit, and it doesn't work, and see a comment
>> "# this does not work wit virtio - don't know why". comment after some
>> search with Google, I got the solution
>> here, http://www.redhat.com/archives/libvir-list/2012-June/msg01306.html,
>> and it works now...
>
>we do not use libvirt, so how can that work?
>
>> And a question here, why only "Directory" storage can store the ISO file? I
>> have a big iscsi storage but i can't upload ISO file in it. Accroding the source
>> code, by default LVM only used for store vm disk images. Any reason about
>> that?
>
>A block storage does not have a file system, so you can't store files.
>
>- Dietmar
>
</pre></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>