Linux-kernel mailing list archive 1999-51,: Re: paxket shaping and scheduling problems

# Re: paxket shaping and scheduling problems

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Petri Kaukasoina: "Re: Fix for ide problems in 2.2.14pre15"
- Previous message: Anthony Barbachan: "Question about change in 2.2.13 that breaks kppp"
- Maybe in reply to: Robert Cohen: "paxket shaping and scheduling problems"

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/

- Next message: Petri Kaukasoina: "Re: Fix for ide problems in 2.2.14pre15"
- Previous message: Anthony Barbachan: "Question about change in 2.2.13 that breaks kppp"
- Maybe in reply to: Robert Cohen: "paxket shaping and scheduling problems"