Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 80709 - HTB packet scheduler works incorectly with HZ other than 100 or 1024
HTB packet scheduler works incorectly with HZ other than 100 or 1024
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2002-12-30 02:48 EST by Mindaugas Riauba
Modified: 2007-04-18 12:49 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-06-07 15:40:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Mindaugas Riauba 2002-12-30 02:48:58 EST
Description of problem:
HTB packet scheduler works not correctly when HZ is other than 100
or 1024. RedHat's default is 512. And problem appears only with
UDP traffic. TCP is shaped OK.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Setup traffic shaping with HTB class.
2. Flood link with UDP traffic.
Actual results:
Traffic exceeds set limit or even is not shaped at all.

Expected results:
Shaped traffic.

Additional info:
At least in include/net/pkt_sched.h there is the following code:

#if HZ == 100
#define PSCHED_JSCALE 13
#elif HZ == 1024
#define PSCHED_JSCALE 10
Comment 1 Arjan van de Ven 2003-06-07 15:40:02 EDT
ought to be fixed in current erratum

Note You need to log in before you can comment on or make changes to this bug.