Skip to content

Maximize the disk IO bandwidth for NVMe SSD by sequential read and write.

License

Notifications You must be signed in to change notification settings

neoremind/io_benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IO Benchmark

Maximize the disk IO bandwidth for NVMe SSD by sequential read and write.

To build for production.

make

To build for debug.

make dbg

Source file description.

File name Description
bufferio_w.cpp Buffer io write leveraging write through page cache.
directio_w.cpp Direct io write leveraging pwrite64 bypass page cache. Use mmap to buffer 16KB per write.
bufferio_r.cpp Buffer io read leveraging pread64 through page cache.
directio_r.cpp Direct io read leveraging pread64 bypass page cache.

About

Maximize the disk IO bandwidth for NVMe SSD by sequential read and write.

Topics

Resources

License

Stars

Watchers

Forks