bdev/nvme: set default admin poll period to 10ms
Sending large amounts of data from host to the controller with 1s admin polling time, take a lot of time (e.g. 1M firmware file in 4k chunks takes ~17min). Reducing this time to 10ms whole operation takes about 3s. Change-Id: I2dabe9f60acab57e348c34bfabc3cc7479dedec9 Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1393 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
f86e25c064
commit
c241161ad2
@ -116,7 +116,7 @@ static struct spdk_bdev_nvme_opts g_opts = {
|
||||
.low_priority_weight = 0,
|
||||
.medium_priority_weight = 0,
|
||||
.high_priority_weight = 0,
|
||||
.nvme_adminq_poll_period_us = 1000000ULL,
|
||||
.nvme_adminq_poll_period_us = 10000ULL,
|
||||
.nvme_ioq_poll_period_us = 0,
|
||||
.io_queue_requests = 0,
|
||||
.delay_cmd_submit = SPDK_BDEV_NVME_DEFAULT_DELAY_CMD_SUBMIT,
|
||||
|
Loading…
Reference in New Issue
Block a user