i‎ > ‎r‎ > ‎

2

77376683 story Cloud Open Source Software Linux

Pushing the Limits of Network Traffic With Open Source (cloudflare.com) 54

Posted by Soulskill on Saturday October 10, 2015 @02:49PM from the it's-all-fun-and-games-until-somebody-loses-a-packet dept. An anonymous reader writes: CloudFlare's content delivery network relies on their ability to shuffle data around. As they've scaled up, they've run into some interesting technical limits on how fast they can manage this. Last month they explained how the unmodified Linux kernel can only handle about 1 million packets per second, when easily-available NICs can manage 10 times that. So, they did what you're supposed to do when you encounter a problem with open source software: they developed a patch for the Netmap project to increase throughput. "Usually, when a network card goes into the Netmap mode, all the RX queues get disconnected from the kernel and are available to the Netmap applications. We don't want that. We want to keep most of the RX queues back in the kernel mode, and enable Netmap mode only on selected RX queues. We call this functionality: 'single RX queue mode.'" With their changes, Netmap was able to receive about 5.8 million packets per second. Their patch is currently awaiting review.

#auto

Subpages (1): 5
Comments