[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110120.165618.180427971.davem@davemloft.net>
Date: Thu, 20 Jan 2011 16:56:18 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, kaber@...sh.net, hawk@...u.dk,
jarkao2@...il.com, hadi@...erus.ca, shemminger@...tta.com
Subject: Re: [PATCH net-next-2.6] net_sched: sfq: allow divisor to be a
parameter
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 20 Jan 2011 11:14:58 +0100
> SFQ currently uses a 1024 slots hash table, and its internal structure
> (sfq_sched_data) allocation needs order-1 page on x86_64
>
> Allow tc command to specify a divisor value (hash table size), between 1
> and 65536.
> If no value is provided, assume the 1024 default size.
>
> This allows admins to setup smaller (or bigger) SFQ for specific needs.
>
> This also brings back sfq_sched_data allocations to order-0 ones, saving
> 3KB per SFQ qdisc.
>
> Jesper uses ~55.000 SFQ in one machine, this patch should free 165 MB of
> memory.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists