Open JeffryLee opened 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 ;)
Hi,
I am trying to use click to build a software router which can achieve Gbps throughput. But I came across some issues.
My first attempt is to use userlevel click module. I connected three laptops one by one with Gbps Ethernet cables and used the middle one as click router. I did iperf throughput test between end-hosts, the throughput between end-hosts is only around 80 Mbps. But at the same time, the CPU utilization of click is only 25%. It seems that I can still improve the userlevel click to achieve higher throughput. I am wondering whether there is anyway to achieve that??
At the same time, I also tried to use the click kernel module. But it seems that the kernel module does not compile with Ubuntu 18.04. Specifically, I tried to configure with the following command:
./configure --with-linux=/usr/src/linux-headers-4.18.0-25-generic --with-linux-map=/boot/System.map-4.18.0-25-generic --enable-ipsec --enable-wifi --enable-userlevel --enable-linuxmodule
But get an error without any further instruction.click-linuxtool.pl execution failed.
==============================================