Skip to content

NVME performance improvements #40

@cl91

Description

@cl91

After testing on real hardware our nvme driver (taken from the Open Systems Alliance open source nvme drive) only hits 200MB/s on a 2GB/s drive. ChatGPT seems to suggest that the reason is that this driver only uses one single submission queue (per core, our benchmark is single-threaded) and wait for each submission to complete before queuing the next request. We need to use as many submission queues as are supported by hardware and submit requests in parallel and complete asynchronously. However Linux also uses one set of submission/completion queues per core, so I don't know if this is the real reason. In any case, we need to fix this terrible performance. AHCI doesn't seem to have this issue and can max out at 600MB/s (SATA3 speed).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions