Re: reliability of datagrams between processes on same machine?



The Night Tripper <jkn_gg@xxxxxxxxxxxx> writes:

Hi David
Datagrams, by definition, don't provide this guarantee. In practice, a
system that did provide this guarantee would have to block in the case
where the send queue got full (or they'd have to provide an unlimited
amount of buffering).

OK, but how about reliable delivery if we assume that the send queue never
gets full? The processes are not doing huge amounts apart from
select()ing...

I was involved in a commerial real-time video project using Solaris,
and I did several tests to check reliability of UDP datagrams/multicasting.


For what it's worth - these things helped on Solaris 10 years ago.

1) Increase the socket buffer size.
2) Give the process low latency by using real time scheduling
3) Locking the process in memory so it didn't get swapped out.

.



Relevant Pages

  • Re: Solaris 8 accessing shared NT print queues
    ... SAP likes to hold all its print jobs in its own queue, ... Solaris, your printer configuration will create many background ... each with a connection to the Windows 2000 server. ... What works better is a local queue on the Solaris machine for each ...
    (comp.unix.solaris)
  • Re: Problem printing from Win2K systems
    ... >from Windows 2000 system connecting via Samba. ... Check the files in the Solaris print server's queue after the ... Pick one of the queues and use the "disable queuename" command ... If Solaris complains about the disable and enable commands, ...
    (comp.unix.solaris)
  • Re: 1000s UDP packets arrive same time problem
    ... Probably your network is congested or you cannot handle the amount of input fast enough. ... Make the routine that receives packages queue the raw package so it does as little work as possible. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Unix Time and Leap Seconds
    ... with the leap seconds in it, does the kernel itself load and parse ... Solaris) provide an adjtime ... "The adjtimefunction adjusts the system's notion of the ... retarding it by the amount of time specified. ...
    (comp.unix.programmer)
  • Re: Persistent variable in subprocess using multiprocessing?
    ... that involves transferring the huge amount of data for each call - my ... process, not in the subprocess. ... The proper way to do is to put the work in a Queue and let the processes ...
    (comp.lang.python)