[Nbd] strange delay of 5ms
Hi,
I noticed something odd:
for(;;) {
// get timestamp in ms start
read(fd, size_of_nbd_request)
// get timestamp in ms end
printf("delay: %f\n", end - start);
// process request
}
Then, on a localhost-connection with:
dd if=/dev/zero of=/dev/nbd0
in this setup I noticed that it takes 5ms for the request header to come
in, but only when the processing takes a while.
What can be the cause of this?
Folkert van Heusden
--
MultiTail na wan makriki wrokosani fu tan luku den logfile nanga san
den commando spiti puru. Piki puru spesrutu sani, wroko nanga difrenti
kroru, tya kon makandra, nanga wan lo moro.
http://www.vanheusden.com/multitail/
----------------------------------------------------------------------
Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com
Reply to: