From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srikanth Date: Sat, 24 May 2003 04:30:55 +0000 Subject: Re: [LARTC] CBQ DEVICE BW? MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------000804020705020802080702" Message-Id: List-Id: References: In-Reply-To: To: lartc@vger.kernel.org --------------000804020705020802080702 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Thanks Stef, I've customized ethtool source, it's giving the correct values depends on the real physical I/F BW. (as per my requirements) I need only speed from that. Stef Coene wrote: >>Forgive me, if i'm wrong. >> >>As of my understanding, are the below lines right? >> >>DEVICE BW = Real physical bandwidth of the device >> >>So, Here DEVICE means only the Interface, not the Link, am i right? >> >> >Yes. > >>& >> >>RATE = Rate assigned to perticular user/network/service. >> >>How much the user/network/service can aquire max. allowable rate? >> >> >Yes. If you add the bounded parameter, you create a maximum for that class. > >>I can consider as 10/100 Mbps for ethernet interface. >>So, how about, when i use ppp0 (pppoe) in my CBQ, is it same? >>bcoz, pppoe uses eth0, am i right? >> >> >I'm not sure about that. But I think you have to use the eth0 speed. >Or use htb, no more bandwidth questions needed :) > Yah, from now onwards, no more DEVICE BW questions. >Stef > > > Srikanth. --------------000804020705020802080702 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Thanks Stef,

I've customized ethtool source, it's giving the correct values depends on the real
physical I/F BW. (as per my requirements)

I need only speed from that.

Stef Coene wrote:
Forgive me, if i'm wrong.

As of my understanding, are the below lines right?

DEVICE BW = Real physical bandwidth of the device

So, Here DEVICE means only the Interface, not the Link, am i right?
    
Yes.
&

RATE = Rate assigned to perticular user/network/service.

How much the user/network/service can aquire max. allowable rate?
    
Yes.  If you add the bounded parameter, you create a maximum for that class.
I can consider as 10/100 Mbps for ethernet interface.
So, how about, when i use ppp0 (pppoe) in my CBQ, is it same?
bcoz, pppoe uses eth0, am i right?
    
I'm not sure about that.  But I think you have to use the eth0 speed.
Or use htb, no more bandwidth questions needed :)
Yah, from now onwards, no more DEVICE BW questions.
Stef

  
Srikanth.
--------------000804020705020802080702-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/