Re: Internet-Draft on Port Randomisation

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Tuesday, September 9, 2008 - 7:28 am

Stephen Hemminger <stephen.hemminger@vyatta.com> writes:


[haven't read the draft] But you don't necessarily need a full global
lock for such a scheme. What works too is to access global state only
ever N accesses and pre-allocate a small range per CPU. While there's
still some global overhead then, it happens significantly less. My old
alternative ipid setup algorithm worked this way.

One drawback of such a scheme today: on RT kernels the per CPU state
tends to be become a problem.

-Andi
-- 
ak@linux.intel.com
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Internet-Draft on Port Randomisation, Eugene Teo, (Mon Sep 8, 9:07 pm)
Re: Internet-Draft on Port Randomisation, Stephen Hemminger, (Mon Sep 8, 9:58 pm)
Re: Internet-Draft on Port Randomisation, Eugene Teo, (Mon Sep 8, 11:31 pm)
Re: Internet-Draft on Port Randomisation, Andi Kleen, (Tue Sep 9, 7:28 am)
Re: Internet-Draft on Port Randomisation, David Miller, (Tue Sep 9, 1:04 pm)
Re: Internet-Draft on Port Randomisation, Andi Kleen, (Tue Sep 9, 1:11 pm)