lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 19 May 2009 11:09:54 +0000
From:	Jarek Poplawski <jarkao2@...il.com>
To:	Antonio Almeida <vexwek@...il.com>
Cc:	Stephen Hemminger <shemminger@...tta.com>, netdev@...r.kernel.org,
	kaber@...sh.net, davem@...emloft.net, devik@....cz,
	Eric Dumazet <dada1@...mosbay.com>
Subject: Re: [PATCH iproute2] Re: HTB accuracy for high speed

On Tue, May 19, 2009 at 11:55:43AM +0100, Antonio Almeida wrote:
> Doesn't seem to make any diference seting HTB_HYSTERESIS to 0. Here're
> the values using #define HTB_HYSTERESIS 0

OK, so it looks like some hidden bug yet.

Many thanks for now,
Jarek P.

> 
> 800 bytes:
> class htb 1:108 parent 1:10 leaf 108: prio 7 quantum 1514 rate
> 555000Kbit ceil 555000Kbit burst 70901b/8 mpu 0b overhead 0b cburst
> 70901b/8 mpu 0b overhead 0b level 0
>  Sent 9773257752 bytes 12277962 pkt (dropped 6292541, overlimits 0 requeues 0)
>  rate 621796Kbit 97644pps backlog 0b 127p requeues 0
>  lended: 12277835 borrowed: 0 giants: 0
>  tokens: -7 ctokens: -7
> 
> 850 bytes:
> class htb 1:108 parent 1:10 leaf 108: prio 7 quantum 1514 rate
> 555000Kbit ceil 555000Kbit burst 70901b/8 mpu 0b overhead 0b cburst
> 70901b/8 mpu 0b overhead 0b level 0
>  Sent 18225005732 bytes 22409017 pkt (dropped 11937269, overlimits 0 requeues 0)
>  rate 600890Kbit 88796pps backlog 0b 43p requeues 0
>  lended: 22408974 borrowed: 0 giants: 0
>  tokens: -2 ctokens: -2
> 
> 900 bytes:
> class htb 1:108 parent 1:10 leaf 108: prio 7 quantum 1514 rate
> 555000Kbit ceil 555000Kbit burst 70901b/8 mpu 0b overhead 0b cburst
> 70901b/8 mpu 0b overhead 0b level 0
>  Sent 29790867368 bytes 35400708 pkt (dropped 18399726, overlimits 0 requeues 0)
>  rate 636361Kbit 88779pps backlog 0b 127p requeues 0
>  lended: 35400581 borrowed: 0 giants: 0
>  tokens: -2 ctokens: -2
> 
> 
>   Antonio Almeida
> 
> 
> 
> On Mon, May 18, 2009 at 8:05 PM, Jarek Poplawski <jarkao2@...il.com> wrote:
> > On Mon, May 18, 2009 at 07:56:12PM +0100, Antonio Almeida wrote:
> >> Precise measurements:
> >>
> >> 800 bytes:
> >> class htb 1:108 parent 1:10 leaf 108: prio 7 quantum 1514 rate
> >> 555000Kbit ceil 555000Kbit burst 70901b/8 mpu 0b overhead 0b cburst
> >> 70901b/8 mpu 0b overhead 0b level 0
> >>  Sent 46793626324 bytes 57771194 pkt (dropped 29920019, overlimits 0 requeues 0)
> >>  rate 621714Kbit 97631pps backlog 0b 126p requeues 0
> >>  lended: 57771068 borrowed: 0 giants: 0
> >>  tokens: -8 ctokens: -8
> >>
> >>
> >> 850 bytes:
> >> class htb 1:108 parent 1:10 leaf 108: prio 7 quantum 1514 rate
> >> 555000Kbit ceil 555000Kbit burst 70901b/8 mpu 0b overhead 0b cburst
> >> 70901b/8 mpu 0b overhead 0b level 0
> >>  Sent 63422144616 bytes 77714246 pkt (dropped 41012275, overlimits 0 requeues 0)
> >>  rate 600699Kbit 88756pps backlog 0b 127p requeues 0
> >>  lended: 77714119 borrowed: 0 giants: 0
> >>  tokens: -11 ctokens: -11
> >>
> >>
> >> 900 bytes:
> >> class htb 1:108 parent 1:10 leaf 108: prio 7 quantum 1514 rate
> >> 555000Kbit ceil 555000Kbit burst 70901b/8 mpu 0b overhead 0b cburst
> >> 70901b/8 mpu 0b overhead 0b level 0
> >>  Sent 76868403562 bytes 92835297 pkt (dropped 48565133, overlimits 0 requeues 0)
> >>  rate 636195Kbit 88755pps backlog 0b 126p requeues 0
> >>  lended: 92835171 borrowed: 0 giants: 0
> >>  tokens: -7 ctokens: -7
> >>
> >>
> >> If you need more values you're free to ask.
> >
> > Since you're so kind... :-) There is a line in net/sched/sch_htb.c:
> >
> > #define HTB_HYSTERESIS 1        /* whether to use mode hysteresis for speedup */
> >
> > Could you change 1 to 0, and repeat these tests above after recompiling?
> >
> > More thanks,
> > Jarek P.
> >
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ