Project

General

Profile

Actions

Bug #11847

closed

The nvme cmd completion queue is contentious

Added by Paul Winder over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
driver - device drivers
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

When benchmarking for https://www.illumos.org/issues/11827 I discovered the mutex inside the taskq code which guards queue and un-queueing of of tasks is hot and heavily contended.

I propose there is one taskq per completion queue.

The testing results will be posted in 11827


Related issues

Related to illumos gate - Feature #11827: Increase concurrency through blkdevClosedPaul Winder

Actions
Precedes illumos gate - Bug #11964: nvme namespace attach and detach ioctls are not safe with concurrent accessNewPaul Winder

Actions
Actions

Also available in: Atom PDF