[Click] reg :BandwidthRatedSplitter
Nikitas Liogkas
nikitas at CS.UCLA.EDU
Thu Feb 24 14:42:42 EST 2005
But you _are_ setting it to 10Kbps, right? Also, shouldn't the 'write'
directive in the first PokeHandlers element have a value as well?
On a related note, I recall Click having an inherent timing problem in
limiting bandwidth _before_ the queuing stage. So you should be better off
storing packets into separate Queues first, and then splitting up the bandwidth!
nikitas
srividhya subramanian wrote:
> Dear Sir,
> I am an undergrad from AnnaUniversity,India
> working on click modular router.
>
> We have a doubt in the element
> BandwidthRatedSplitter.The handler rate is the rate of
> splitting(by definiton) which we specify initially in
> the code. when we used the handler rate we found that
> it always wrote 10kbps no matter what rate we specify.
> we would like to know wat "rate" exactly means and
> whether it is in any relevance with bandwidth usage .i
> have also sent the code that we wrote....
>
> c::IPClassifier(src host 10.1.8.10, src host
> 10.1.8.12, -);
> b1::BandwidthRatedSplitter(10kbps);
> b2::BandwidthRatedSplitter(10kbps);
> b3::BandwidthRatedSplitter(15kbps);
> p::PrioSched;
>
> //FromDevice(eth0)
> elementclass band{
> input->c;
> c[0] ->b1[0]->Queue->Print(okOne)
> ->[0]p;
>
> c[1] ->b2[0]->Queue->[1]p;
> c[2] ->b3[0]->Queue->[2]p;
> PokeHandlers(write b1.rate);
> PokeHandlers(read b1.rate);
> b1[1]->Print(one)->Discard;
> b2[1]->Print(two)->Discard;
> b3[1]->Print(three)->Discard;
>
> p->output
> };
>
> b::band
> FromDevice(eth0)->b->
> ToDevice(eth0);
>
> kindly reply
>
> yours,
>
> srividhya
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - Easier than ever with enhanced search. Learn more.
> http://info.mail.yahoo.com/mail_250
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
More information about the click
mailing list