Project

General

Profile

Actions

Bug #13134

open

ip_squeue_fanout should be on by default

Added by Joshua M. Clulow over 1 year ago.

Status:
New
Priority:
Normal
Category:
networking
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

Currently, when a "random" IP squeue is selected, we default to using the squeue for the current CPU:

/*
 * Get a default squeue, either from the current CPU or a CPU derived by hash
 * from the index argument, depending upon the setting of ip_squeue_fanout.
 */
squeue_t *
ip_squeue_random(uint_t index)

SmartOS and OmniOS have been shipping an /etc/system override for many years that sets this to 1; i.e., don't prefer the current CPU. This was done originally to improve utilisation (and, thus, TCP/IP throughput) on machines with increasingly fast NICs -- and is thus probably more important now than ever.

We should make it the default, without breaking those who have overridden it already, by flipping the default value from 0 to 1.

No data to display

Actions

Also available in: Atom PDF