Re: paxket shaping and scheduling problems

Robert Cohen (robert@apex.net.au)
Wed, 22 Dec 1999 18:18:34 +1100


Robert Cohen wrote:
>
> I'm trying to do packet shaping and scheduling using Linux 2.2.14pre9.
> I'm come across a couple of problems.
>
> My my first attempt was just to load the TBF module
>
> tc qdisc add dev eth0 root tbf rate 256Kbps buffer 2kB limit 10kB
>
> However I dont seem to be able to schedule rates below about 1Mbit.
> Even when set to 256Kbps, the ftp throughput was 130KB/sec.
> The kernal was compiled with packet scheduling set to PSCHED_JIFFIES.
> I tried PSCHED_CPU but it didnt give good results. This is on a Pentium
> MMX 200. Perhaps the Pentium doesnt have a proper CPU timestamp. I'm
> going to try it on a Pentium III when I get a chance.
>

Well I found the answer to this part of the problem.
Turns out that rate 256Kbps is 256 Kbytes per sec not 256 Kbits per sec.
If I want to specify in kbit I use "256kbit".

--
Robert Cohen - Network Administrator      
Apex Internet     
robert@apex.net.au     http://www.apex.net.au
Ph (02) 6247 2000      Fax: (02) 6247 2711

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/