[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140304.153732.1314382655798460205.davem@davemloft.net>
Date: Tue, 04 Mar 2014 15:37:32 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: hannes@...essinduktion.org
Cc: netdev@...r.kernel.org, yannick@...hler.name,
eric.dumazet@...il.com, xiyou.wangcong@...il.com, dan@...dstab.net
Subject: Re: [PATCH net-next v2] unix: add read side socket memory
accounting for dgram sockets
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
Date: Tue, 4 Mar 2014 21:13:36 +0100
> Just a small followup:
>
> Because of the additional sock_wfree during skb handover in unix_dgram_sendmsg
> the spinlock in __wake_up_sync_key is hit more often thus more cacheline
> bouncing.
>
> Deferring the POLLOUT notification after the sock_rfree in unix_dgram_recvmsg
> already halfed the number of context switches with the new patch.
>
> I try to play with some other ideas this week and will submit new patch with
> performance numbers.
>
> Haven't noticed any problems with the additional atomic operations
> performance-wise so far.
Ok, thanks for the update.
--
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