Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix memory leak (regression from batch optimization work - unreleased) | Rainer Gerhards | 2013-01-18 | 1 | -0/+1 |
| | |||||
* | refactor / simplify | Rainer Gerhards | 2013-01-18 | 1 | -5/+3 |
| | |||||
* | optimize: reduce nbr of strcpy() in FROMHOST processing | Rainer Gerhards | 2013-01-18 | 6 | -30/+41 |
| | |||||
* | dnscache: switch to use hashtable instead of linked list | Rainer Gerhards | 2013-01-18 | 2 | -72/+58 |
| | |||||
* | optimize memory layout for much better cache hits | Rainer Gerhards | 2013-01-15 | 3 | -22/+30 |
| | | | | | | | | Moave element status out of batch_obj_t because we get a *much* better cache hit ratio this way. Note that this is really a HUGE saving, even if it doesn't look so (both profiler data as well as practical tests indicate that!). | ||||
* | bugfix: regression from textpri() optimization | Rainer Gerhards | 2013-01-15 | 1 | -1/+2 |
| | |||||
* | optimize: use fixed size (8 bits) instead of enum | Rainer Gerhards | 2013-01-15 | 1 | -7/+6 |
| | | | | | | looks like GCC, even if optimizing, uses 32 bits - at least this is suggested by the profiler results (both in terms of runtime and cache misses). | ||||
* | optimize: re-use already computed value! | Rainer Gerhards | 2013-01-14 | 1 | -2/+2 |
| | |||||
* | optimize: use built-in str comparison, as this is optimized in assembly | Rainer Gerhards | 2013-01-14 | 1 | -7/+1 |
| | | | | | do only when possible. However, the profiler only shows as *very* minimal effect. | ||||
* | optimize: save inspection of already-inspected data | Rainer Gerhards | 2013-01-14 | 1 | -2/+8 |
| | | | | this is just a small improvement, but let's get the benefit ;) | ||||
* | optimize: slight improvement due to isdigit() replacement | Rainer Gerhards | 2013-01-14 | 1 | -2/+3 |
| | |||||
* | optimize: iscntrl() seems to be surprisingly slow | Rainer Gerhards | 2013-01-14 | 1 | -4/+3 |
| | | | | at least so tells the profiler... | ||||
* | optimize: obtaining programname | Rainer Gerhards | 2013-01-14 | 3 | -64/+35 |
| | | | | included some additional refactoring for cleaner code | ||||
* | optimzize: msg/getNow() - remove snprintf | Rainer Gerhards | 2013-01-14 | 1 | -8/+26 |
| | | | | instead, we use a lookup table for the values. | ||||
* | optimize: permit cancel during object destruction | Rainer Gerhards | 2013-01-14 | 1 | -4/+1 |
| | | | | | | | 1) usually, no cancellation happens 2) even if so, there is no cancellation point inside the destructors, so disabeling cancellation was mood in the first place... | ||||
* | optimize msg.c/textpri | Rainer Gerhards | 2013-01-14 | 2 | -11/+14 |
| | | | | remove snprintf() in favor for quicker code | ||||
* | omfile: improved async writing, finally enabled full async write | Rainer Gerhards | 2013-01-14 | 1 | -11/+17 |
| | | | | also fixed a couple of smaller issues along that way | ||||
* | Merge branch 'v7-stable-libnet-frag' | Rainer Gerhards | 2013-01-14 | 4 | -1/+27 |
|\ | | | | | | | | | Conflicts: ChangeLog | ||||
| * | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2013-01-14 | 1 | -1/+3 |
| |\ | |||||
| | * | Merge branch 'v5-stable' into v7-stable | Rainer Gerhards | 2013-01-14 | 1 | -1/+3 |
| | |\ | |||||
| | | * | bugfix: decrement string length | Tomas Heinrich | 2013-01-14 | 1 | -1/+3 |
| | | | | |||||
| * | | | added capability to output thread-id-to-function debug info | Rainer Gerhards | 2013-01-13 | 3 | -0/+24 |
| | | | | | | | | | | | | | | | | This is a useful debug aid, but nothing of concern for regular users. | ||||
| * | | | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2013-01-09 | 3 | -1/+13 |
| |\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog | ||||
| * | | | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2013-01-09 | 2 | -1/+5 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac | ||||
| * \ \ \ | Merge branch 'v7-stable' into v7-stable-libnet-frag | Rainer Gerhards | 2012-12-20 | 1 | -7/+18 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/omudpspoof/omudpspoof.c | ||||
* | | | | | | optimize: do date() call in template processing only if actually needed | Rainer Gerhards | 2013-01-13 | 1 | -0/+4 |
| | | | | | | |||||
* | | | | | | Merge branch 'v7-stable' | Rainer Gerhards | 2013-01-09 | 3 | -1/+13 |
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | Conflicts: ChangeLog | ||||
| * | | | | | fix typo from last patch, prevented compile on non-solaris | Rainer Gerhards | 2013-01-09 | 1 | -2/+2 |
| | | | | | | |||||
| * | | | | | Use compatibility library if getifaddrs(3) not available | Martin Carpenter | 2013-01-09 | 1 | -0/+4 |
| | | | | | | |||||
| * | | | | | Check that sysinfo(2) can return uptime | Martin Carpenter | 2013-01-09 | 1 | -1/+6 |
| | | | | | | |||||
| * | | | | | Add LOG_AUDIT facility for eg Solaris | Martin Carpenter | 2013-01-09 | 1 | -0/+3 |
| | |_|/ / | |/| | | | |||||
* | | | | | Merge branch 'v7-stable' | Rainer Gerhards | 2013-01-08 | 3 | -8/+23 |
|\| | | | | |||||
| * | | | | bugfix: timeval2syslogTime cause problems on some platforms | David Hill | 2013-01-08 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | ...due to invalid assumption on structure data types. closes: http://bugzilla.adiscon.com/show_bug.cgi?id=394 | ||||
| * | | | | bugfix: very large memory consumption (and probably out of memory) | Rainer Gerhards | 2013-01-07 | 1 | -0/+2 |
| | |/ / | |/| | | | | | | | | | | | | | | ...when FromPos was specified in template, but ToPos not. Thanks to Radu Gheorghe for alerting us of this bug. | ||||
| * | | | bugfix: on termination, actions were incorrectly called | Rainer Gerhards | 2012-12-20 | 1 | -7/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was that incomplete fiter evaluation was done *during the shutdown phase*. This affected only the LAST batches being processed. No problem existed during the regular run. Could usually only happen on very busy systems, which were still busy during shutdown. | ||||
* | | | | Merge branch 'v7-stable-libnet-frag' | Rainer Gerhards | 2012-12-18 | 1 | -2/+1 |
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | Conflicts: runtime/rsyslog.h | ||||
| * | | | cosmetic: re-use existing error code instead of new one | Rainer Gerhards | 2012-12-18 | 1 | -2/+1 |
| | | | | |||||
* | | | | Merge branch 'v7-stable-libnet-frag' | Rainer Gerhards | 2012-12-18 | 1 | -0/+1 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac plugins/impstats/impstats.c plugins/omudpspoof/omudpspoof.c runtime/rsyslog.h | ||||
| * | | | omudpspoof: improve libnet calling sequence | Rainer Gerhards | 2012-12-18 | 1 | -0/+1 |
| |/ / | | | | | | | | | | retains bugfix while increasing performance again | ||||
* | | | fix some compile problems on some platforms | Rainer Gerhards | 2012-12-14 | 1 | -1/+0 |
| | | | |||||
* | | | minor cleanup | Rainer Gerhards | 2012-12-14 | 1 | -0/+1 |
| | | | |||||
* | | | Merge branch 'master-optimize-facilitext' | Rainer Gerhards | 2012-12-14 | 1 | -11/+11 |
|\ \ \ | |||||
| * | | | enhance optimizer: detect eq-comparison for syslog facility | Rainer Gerhards | 2012-12-11 | 1 | -11/+11 |
| | | | | | | | | | | | | | | | | ... and replace it with a (much faster) prifilt() call | ||||
* | | | | Merge branch 'v7-stable' | Rainer Gerhards | 2012-12-13 | 1 | -1/+1 |
|\ \ \ \ | | |/ / | |/| | | |||||
| * | | | Merge branch 'v6-stable' into v7-stable | Rainer Gerhards | 2012-12-13 | 1 | -1/+1 |
| |\ \ \ | |||||
| | * \ \ | Merge branch 'v5-stable' into v6-stable | Rainer Gerhards | 2012-12-13 | 1 | -1/+1 |
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | Conflicts: ChangeLog | ||||
| | | * | | bugfix: invalid DST handling under Solaris | Scott Severtson | 2012-12-13 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge branch 'v7-stable-newmsglock' into master-newmsglock | Rainer Gerhards | 2012-12-06 | 8 | -156/+164 |
|\| | | | | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c | ||||
| * | | | Merge branch 'v6-stable-newmsglock' into v7-stable-newmsglock | Rainer Gerhards | 2012-12-06 | 2 | -149/+9 |
| |\| | | | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c | ||||
| | * | | bugfix: some message properties could be garbled due to race condition | Rainer Gerhards | 2012-12-06 | 2 | -149/+9 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This happened only on very high volume systems, if the same message was being processed by two different actions. This was a regression caused by the new config processor, which did no longer properly enable msg locking in multithreaded cases. The bugfix is actually a refactoring of the msg locking code - we no longer do unlocked operations, as the use case for it has mostly gone away. It is potentially possible only at very low-end systems, and there the small additional overhead of doing the locking does not really hurt. Instead, the removal of that capability can actually slightly improve performance in common cases, as the code path is smaller and requires slightly less memory writes. That probably outperforms the extra locking overhead (which in the low-end case always happens in user space, without need for kernel support as we can always directly aquire the lock - there is no contention at all). |