mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
devices: virtio: scsi: Change the queue size.
Currently the queue size of virtio-scsi device is set to 256, but the FIO performance result improved on a larger size 1024. This commit changes the queue size to 1024 given the performance increase. BUG=b:300042376 TEST=tools/presubmit Change-Id: Iad29541436e9a0c2f9acd2587e3bb9ae5e4110cf Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/5067394 Reviewed-by: Takaya Saeki <takayas@chromium.org> Commit-Queue: Joe Hattori <hattorij@google.com> Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
This commit is contained in:
parent
9d054ab7b1
commit
e68276c609
1 changed files with 2 additions and 2 deletions
|
@ -86,10 +86,10 @@ const DEFAULT_MAX_TARGET: u16 = 255;
|
|||
// Max lun should be less than or equal to 16383
|
||||
const DEFAULT_MAX_LUN: u32 = 16383;
|
||||
|
||||
const DEFAULT_QUEUE_SIZE: u16 = 256;
|
||||
const DEFAULT_QUEUE_SIZE: u16 = 1024;
|
||||
|
||||
// The maximum number of linked commands.
|
||||
const MAX_CMD_PER_LUN: u32 = 128;
|
||||
const MAX_CMD_PER_LUN: u32 = 1024;
|
||||
// We do not set a limit on the transfer size.
|
||||
const MAX_SECTORS: u32 = u32::MAX;
|
||||
|
||||
|
|
Loading…
Reference in a new issue