|To:||Jamal Hadi <hadi@xxxxxxxxxxxxxxxx>|
|Subject:||Re: [Fwd: [ANNOUNCE] Layer-7 Filter for Linux QoS]|
|From:||Ethan Sommer <sommere@xxxxxxxxxxx>|
|Date:||Tue, 20 May 2003 00:07:33 -0500|
|Cc:||"David S. Miller" <davem@xxxxxxxxxx>, linux-net@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx|
|User-agent:||Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030515 Thunderbird/0.1a|
Jamal Hadi wrote:
I picked Spencer's mainly because it was a pain to port the glibc version into kernel space. They are both basically the posix regexp interface, so if someone wants to get another version working in kernel space we can test and see which one performs better with real load pretty easily.BTW, i am not sure how efficient the stuff that Henry spencer wrote is in comparison to newer research on variants of boyer-moore for regex searches. comment?
Yep. We haven't spent a lot of time on optimizations. Obviously that example can be fixed pretty quickly... except I'm not sure we can avoid it and stay thread safe? (linux can route multiple packets at the same time on an smp box right? so we can't just use a staically defined buffer...)The code also does seem inefficient but thats beside the point at the moment (ex you seem to malloc for every incoming packet so you can do a regex).
Ethan Sommer http://l7-filter.sf.net
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: Route cache performance under stress, Pekka Savola|
|Next by Date:||Re: [PATCH] IPv6 IPComp, David S. Miller|
|Previous by Thread:||Re: [Fwd: [ANNOUNCE] Layer-7 Filter for Linux QoS], Jamal Hadi|
|Next by Thread:||Re: [Fwd: [ANNOUNCE] Layer-7 Filter for Linux QoS], Jamal Hadi|
|Indexes:||[Date] [Thread] [Top] [All Lists]|