[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101116.113539.70186269.davem@davemloft.net>
Date: Tue, 16 Nov 2010 11:35:39 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6 V2] net: reorder struct sock fields
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 16 Nov 2010 16:56:04 +0100
> Le mardi 16 novembre 2010 à 08:12 +0100, Eric Dumazet a écrit :
>> Right now, fields in struct sock are not optimally ordered, because each
>> path (RX softirq, TX completion, RX user, TX user) has to touch fields
>> that are contained in many different cache lines.
>>
>
> Performance testing pointed out I forgot :
>
> - sk_drops, read for each queued packet, and incremented on packet drops
> - sk_flags tested in sock_def_readable()
> - sk_policy[0]
>
> Here is V2 of patch :
>
> [PATCH net-next-2.6 V2] net: reorder struct sock fields
Applied, thanks!
--
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