table of contents
iob_prefetch(3) | Library Functions Manual | iob_prefetch(3) |
NAME¶
iob_prefetch - prefetch data for I/O batchSYNTAX¶
#include <iob.h>void iob_prefetch(io_batch* b,uint64 n);
DESCRIPTION¶
iob_prefetch makes sure the next n bytes are in memory.This is useful when serving large files over the network concurrently. Prefetching the data can then reduce hard disk head movement and enhance throughput.