From: "Lawrence Lee (Shanghai)" Date: Sun, 13 Apr 2003 12:47:55 +0000 Subject: [LARTC] How to compute the rate of a class in HTB? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hi, all I read the code about HTB. Function htb_class_mode judge the "mode" of a class, when " cl->ctokens + *diff < 0", it means that the class's rate exceeds the Ceil-rate. Why? And, can somebody tell me that How Can I compute the rate of a class? Is there a formula which can get the accurate rate at any time? Thanks ! Best Regards Lawrence Lee Linux/IA, Software, S3 Tech. Tel:(021)53560056-8056 Mail: lawrencelee@viatech.com.cn _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/