lagopus / lagopus

Yet another SDN / OpenFlow software switch
312 stars 94 forks source link

Performance of rawsocket #133

Open imehrdad2012 opened 6 years ago

imehrdad2012 commented 6 years ago

Hello, I have a quick question. I am using the raw socket version of Lagopus. The packet forwarding performance is low and the Cpu usage is also at 50%. I am wondering if there is any way to improve the performance of Lagopus in the raw socket mode? (e.g., use more threads for packet processing and capturing?). I have already enabled the gcc optimization.

imehrdad2012 commented 6 years ago

Actually, I cannot go beyond 80Mbps with the raw socket version of Lagopus.

hibitomo commented 6 years ago

Hi @imehrdad2012,

Sorry late replay. Lagopus only prepare the raw socket mode for fuctional tests. I don't have an idea to improve the performance of Lagopus in the raw socket mode because of its architecture.

hibitomo commented 6 years ago

Could you use the DPDK interfaces?