tungtose opened a new pull request, #2921: URL: https://github.com/apache/iggy/pull/2921
Prepare the memory pool and buffer infrastructure for O_DIRECT I/O. Direct I/O requires buffers to be aligned to the underlying block size (commonly 4096 bytes). This allows the kernel to bypass the page cache, reducing double buffering and giving more predictable I/O latency. Known Trade-offs: + Minimum allocation size is now 4096 bytes, meaning small utility buffers (e.g. put_u32_le, put_u64_le) now consume more memory than before + freeze() performs a copy instead of the previous zero-copy freeze: a TODO is left to address this + make_mutable in the HTTP path now copies buffers due to alignment incompatibility with Bytes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
