Results 1 to 4 of 4
Hi linux experts!
I wanted to know how I can enable scalable I/O in the case of IPSec encrypted packets to support RSS supported Intel NIC cards.
To explain a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-29-2010 #1Just Joined!
- Join Date
- Sep 2006
- Posts
- 6
Enabling Scalable I/O for IpSec packets
Hi linux experts!
I wanted to know how I can enable scalable I/O in the case of IPSec encrypted packets to support RSS supported Intel NIC cards.
To explain a little more details, we have a system with a heavy n/w i/o traffic of IPSec encrypted packets. The system that we use is 8 core Intel Nehalam machine. What we see is that if IPSec is enabled, the whole load of encryption/decryption is getting loaded into only one of the 8 cores! But without IPSec, packets received from n/w are getting distributed across to all 8 cores.
I happened to know that Intel NIC supports RSS and if we wanted to distribute encrypted packets across to all 8 cores, we need to enable scalable I/O in linux 2.6.x kernel.
So, it would be of great great help if any of you can throw some light on this!!!
With lots of hope,
Rajesh
- 01-30-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,142
I don't know for sure, but I suspect that the IPSec sub-system is not reintrant, so all kernel calls to it have to queue, probably on a mutex or other semaphore. You need to dig into this and change it if possible. This will result in a custom kernel most likely, though if the code is in a loadable kernel module you might get away with just changing that instead of creating an entirely new kernel. As I said, I don't know for sure because I haven't got this deep into the network stack.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-03-2010 #3Just Joined!
- Join Date
- Sep 2006
- Posts
- 6
Hi Rubberman,
Many thanks!
But unfortunately, I don't have the resources/expertise/time to make such kernel level changes.
I got to know from the Intel NIC support that if we can enable the scalable I/O in Linux kernel, then this traffic distribution across all the cores should be possible.
But do you know how to enable/configure scalable I/O in linux?
thanks,
-Rajesh
- 02-03-2010 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 10,142
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote

