<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Roman Selin wrote:
<blockquote cite="mid45d0f834f0c05@wp.pl" type="cite">
  <pre wrap="">Hi,

 I'm developing voice communication system - with full duplex 
and conference support for several users. It will work on local
 LAN, not WAN. 

&gt;From the technical point of view, it will use GSM technologies: 8 
kHz sampling, one channel, 16 bit samples. GSM compression 
will be used: 160 samples (320 bytes) will be compressed to 33
bytes frame at 50Hz rate. 

Architecture is simple - several clients (usually  ~10) and single broker/switch application. I'm considering using Spread for this 
(single daemon), since group communication system should 
help to implement things like conferencing. 

Did anyone do anything like this before ? I'm very interested in 
any opinions about this. Any performance tuning using
parameters in membership.c ?

Conducting performance tests, I 
noticed that under heavy load (sending a lot of messages to 
group)  Spread sometimes just closes connection. I found 
similar discussion in the list archive, but it didn't help
(I read everything from the group). I've also read a lot about
Spread's blocking behaviour - we can use 
select/poll/epoll/kqueue to detect socket readiness, but 
I/O  can block inside SP_receive or SP_multicast.

Does anyone know the reason Spread sometimes closes connection or blocks indefinitely under heavy load ? 
I use 4.0.0 under Linux (SUSE 9.3, 10.2,).

I also found Spines (<a class="moz-txt-link-freetext" href="http://www.spines.org/">http://www.spines.org/</a>) and read paper "An Overlay Architecture for High Quality VoIP Streams" (<a class="moz-txt-link-freetext" href="http://www.cnds.jhu.edu/pub/papers/voip_tmm_06.pdf">http://www.cnds.jhu.edu/pub/papers/voip_tmm_06.pdf</a>).
Is Spines actively supported and developed ? Mailing 
list does not seem to be very active.
Does it offer significant performance or other advantage over 
Spread ?

Thanks for any help,
Roman
  </pre>
</blockquote>
<br>
Hello Roman,<br>
<br>
One reason, the most common I believe, that Spread closes a client
connection is because the client mailbox is full (i.e., the client is
not keeping pace with the messages flow).<br>
<br>
<font color="#000000" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">Spread
</span></font><font color="#000000" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">daemons
buffer 1000
message (regardless of size but less then max message size) per client
connection.</span></font><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">  </span></font>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
 style="font-size: 10pt; font-family: Arial; color: navy;">You can
increase this number (</span></font>MAX_SESSION_MESSAGES),
in spread_params.h to 10,000, or 100,000 etc.<font
 face="Times New Roman" size="3"><span style="font-size: 12pt;">
depending on how much RAM you have on your machine.</span></font></p>
<font face="Times New Roman" size="3"><span style="font-size: 12pt;"></span></font>I
have no experience using Spread in the manner you propose.<br>
<br>
-- jv<br>
<blockquote cite="mid45d0f834f0c05@wp.pl" type="cite">
  <pre wrap="">

----------------------------------------------------
W stylu Joanny Brodzik.
Zobacz jak ubiera siê prawdziwa gwiazda! Kliknij:
<a class="moz-txt-link-freetext" href="http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fd69.html&sid=1018">http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fd69.html&amp;sid=1018</a>



_______________________________________________
Spread-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Spread-users@lists.spread.org">Spread-users@lists.spread.org</a>
<a class="moz-txt-link-freetext" href="http://lists.spread.org/mailman/listinfo/spread-users">http://lists.spread.org/mailman/listinfo/spread-users</a>
  </pre>
</blockquote>
<br>
</body>
</html>