Hi Stephen, <div><br></div><div>Just following up here but `limit (see below)` is the number of bytes not number of packets. Therefore it should be: </div><div><br></div><div>1gigbit/sec *.042seconds = 134,217,728(bytes/seconds) *.042seconds = 5,637,144.58 (Then round up). </div>
<div><br></div><div>Right? </div><div><br></div><div>Thanks, </div><div><br></div><div>Aaron</div><div><br></div><div><br><span style="font-weight:bold;color:#204a87"> </span>Limit is the number of bytes that can be queued waiting for tokens to become available. You can also specify this the other way around by setting the latency parameter, which specifies the maximum amount of time a packet can sit in the TBF. The latter calculation takes into account the size of the bucket, the rate and possibly the peakrate (if set). These two parameters are mutually exclusive.<div>
<br></div><div><br></div><div><br><div class="gmail_quote">On Wed, Jan 18, 2012 at 1:38 AM, Vincent Bernat <span dir="ltr">&lt;<a href="mailto:bernat@luffy.cx">bernat@luffy.cx</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
OoO La  nuit ayant déjà  recouvert d&#39;encre ce  jour du mardi  17 janvier<br>
2012, vers 23:48, Stephen Hemminger &lt;<a href="mailto:shemminger@vyatta.com">shemminger@vyatta.com</a>&gt; disait :<br>
<div class="im"><br>
&gt; Also, running on vlan isn&#39;t going to work very well because it<br>
&gt; is layered on top of the physical device. The timing and back pressure<br>
&gt; are going to off. By default vlan device has no queue (relies on underlying)<br>
&gt; physical device.<br>
<br>
</div>Do you mean that there is a possibility to have a VLAN device with a queue?<br>
<span class="HOEnZb"><font color="#888888">--<br>
Vincent Bernat ☯ <a href="http://vincent.bernat.im" target="_blank">http://vincent.bernat.im</a><br>
<br>
Don&#39;t sacrifice clarity for small gains in &quot;efficiency&quot;.<br>
            - The Elements of Programming Style (Kernighan &amp; Plauger)<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Aaron O. Rosen<br>Masters Student - Network Communication<br>306B Fluor Daniel<br><br><br>
</div></div>