Skip to content

Commit 57d3cbf

Browse files
committed
README: Document exportcpu module option.
Which was implemented at a609108
1 parent f4b6edd commit 57d3cbf

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README

+14-2
Original file line numberDiff line numberDiff line change
@@ -532,14 +532,26 @@ ipt_NETFLOW linux 2.6.x-3.x kernel module by <[email protected]> -- 2008-2015.
532532
snmp-rules are compilation disabled by default, to enable you will need
533533
to add --enable-snmp option to ./configure script.
534534

535-
scan-min = 1
535+
scan-min=1
536536
- Minimal interval between flow export scans. Sometimes could be useful
537537
to reduce load on exporting CPU by increasing this interval. Value are
538538
in kernel jiffies units (which is x/HZ seconds).
539539

540-
promisc = 1
540+
promisc=1
541541
- Enable promisc hack. See README.promisc Solution.1 for details.
542542

543+
exportcpu=number
544+
- Lock exporter to single CPU. This may be useful to fine control CPU
545+
load. Common use case: with smp_affinity and RSS you spread packet
546+
processing to all CPUs except one, and lock it to the exporter. While
547+
exporter CPU load generally is not high, for someone it may be not
548+
desirable to combine it with packet processing on very highly loaded
549+
routers.
550+
551+
This option also could be changed at runtime with:
552+
553+
# echo number > /sys/module/ipt_NETFLOW/parameters/exportcpu
554+
543555

544556
====================
545557
= HOW TO READ STAT =

0 commit comments

Comments
 (0)