diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-10 08:51:29 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-10 08:51:29 +0200 |
commit | c1992ed1ad8fe41788665c88ed94f3648dce3bdc (patch) | |
tree | dbfa89b7f1c244f0a10fc5d7c5785432fde6871c | |
parent | 34afd49fca8bd2542ccde74218aaf677ed7156dd (diff) | |
download | rsyslog-c1992ed1ad8fe41788665c88ed94f3648dce3bdc.tar.gz rsyslog-c1992ed1ad8fe41788665c88ed94f3648dce3bdc.tar.bz2 rsyslog-c1992ed1ad8fe41788665c88ed94f3648dce3bdc.zip |
doc: clarify imudp "timeRequery" and "batchSize" interrelationship
-rw-r--r-- | doc/imudp.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/imudp.html b/doc/imudp.html index 22b1f722..25a8d87a 100644 --- a/doc/imudp.html +++ b/doc/imudp.html @@ -29,7 +29,17 @@ only activated if messages come in at a very fast rate, so doing less frequent time calls should usually be acceptable. The default value is two, because we have seen that even without optimization the kernel often returns twice the identical time. You can set this value as high as you like, but do so at your own risk. The higher -the value, the less precise the timestamp. +the value, the less precise the timestamp.<br> +<b>Note:</b> the timeRequery is done based on executed system calls (<b>not</b> +messages received). So when batch +sizes are used, multiple messages are received with one system call. All of these +messages always receive the same timestamp, as they are effectively received at the +same time. When there is very high traffic and successive system calls immediately +return the next batch of messages, the time requery logic kicks in, which means that +by default time is only queried for every second batch. Again, this should not cause +a too-much deviation as it requires messages to come in very rapidly. However, we advise +not to set the "timeRequery" parameter to a large value (larger than 10) if input +batches are used. <li><b>SchedulingPolicy</b> <rr/fifo/other><br> Can be used the set the scheduler priority, if the necessary functionality is provided by the platform. Most useful to select "fifo" for real-time |