<https://i.imgur.com/9lHpIfz.png>
Hello, 

I am experimenting with send (from socket to socket through a loopback). I 
create a flamegraph for that and measure time of execution. It seems that 
is takes relatively much time. (I am not sure whether is it much or not). 
In test I send a 64-byte message in a loop.

send function takes 10-15 microseconds.

1. Is it much or not? 
2. Have you any idea how to improve it? I tried to extend send buffer 
socket, doesn't help- I know that probably it couldn't help.
3. When it comes to a flamegraph: It looks like the kernel waits for a 
response- I mean the function ip_recv and so on. What does the kernel try 
to receive? AFAIK a send function doesn't wait for ACK from receiver. 

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to