phaag / nfdump

Netflow processing tools
Other
771 stars 202 forks source link

Compression test ./nftest #40

Closed ekbfh closed 7 years ago

ekbfh commented 7 years ago

I can't find where i can find 'nftest' binary.

Even if i have configured with './configure --enable-nfprofile --enable-nftrack --enable-devel' This string is from the manual: You can check the compression speed for your system by doing ./nftest .

phaag commented 7 years ago

just do: make nftest

ekbfh commented 7 years ago

It's not working. There is no rule for 'nftest'

phaag commented 7 years ago

Sure it does. I use it.

ekbfh commented 7 years ago

Dear Peter, please have a look: My steps:

autoreconf -if' ./configure ./make nftest "No rule to make target ''. Stop./// Нет правила для сборки цели «nftest». Останов."

I think, that rule about nftest there is only in bin/Makefile, not in the root folder. (i used grep -R nftest.c *)

Main question: why it is forbidden to use -j instead of -z in nfsen? I simply can't find a proper value in the config file.

phaag commented 7 years ago

Hi, nftest is build on the targed 'check' - 'make check' builds nftest.

To your question: It is not forbidden to use -j instead of -z. If your servers are powerful enough, use -j. It is not recommended, as compression with -j uses much more CPU and take much longer than -z. This puts a risk to loose flows on a busy network.

Hope, this helps

- Peter

On 20.10.16 16:44, ekbfh wrote:

Dear Peter, please have a look: My steps:

autoreconf -if' ./configure ./make nftest "No rule to make target ''. Stop./// Нет правила для сборки цели «nftest». Останов."

I think, that rule about nftest there is only in bin/Makefile, not in the root folder. (i used grep -R nftest.c *)

Main question: why it is forbidden to use -j instead of -z in nfsen? I simply can't find a proper value in the config file.