Skip to content

Commit

Permalink
README: Document exportcpu module option.
Browse files Browse the repository at this point in the history
Which was implemented at a609108
  • Loading branch information
aabc committed Apr 9, 2015
1 parent f4b6edd commit 57d3cbf
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -532,14 +532,26 @@ ipt_NETFLOW linux 2.6.x-3.x kernel module by <[email protected]> -- 2008-2015.
snmp-rules are compilation disabled by default, to enable you will need
to add --enable-snmp option to ./configure script.

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

promisc = 1
promisc=1
- Enable promisc hack. See README.promisc Solution.1 for details.

exportcpu=number
- Lock exporter to single CPU. This may be useful to fine control CPU
load. Common use case: with smp_affinity and RSS you spread packet
processing to all CPUs except one, and lock it to the exporter. While
exporter CPU load generally is not high, for someone it may be not
desirable to combine it with packet processing on very highly loaded
routers.

This option also could be changed at runtime with:

# echo number > /sys/module/ipt_NETFLOW/parameters/exportcpu


====================
= HOW TO READ STAT =
Expand Down

0 comments on commit 57d3cbf

Please sign in to comment.