[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090509.134002.258408495.davem@davemloft.net>
Date: Sat, 09 May 2009 13:40:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: khc@...waw.pl, netdev@...r.kernel.org
Subject: Re: [PATCH] net: reduce number of reference taken on sk_refcnt
From: David Miller <davem@...emloft.net>
Date: Sat, 09 May 2009 13:34:54 -0700 (PDT)
> Consider the case where we always send some message on CPU A and
> then process the ACK on CPU B. We'll always be cancelling the
> timer on a foreign cpu.
I should also mention that TCP has a peculiar optimization of timers
that is likely being thwarted by your workload. It never deletes
timers under normal operation, it simply lets them still expire
and the handler notices that there is "nothing to do" and returns.
But when the connection does shut down, we have to purge all of
these timers.
That could be another part of why you see timers in your profile.
--
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