Bug 77163
Summary: | traffic shaping does not work as expected | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <aander07> |
Component: | kernel | Assignee: | Arjan van de Ven <arjanv> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.2 | CC: | hrunting |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-04-11 11:53:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Need Real Name
2002-11-01 23:05:11 UTC
Here is the CBQ config file in use: DEVICE=eth1,100Mbit,10Mbit RATE=40Mbit WEIGHT=4Mbit PRIO=5 BUFFER=800Kb/8 LIMIT=1200Kb RULE=<local ip>, And /sbin/cbq had AVPKT changed to 10000 so that shaping would work correctly in 2.4.9. 2.4.18-17.7.x i586 with HZ=100 appears to work as expected, so it looks like the higher HZ values in 2.4.18-17.7.x i686 kernels break some assumptions in the traffic shaping code. The question is, is this a kernel bug, or is it a bug in shapecfg? If you can confirm it is the latter, reassign it to me arjan if you like. sysstat is also afflicted by a similar problem in bug #73827 Oops! The above bug in my last comment is wrong. The sysstat bug is bug #74302 So, uh, this has been quiet for a couple of weeks, and wasn't fixed in the latest errata release. Is there a workaround? Andrew mentioned assumptions based on the HZ value in the kernel. Should values passed to the traffic shaper be adjusted for this? If so, how so? I *really* need this traffic shaping. This appears to have been fixed as of 2.4.18-26.7.x. Shaping is working at least up to 70Mb/s now. I've tested this on rhl 7.2 on kernel 2.4.18-27.7.x and it doesn't seem to be fixed. I'm seeing a lot higher load than I was wunder 2.4.9-31 and not seeing the bandwidth usage decrease. Are you sure you're seeing it work on -26? Have you tried -27 - maybe it was a regression? This bug should really be reopened. The traffic shaping is NOT working in 2.4.18-27.7.x |