* Vif rate limiting
@ 2007-03-05 15:19 Padala, Pradeep
2007-03-05 15:31 ` Keir Fraser
0 siblings, 1 reply; 7+ messages in thread
From: Padala, Pradeep @ 2007-03-05 15:19 UTC (permalink / raw)
To: xen-devel
Hi,
I am trying to find information of vif rate limiting in the unstable
trunk. I see that the netif.py takes the 'rate' option while setting up
vifs, but that option seems to have no affect. Does it work ? If yes, is
there any documentation on how to access it?
Thanks,
Pradeep
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Vif rate limiting
2007-03-05 15:19 Vif rate limiting Padala, Pradeep
@ 2007-03-05 15:31 ` Keir Fraser
2007-03-05 16:00 ` Padala, Pradeep
0 siblings, 1 reply; 7+ messages in thread
From: Keir Fraser @ 2007-03-05 15:31 UTC (permalink / raw)
To: Padala, Pradeep, xen-devel
It should work. Are you passing a valid rate string when creating the VIF?
-- Keir
On 5/3/07 15:19, "Padala, Pradeep" <pradeep.padala@hp.com> wrote:
> Hi,
>
> I am trying to find information of vif rate limiting in the unstable
> trunk. I see that the netif.py takes the 'rate' option while setting up
> vifs, but that option seems to have no affect. Does it work ? If yes, is
> there any documentation on how to access it?
>
> Thanks,
> Pradeep
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Vif rate limiting
2007-03-05 15:31 ` Keir Fraser
@ 2007-03-05 16:00 ` Padala, Pradeep
2007-03-05 16:14 ` Keir Fraser
0 siblings, 1 reply; 7+ messages in thread
From: Padala, Pradeep @ 2007-03-05 16:00 UTC (permalink / raw)
To: Keir Fraser, xen-devel
> It should work. Are you passing a valid rate string when
> creating the VIF?
This is the config line I am using.
vif = ['ip=15.25.117.44', 'rate=10MB/s']
Do I need to specify the interval_usecs variable too ?
Pradeep
> On 5/3/07 15:19, "Padala, Pradeep" <pradeep.padala@hp.com> wrote:
>
> > Hi,
> >
> > I am trying to find information of vif rate limiting in the
> unstable
> > trunk. I see that the netif.py takes the 'rate' option
> while setting
> > up vifs, but that option seems to have no affect. Does it work ? If
> > yes, is there any documentation on how to access it?
> >
> > Thanks,
> > Pradeep
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@lists.xensource.com
> > http://lists.xensource.com/xen-devel
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Vif rate limiting
2007-03-05 16:00 ` Padala, Pradeep
@ 2007-03-05 16:14 ` Keir Fraser
2007-03-05 16:34 ` Padala, Pradeep
0 siblings, 1 reply; 7+ messages in thread
From: Keir Fraser @ 2007-03-05 16:14 UTC (permalink / raw)
To: Padala, Pradeep, Keir Fraser, xen-devel
On 5/3/07 16:00, "Padala, Pradeep" <pradeep.padala@hp.com> wrote:
> This is the config line I am using.
>
> vif = ['ip=15.25.117.44', 'rate=10MB/s']
This will rate-limit to 10 megabytes per second, not 10 megabits per second.
Is this what you meant? Otherwise you should use 'rate=10Mb/s'.
> Do I need to specify the interval_usecs variable too ?
No, a sane default value is chosen.
-- Keir
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: Vif rate limiting
2007-03-05 16:14 ` Keir Fraser
@ 2007-03-05 16:34 ` Padala, Pradeep
2007-03-05 16:48 ` Keir Fraser
0 siblings, 1 reply; 7+ messages in thread
From: Padala, Pradeep @ 2007-03-05 16:34 UTC (permalink / raw)
To: Keir Fraser, xen-devel
> > This is the config line I am using.
> >
> > vif = ['ip=15.25.117.44', 'rate=10MB/s']
>
> This will rate-limit to 10 megabytes per second, not 10
> megabits per second.
> Is this what you meant? Otherwise you should use 'rate=10Mb/s'.
Yes, I meant 10Mbytes/sec, since we have 1gbit interfaces. I have an
apache server serving a 1G file, and I download the file from another
machine, that is on the same enclosure. So, the network is very fast.
I see an output like below. I posted a message earlier
(http://lists.xensource.com/archives/html/xen-devel/2007-03/msg00026.htm
l) describing similar problems with tc as well. I have tried this setup
in a separate set of machines connected with 1gbit interfaces with same
results. Any help is greatly apperciated.
[root@acts-03 ~]# wget --no-proxy http://15.25.117.44/data1G.dat
--08:23:43-- http://15.25.117.44/data1G.dat
=> `data1G.dat'
Connecting to 15.25.117.44:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,073,741,824 (1.0G) [text/plain]
100%[===========================>] 1,073,741,824 112.12M/s ETA 00:00
08:23:53 (107.39 MB/s) - `data1G.dat' saved [1073741824/1073741824]
The full configuration of the VM is below. I am using routed networking.
kernel = '/boot/vmlinuz-2.6-xen'
vif = ['ip=15.25.117.44', 'rate=10MB/s']
ip = '15.25.117.44'
name = 'hperf1'
#extra = 'ramdisk_size=524288'
hostname = 'hperf1'
netmask = '255.255.255.0'
user = 'padalap'
memory=1000
disk = ['file:/root/xen/vm1_8g.img,sda1,w',
'file:/root/xen/vm1.swp,sda2,w']
root = '/dev/sda1 ro'
gateway = '15.25.117.42'
restart = 'never'
Pradeep
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Vif rate limiting
2007-03-05 16:34 ` Padala, Pradeep
@ 2007-03-05 16:48 ` Keir Fraser
0 siblings, 0 replies; 7+ messages in thread
From: Keir Fraser @ 2007-03-05 16:48 UTC (permalink / raw)
To: Padala, Pradeep, xen-devel
With your domU running, if you 'xenstore-ls /local/domain/0 | grep rate' do
you see any output (i.e., has xend actually written a rate parameter into
xenstore for the netback driver to pick up)?
-- Keir
On 5/3/07 16:34, "Padala, Pradeep" <pradeep.padala@hp.com> wrote:
>>
>> This will rate-limit to 10 megabytes per second, not 10
>> megabits per second.
>> Is this what you meant? Otherwise you should use 'rate=10Mb/s'.
>
> Yes, I meant 10Mbytes/sec, since we have 1gbit interfaces. I have an
> apache server serving a 1G file, and I download the file from another
> machine, that is on the same enclosure. So, the network is very fast.
>
> I see an output like below. I posted a message earlier
> (http://lists.xensource.com/archives/html/xen-devel/2007-03/msg00026.htm
> l) describing similar problems with tc as well. I have tried this setup
> in a separate set of machines connected with 1gbit interfaces with same
> results. Any help is greatly apperciated.
^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <08CA2245AFCF444DB3AC415E47CC40AF8525B5@G3W0072.americas.hpqcorp.net>]
end of thread, other threads:[~2007-03-05 17:43 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-05 15:19 Vif rate limiting Padala, Pradeep
2007-03-05 15:31 ` Keir Fraser
2007-03-05 16:00 ` Padala, Pradeep
2007-03-05 16:14 ` Keir Fraser
2007-03-05 16:34 ` Padala, Pradeep
2007-03-05 16:48 ` Keir Fraser
[not found] <08CA2245AFCF444DB3AC415E47CC40AF8525B5@G3W0072.americas.hpqcorp.net>
[not found] ` <C2120319.A9E1%keir@xensource.com>
2007-03-05 17:43 ` Padala, Pradeep
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.