Re: [PATCH] net_sched: htb: do not mix 1ns and 64ns time units
From: Eric Dumazet <hidden>
Date: 2013-06-04 20:50:35
From: Eric Dumazet <hidden>
Date: 2013-06-04 20:50:35
On Tue, 2013-06-04 at 22:21 +0200, Jesper Dangaard Brouer wrote:
But how is this 64-bit usage going to affect performance for smaller ARM/MIPS based home routers, where shaping at these low rates is more relevant? (I'm just asking because I don't know, and just test this on a 24-CPU machine).
Well, by definition shaping at low rates is mostly using the timer infra, and its already 64bit. You'll hardly spend time in HTB. Note that psched_time_t is already 64bit wide. Only psched_tdiff_t is 'unsigned long', and the change I made in this patch will not change performance even on 32bit hosts.