[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <492A6C94.7030308@cosmosbay.com>
Date: Mon, 24 Nov 2008 09:57:56 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: Linux Netdev List <netdev@...r.kernel.org>
Subject: [RFC] Could we avoid touching dst->refcount in some cases ?
tbench has hard time incrementing decrementing the route cache refcount
shared by all communications on localhost.
On real world, we also have this problem on RTP servers sending many UDP
frames to mediagateways, especially big ones handling thousand of streams.
Given that route entries are using RCU, we probably can avoid incrementing
their refcount in case of connected sockets ?
Here is a (untested and probably not working at all) patch on UDP part to
illustrate the idea :
View attachment "avoid_touching_refcount.patch" of type "text/plain" (1272 bytes)
Powered by blists - more mailing lists