netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [conntrack-utils PATCH r7285 00/11] conntrackd with libevent
@ 2008-01-22 14:10 Max Kellermann
  2008-01-22 14:10 ` [conntrack-utils PATCH r7285 10/11] use libevent Max Kellermann
                   ` (11 more replies)
  0 siblings, 12 replies; 30+ messages in thread
From: Max Kellermann @ 2008-01-22 14:10 UTC (permalink / raw)
  To: netfilter-devel

Hi Pablo,

another patch series, some smaller fixes, and the big part is
conntrackd with libevent.  While looking for a nice solutions for the
"huge sorted list of alarms" scaling problem, I thought about storing
alarms in some sort of tree.  After a quick look at libevent, I saw
they did it exactly this way.  Let's benchmark libevent against the
existing alarm library.  I don't think it's worth it to continue work
on alarm.c, when well-tested code is already available in libevent.

I did not update configure.ac yet to check for libevent, I am waiting
for your benchmark results.

Max

---

Max Kellermann (11):
      remove the alarm library
      use libevent
      added handler callback to mcast_sock
      check if the received packet is large enough
      use size_t
      remove obsolete prototypes
      added missing ntohs()
      added alarm_pending()
      moved process function pointer to struct local_server
      added struct local_server
      -1 means error, not 0


 include/Makefile.am  |    2 -
 include/alarm.h      |   33 ---------
 include/conntrackd.h |    6 +-
 include/local.h      |   20 ++++-
 include/mcast.h      |   16 +++-
 include/network.h    |    8 +-
 src/Makefile.am      |    4 +
 src/alarm.c          |  191 --------------------------------------------------
 src/build.c          |    2 -
 src/cache_timer.c    |   39 +++++++---
 src/local.c          |   42 +++++++----
 src/main.c           |   12 +++
 src/mcast.c          |   75 ++++++++++++++++++--
 src/network.c        |   22 +++---
 src/run.c            |  177 ++++++++++++++++++----------------------------
 src/stats-mode.c     |    1 
 src/sync-alarm.c     |   58 ++++++++++-----
 src/sync-ftfw.c      |   27 +++++--
 src/sync-mode.c      |   60 ++++------------
 19 files changed, 329 insertions(+), 466 deletions(-)
 delete mode 100644 include/alarm.h
 delete mode 100644 src/alarm.c


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2008-01-25 18:03 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-22 14:10 [conntrack-utils PATCH r7285 00/11] conntrackd with libevent Max Kellermann
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 10/11] use libevent Max Kellermann
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 09/11] added handler callback to mcast_sock Max Kellermann
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 05/11] added missing ntohs() Max Kellermann
2008-01-23 11:07   ` Pablo Neira Ayuso
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 08/11] check if the received packet is large enough Max Kellermann
2008-01-23 11:46   ` Pablo Neira Ayuso
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 06/11] remove obsolete prototypes Max Kellermann
2008-01-23 11:15   ` Pablo Neira Ayuso
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 01/11] -1 means error, not 0 Max Kellermann
2008-01-23 10:16   ` Pablo Neira Ayuso
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 04/11] added alarm_pending() Max Kellermann
2008-01-23 11:50   ` Pablo Neira Ayuso
2008-01-23 11:58     ` Max Kellermann
2008-01-23 12:16       ` Pablo Neira Ayuso
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 03/11] moved process function pointer to struct local_server Max Kellermann
2008-01-23 10:45   ` Pablo Neira Ayuso
2008-01-23 10:52     ` Max Kellermann
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 11/11] remove the alarm library Max Kellermann
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 07/11] use size_t Max Kellermann
2008-01-23 12:29   ` Pablo Neira Ayuso
2008-01-23 12:37     ` Max Kellermann
2008-01-23 12:58       ` Pablo Neira Ayuso
2008-01-22 14:10 ` [conntrack-utils PATCH r7285 02/11] added struct local_server Max Kellermann
2008-01-23 10:36   ` Pablo Neira Ayuso
2008-01-23 12:07 ` [conntrack-utils PATCH r7285 00/11] conntrackd with libevent Pablo Neira Ayuso
2008-01-23 12:26   ` Max Kellermann
2008-01-23 12:50     ` Pablo Neira Ayuso
2008-01-25 18:01       ` Pablo Neira Ayuso
2008-01-25 18:03         ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).