Open GoogleCodeExporter opened 9 years ago
Hello, Azamat!
I executed performance tests on Linux, netmap, ixgbe 10GE.
I builded following scheme:
Flood server - eth4/filter server/eth6 - client
And run ./kipfw netmap:eth4 netmap:eth6 and flood server with 6MPPS of syn
flood with trafgen.
And got following results:
top - 13:33:05 up 3 min, 2 users, load average: 0.44, 0.13, 0.05
Tasks: 78 total, 2 running, 76 sleeping, 0 stopped, 0 zombie
%Cpu(s): 10.0 us, 14.8 sy, 0.0 ni, 74.6 id, 0.0 wa, 0.0 hi, 0.7 si, 0.0 st
KiB Mem: 32980328 total, 546592 used, 32433736 free, 45320 buffers
KiB Swap: 8387580 total, 0 used, 8387580 free, 32204 cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3105 root 20 0 660m 9060 8908 R 99.5 0.0 0:25.36 kipfw
1 [|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||100.0%] Tasks: 26, 3 thr, 52 kthr; 2 running
2 [ 0.0%] Load average: 0.60 0.19 0.07
3 [ 0.0%] Uptime: 00:03:48
4 [| 0.7%]
Mem[||| 458/32207MB]
Swp[ 0/8190MB]
As you can see, kipfw uses only single thread and can't process more.
If you want more performance we should introduce threads support to kipfw.
Original comment by pavel.odintsov
on 4 Mar 2015 at 1:57
Original issue reported on code.google.com by
azamat.u...@gmail.com
on 1 Jan 2015 at 12:21