[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200902021926.17768.denys@visp.net.lb>
Date: Mon, 2 Feb 2009 19:26:17 +0200
From: Denys Fedoryschenko <denys@...p.net.lb>
To: Stephen Hemminger <shemminger@...ux-foundation.org>
Cc: netdev@...r.kernel.org
Subject: [PATCH] [RESEND] iproute2 : invalid burst/cburst calculation with hrtimers
------------->
iproute2 : invalid burst/cburst calculation with hrtimers
If hrtimers on, /proc/net/psched shows 4th variable
as 1000000000
Because burst calculated by division rate to this variable,
it will be almost always zero. As result, we will get higher system
load on low rates, and on high rates shaper will not able to process
data. So it is kind of critical bugfix for systems with hrtimers.
It is checked and proved. Core 2 Quad was not able to
shape 200Mbps, and gave only 180-190. It is more safe to set it
to 1000HZ. If user wants, he can set custom "env" HZ variable.
Signed-off-by: Denys Fedoryschenko <denys@...p.net.lb>
---
-------------------------------------------------------
View attachment "iproute2-htb-gethz-invalid.patch" of type "text/x-diff" (1262 bytes)
Powered by blists - more mailing lists