[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1295518636.2825.4.camel@edumazet-laptop>
Date: Thu, 20 Jan 2011 11:17:16 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: netdev <netdev@...r.kernel.org>, Patrick McHardy <kaber@...sh.net>,
Jesper Dangaard Brouer <hawk@...u.dk>,
Jarek Poplawski <jarkao2@...il.com>, jamal <hadi@...erus.ca>
Subject: Re: [PATCH net-next-2.6] net_sched: sfq: allow divisor to be a
variable
Le jeudi 20 janvier 2011 à 10:50 +0100, Eric Dumazet a écrit :
> 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.
Arg, sorry for the double post, I had a tg3 failure on my machine.
Please disregard this copy.
--
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