Raw Partitions on Linux

You can create and mount database devices on raw bound devices for raw disk I/O. Raw disk I/O enables direct memory access from your address space to the physical sectors on the disk while omitting needless memory copy operations from the user address space to the kernel buffers.

Raw disk I/O assumes that logical and physical IO are simultaneous, and writes are guaranteed to flush to the disk when the system write call returns. When preparing a raw partition device, follow these guidelines: