kohler / click

The Click modular router: fast modular packet processing and analysis
Other
735 stars 322 forks source link

Fast packet routing at Ubuntu 18.04 #441

Open JeffryLee opened 5 years ago

JeffryLee commented 5 years ago

Hi,

I am trying to use click to build a software router which can achieve Gbps throughput. But I came across some issues.

click-linuxtool.pl execution failed.

==============================================


I am wondering whether this is the issue of my configuration or it is because click does not work with the new version of kernel. Thanks!! 
tbarbette commented 5 years ago

Kernel is more or less dead, did not receive patches in years and do not compile with recent kernels.

With DPDK or Netmap, userlevel is faster anyway, mostly because the Linux Kernel stack is overkill for what Click actually uses (raw packets). The PCAP version you probably used incurs super high overhead. https://orbi.uliege.be/bitstream/2268/181954/1/userspaceio.pdf will provide more insight on that topic. With the last versions and 100G hardware, we can forward 80Gbps of real traffic with a single core, so yes you can expect better than your results ;)