Openswan 2.4.9 - tasklet or workqueue ?
From: Eran Ben-Avi <hidden>
Date: 2007-08-27 07:33:16
From: Eran Ben-Avi <hidden>
Date: 2007-08-27 07:33:16
Hi,
I tested IPSec(tunnel mode) routing performance between 2 GbE ports using packet generator(SMARTBIT) on ARM 500MHz with latest OCF patched on Openswan2.4.9 and I noticed the callback functions are using workqueue.
Since RX was performed in NAPI mode with higher priority then TX (in workqueue), the callback function(in ipsec_ocf.c) was starved with zero routing.
The problem was solved after I switched to use tasklet instead of the workqueue.
Is there a room for updating next OCF release ?
Please advice.
Thanks,
Eran Ben-Avi
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433