1iob_prefetch(3) Library Functions Manual iob_prefetch(3)
2
3
4
6 iob_prefetch - prefetch data for I/O batch
7
9 #include <iob.h>
10
11 void iob_prefetch(io_batch* b,uint64 n);
12
14 iob_prefetch makes sure the next n bytes are in memory.
15
16 This is useful when serving large files over the network concurrently.
17 Prefetching the data can then reduce hard disk head movement and
18 enhance throughput.
19
21 iob_reset(3), iob_send(3), iob_addbuf(3), iob_adds_free(3),
22 iob_addfile(3)
23
24
25
26 iob_prefetch(3)