[pve-devel] Network traffic limit with virtio and Storage Content
lulin
f_ella at yeah.net
Tue Jan 22 08:30:49 CET 2013
change the run_command to:
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");
instead of
# so we use avrate instead
#run_command("/sbin/tc filter add dev $iface parent ffff: " .
#"protocol ip prio 50 estimator 1sec 8sec " .
#"u32 match ip src 0.0.0.0/0 police avrate ${rate}bps drop flowid :1");
Regards
Fan
At 2013-01-22 15:25:32,"Dietmar Maurer" <dietmar at 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20130122/bfb5da09/attachment.htm>
More information about the pve-devel
mailing list