-
I'm working on a small HTTP/TCP server and I was wondering, do fixed writes provide any benefit over the normal ones? I'm reading the docs and they mention fixed writes are useful in conjunction with O_DIRECT which doesn't apply. Do we still get benefits from using fixed buffers with network sends? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
No benefit for that right now, registered buffers (and the associated read/write fixed) is purely an optimization regular files with O_DIRECT. It does make a considerable difference there. For buffered writes, it doesn't matter, and for socket it also has no effect. |
Beta Was this translation helpful? Give feedback.
No benefit for that right now, registered buffers (and the associated read/write fixed) is purely an optimization regular files with O_DIRECT. It does make a considerable difference there. For buffered writes, it doesn't matter, and for socket it also has no effect.