Project

General

Profile

Bug #7364

NVMe driver performance can be improved by caching nvme_dma_t structs for PRPL.

Added by Youzhong Yang about 3 years ago. Updated about 3 years ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

nvme_fill_prp -> nvme_zalloc_dma is hot path in the driver so it makes sense to allocate nvme_dma_t from kmem cache and reuse it later.

My testing showed that the overall performance is improved by 10%.

History

#2

Updated by Electric Monk about 3 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 8834f7ac63a18ac48dfacf20506346d82b04fc14

commit  8834f7ac63a18ac48dfacf20506346d82b04fc14
Author: Youzhong Yang <yyang@mathworks.com>
Date:   2016-09-14T15:44:57.000Z

    7364 NVMe driver performance can be improved by caching nvme_dma_t structs for PRPL.
    Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Garrett D'Amore <garrett@lucera.com>
    Approved by: Dan McDonald <danmcd@omniti.com>

#3

Updated by Electric Monk about 3 years ago

git commit b6bc2fd4673eae6c96e2aea9e16105dd32a66b7b

commit  b6bc2fd4673eae6c96e2aea9e16105dd32a66b7b
Author: Dan McDonald <danmcd@omniti.com>
Date:   2016-09-14T17:10:21.000Z

    7364 NVMe driver performance can be improved by caching nvme_dma_t structs for PRPL. (fix lint)

Also available in: Atom PDF