LWN: Comments on "Receive flow steering" https://lwn.net/Articles/382428/ This is a special feed containing comments posted to the individual LWN article titled "Receive flow steering". en-us Thu, 30 Oct 2025 15:16:12 +0000 Thu, 30 Oct 2025 15:16:12 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Receive flow steering https://lwn.net/Articles/592988/ https://lwn.net/Articles/592988/ smasetty <div class="FormattedComment"> What is the true benefit of RFS vs RPS. In the kernel documentation section, I see that the author talks about data cache hitrate, I am trying to understand what this really means and how this would be truly beneficial over RPS. Any leads here would be helpful. Thanks <br> </div> Thu, 03 Apr 2014 18:11:44 +0000 Receive flow steering https://lwn.net/Articles/454285/ https://lwn.net/Articles/454285/ ZhuYanhai <div class="FormattedComment"> If what you said is true, the similar thing will still happen to a single process without rps/rfs or even network. <br> <p> 1. Daemon gets scheduled to processor A<br> 2. processor A get very busy.<br> 3. Scheduler decides that the daemon could get more work done and reschedules it to processor B<br> 4. Repeat<br> <p> So I think the scheduler should already have some methods to detect and prevent such thrashing.<br> </div> Sat, 06 Aug 2011 02:41:26 +0000 Receive flow steering https://lwn.net/Articles/398550/ https://lwn.net/Articles/398550/ SEJeff <div class="FormattedComment"> It completely depends on your hardware, and how your application works.<br> <p> watch -n1 cat /proc/interrupts<br> <p> Look for the line that says "Rescheduling interrupts". If your apps are loading up with some sort of io such as sssd block io or very fast network io, the scheduler tends to flip out. Thats causes your app to slow down due to being rescheduled. The solution is to setup the affinity of your block devices, network cards, or applications.<br> <p> In short... depending on your hardware and applications, it can still very much be an issue.<br> </div> Tue, 03 Aug 2010 14:15:34 +0000 Receive flow steering https://lwn.net/Articles/382732/ https://lwn.net/Articles/382732/ cventers <div class="FormattedComment"> How often does a reschedule happen these days? As far as I can last remember, the kernel doesn't do it more than a handful of times per second, right?<br> </div> Thu, 08 Apr 2010 16:57:57 +0000 Receive flow steering https://lwn.net/Articles/382680/ https://lwn.net/Articles/382680/ clugstj <div class="FormattedComment"> As long as there is a switch to turn this thing off. Just because Google is using it doesn't mean it is good for all workloads.<br> </div> Thu, 08 Apr 2010 13:36:37 +0000 Receive flow steering https://lwn.net/Articles/382620/ https://lwn.net/Articles/382620/ intgr <div class="FormattedComment"> Wouldn't this cause problems for single-threaded applications? Could the packet receiver thread repeatedly push the actual process to a different processor like this:<br> <p> 1. Daemon gets scheduled to processor A<br> 2. All incoming packets are steered to processor A<br> 3. Processor gets loaded due to processing of incoming packets<br> 4. Scheduler decides that the daemon could get more work done and reschedules it to processor B<br> 5. Repeat<br> <p> So the daemon and packet processing thread would be playing cat-and-mouse and repeatedly jumping through different processors.<br> <p> I guess for just plain TCP, the processing overhead can be quite low, but if you add iptables processing, packet capturing etc, it can become significant.<br> <p> </div> Thu, 08 Apr 2010 07:44:10 +0000