Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

Re: Periodic calls to sendto() vs bursts

Reply
 
Thread Tools Display Modes
  #1  
Old 05-22-2006, 07:31 PM
Default Re: Periodic calls to sendto() vs bursts



davids wrote:

> Your 'sendto' is a blocking operation. It can take as long as it wants
> to. My bet is that the delay is caused by the receving rate of whatever
> you are sending data to.


(You snipped too much. There is no context left.)

You seem to have misunderstood the output of /usr/bin/time

0.12user 2.47system 1:40.01elapsed 2%CPU

means the process ran for 100 seconds, and 2.47 seconds (id est 7e9
cycles) were actively spent inside the kernel on behalf of the process.
Blocking in sendto() does not spin the CPU...

> What does the 'sendto' actually do? Is the TCP? UDP? Local? Remote?
> Or what?


It sends a UDP datagram to another PC on the same Ethernet LAN.


Spoon
Reply With Quote
Reply

Tags
bursts, calls, periodic, sendto

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 05:22 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.