Re: [Ocf-linux-users] Openswan 2.4.9 - tasklet or workqueue ?
Brought to you by:
david-m
From: David M. <Dav...@se...> - 2007-09-26 14:25:09
|
Jivin Eran Ben-Avi lays it down ... > > Jivin Eran Ben-Avi lays it down ... > > > 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 ? > > > > Sure, send in a patch. This is against > > ocf-linux-20070727 right ? > Yes. > Can you please estimate when next release will be > ready? I can probably do one in about a week (offline next week). I could more easily drop a diff since the last release if that helps you out. I have made a few small changes to your patch so it should be safe on 2.4 systems yet still select tasklets on 2.6 automatically. Could you have a look at it ? I have done some basic testing here and it seems ok, haven't checked your performance increases yet ;-) Thanks, Davidm -- David McCullough, dav...@se..., Ph:+61 734352815 Secure Computing - SnapGear http://www.uCdot.org http://www.cyberguard.com |