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

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
Nbd-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to