summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* refactor / simplifyRainer Gerhards2013-01-181-5/+3
|
* optimize: reduce nbr of strcpy() in FROMHOST processingRainer Gerhards2013-01-186-30/+41
|
* dnscache: switch to use hashtable instead of linked listRainer Gerhards2013-01-182-72/+58
|
* optimize memory layout for much better cache hitsRainer Gerhards2013-01-153-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() optimizationRainer Gerhards2013-01-151-1/+2
|
* optimize: use fixed size (8 bits) instead of enumRainer Gerhards2013-01-151-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 Gerhards2013-01-141-2/+2
|
* optimize: use built-in str comparison, as this is optimized in assemblyRainer Gerhards2013-01-141-7/+1
| | | | | do only when possible. However, the profiler only shows as *very* minimal effect.
* optimize: save inspection of already-inspected dataRainer Gerhards2013-01-141-2/+8
| | | | this is just a small improvement, but let's get the benefit ;)
* optimize: slight improvement due to isdigit() replacementRainer Gerhards2013-01-141-2/+3
|
* optimize: iscntrl() seems to be surprisingly slowRainer Gerhards2013-01-141-4/+3
| | | | at least so tells the profiler...
* optimize: obtaining programnameRainer Gerhards2013-01-143-64/+35
| | | | included some additional refactoring for cleaner code
* optimzize: msg/getNow() - remove snprintfRainer Gerhards2013-01-141-8/+26
| | | | instead, we use a lookup table for the values.
* optimize: permit cancel during object destructionRainer Gerhards2013-01-141-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/textpriRainer Gerhards2013-01-142-11/+14
| | | | remove snprintf() in favor for quicker code
* omfile: improved async writing, finally enabled full async writeRainer Gerhards2013-01-141-11/+17
| | | | also fixed a couple of smaller issues along that way
* Merge branch 'v7-stable-libnet-frag'Rainer Gerhards2013-01-144-1/+27
|\ | | | | | | | | Conflicts: ChangeLog
| * Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-141-1/+3
| |\
| | * Merge branch 'v5-stable' into v7-stableRainer Gerhards2013-01-141-1/+3
| | |\
| | | * bugfix: decrement string lengthTomas Heinrich2013-01-141-1/+3
| | | |
| * | | added capability to output thread-id-to-function debug infoRainer Gerhards2013-01-133-0/+24
| | | | | | | | | | | | | | | | This is a useful debug aid, but nothing of concern for regular users.
| * | | Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-093-1/+13
| |\| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2013-01-092-1/+5
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| * \ \ \ Merge branch 'v7-stable' into v7-stable-libnet-fragRainer Gerhards2012-12-201-7/+18
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/omudpspoof/omudpspoof.c
* | | | | | optimize: do date() call in template processing only if actually neededRainer Gerhards2013-01-131-0/+4
| | | | | |
* | | | | | Merge branch 'v7-stable'Rainer Gerhards2013-01-093-1/+13
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | | fix typo from last patch, prevented compile on non-solarisRainer Gerhards2013-01-091-2/+2
| | | | | |
| * | | | | Use compatibility library if getifaddrs(3) not availableMartin Carpenter2013-01-091-0/+4
| | | | | |
| * | | | | Check that sysinfo(2) can return uptimeMartin Carpenter2013-01-091-1/+6
| | | | | |
| * | | | | Add LOG_AUDIT facility for eg SolarisMartin Carpenter2013-01-091-0/+3
| | |_|/ / | |/| | |
* | | | | Merge branch 'v7-stable'Rainer Gerhards2013-01-083-8/+23
|\| | | |
| * | | | bugfix: timeval2syslogTime cause problems on some platformsDavid Hill2013-01-081-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 Gerhards2013-01-071-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 calledRainer Gerhards2012-12-201-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 Gerhards2012-12-181-2/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | | cosmetic: re-use existing error code instead of new oneRainer Gerhards2012-12-181-2/+1
| | | |
* | | | Merge branch 'v7-stable-libnet-frag'Rainer Gerhards2012-12-181-0/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac plugins/impstats/impstats.c plugins/omudpspoof/omudpspoof.c runtime/rsyslog.h
| * | | omudpspoof: improve libnet calling sequenceRainer Gerhards2012-12-181-0/+1
| |/ / | | | | | | | | | retains bugfix while increasing performance again
* | | fix some compile problems on some platformsRainer Gerhards2012-12-141-1/+0
| | |
* | | minor cleanupRainer Gerhards2012-12-141-0/+1
| | |
* | | Merge branch 'master-optimize-facilitext'Rainer Gerhards2012-12-141-11/+11
|\ \ \
| * | | enhance optimizer: detect eq-comparison for syslog facilityRainer Gerhards2012-12-111-11/+11
| | | | | | | | | | | | | | | | ... and replace it with a (much faster) prifilt() call
* | | | Merge branch 'v7-stable'Rainer Gerhards2012-12-131-1/+1
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'v6-stable' into v7-stableRainer Gerhards2012-12-131-1/+1
| |\ \ \
| | * \ \ Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-12-131-1/+1
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | Conflicts: ChangeLog
| | | * | bugfix: invalid DST handling under SolarisScott Severtson2012-12-131-1/+1
| | | | |
* | | | | Merge branch 'v7-stable-newmsglock' into master-newmsglockRainer Gerhards2012-12-068-156/+164
|\| | | | | |_|_|/ |/| | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
| * | | Merge branch 'v6-stable-newmsglock' into v7-stable-newmsglockRainer Gerhards2012-12-062-149/+9
| |\| | | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c
| | * | bugfix: some message properties could be garbled due to race conditionRainer Gerhards2012-12-062-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).
| * | | fix missing functionality: ruleset(){} could not specify ruleset queueRainer Gerhards2012-11-304-10/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "queue.xxx" parameter set was not supported, and legacy ruleset config statements did not work (by intention). The fix introduces the "queue.xxx" parameter set. It has some regression potential, but only for the new functionality. Note that using that interface it is possible to specify duplicate queue file names, which will cause trouble. This will be solved in v7.3, because there is a too-large regression potential for the v7.2 stable branch.