HOWTO : Performance Test on Croissants

Croissants is an Intrusion Detection and Prevention System and it is running AF_PACKET as inline mode.



Hardware



Croissants :



Motherboard : ASRock Rack C2750D4I server board

CPU : Intel Atom C2750

RAM : 4 x 8GB (32GB) DDR3-1600



The performance of C2750 is similar to Xeon E3-1220L. Please refer to the comparison page at here.



Laptop(A) :



Model : Lenovo Thinkpad X200

RAM : 4 GB



Laptop(B) :



Model : Lenovo Thinkpad X201s

RAM : 8 GB



Software



Croissants



Croissants is installed with nsm_install_4core_16ram (version 0.1.5 dated July 13, 2015).



sudo apt-get update

sudo apt-get install glances




Laptop(A) and Laptop(B)



sudo apt-get update

sudo apt-get install iperf




Connection



Laptop(A) --- Croissants --- Laptop(B)



Laptop(A) is set to 111.111.111.111 IP address and it is acting as server of iperf.



Laptop(B) is set to 111.111.111.112 IP address and it is acting as client of iperf.



Make sure Laptop(A) and Laptop(B) are pingable.



Performance Test



Croissants



glances



Laptop(A)



sudo iperf -s -p 80



Laptop(B)



sudo iperf -c 111.111.111.111 -p 80 -P 50



Result



Crossiants - about 920 Mbps

Laptop(B) - about 820 Mbps



That's all! See you.