HomeFreeBSD

Set the max transactions for NVMe drives better.

Description

Set the max transactions for NVMe drives better.

Provided a better estimate for the number of transactions that can be
pending at one time. This will be number of queues * number of
trackers / 4, as suggested by Jim Harris. This gives a better estimate
of the number of transactions that CAM should queue before applying
back pressure. This should be revisted when we have real multi-queue
support in CAM and the upper layers of the I/O stack.

Sponsored by: Netflix

Details

Provenance
impAuthored on
Parents
rS322993: Add nvme_sim.c since that's not runtime switchable.
Branches
Unknown
Tags
Unknown