Displaying 2 results from an estimated 2 matches for "dsrate".
Did you mean:
drate
2004 Jul 02
24
TC Hashing Filters
Hey all,
I had asked a question a little while ago about CPU usage being
outrageous while using tc and a cbq qdisc. Ed was very kind and offered
a few suggestions. One of these was to look at hashing. So after
pounding away at it for about a week, I have a general understanding of
how it works and have tried to implement it. Unfortunately, and quite
obviously since I''m posting here, it
2004 Jun 22
0
Perl Script for pulling information from a mysql database
...disc add dev $dev root handle 10:0 cbq bandwidth 200mbit
avpkt 1000");
Action("$tc class add dev $dev parent 10: classid 10:1 cbq bandwidth
200Mbit rate 200Mbit allot 1514 weight 2Mbit prio 8 maxburst 10 avpkt
1000");
# Get our list of accounts
@MODEMS = SelectSQL("SELECT mid, dsrate FROM modems");
# Figure out account IPs and put ''em in!
foreach $modem (@MODEMS) {
if ($$modem{dsrate} == "0" || $$modem{dsrate} == "1") {
next;
}
my @COMPUTERS = SelectSQL("SELECT ipid FROM computers WHERE
mid='...