From: Maria Joana Urbano Date: Mon, 15 Mar 2004 11:37:16 +0000 Subject: Re: [LARTC] HTB speed Message-Id: <5.0.2.1.0.20040315113236.01bc5ac8@eden.dei.uc.pt> MIME-Version: 1 Content-Type: multipart/mixed; boundary="=======38B07481=======" List-Id: References: <20040312105840.50e8aab4.j.vriesman@prompt.nl> In-Reply-To: <20040312105840.50e8aab4.j.vriesman@prompt.nl> To: lartc@vger.kernel.org --=======38B07481======= Content-Type: text/plain; x-avg-checked=avg-ok-2753736; charset=us-ascii; format=flowed Content-Transfer-Encoding: 8bit >in pkt_sched.h: > >#define PSCHED_CLOCK_SOURCE PSCHED_CPU > >that's all, I wonder why it's not default to do this, or maybe it's an >idea to make the packet scheduler detect the presence of tsc when the >module is loaded. Hi, I think not all processors accept this #define PSCHED_CLOCK_SOURCE PSCHED_CPU. At least, I couldn't do it in my router. I am not using HTB but TBF, but I think the timing problems are similar. As to tune TBF with higher precision, I had to manually change Hz value from 100 to 1000, in param.h, and actually I am getting better results. My question is, does anybody tried to do this in an production environment? For instance, in a router that integrates traffic control, NAT, firewall, services gateway, etc., can this change in HZ value harm in any way the rest of the system? Thanks in advance, Joana Urbano --=======38B07481=======-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/