On Thu, 2013-11-21 at 12:08 -0800, Hiranya Jayathilaka wrote:
> Hi Devs,
> 
> I just found out that the performance of the Synapse Pass Through transport 
> is highly sensitive to the RcvBufferSize of the IO reactors (especially when 
> mediating very large messages). Here are some test results. In this case, I'm 
> simply passing through a 1M message through Synapse to a backend server, 
> which simply echoes it back to the client. Notice how the execution time of 
> the scenario varies with the RcvBufferSize of the IO reactors.
> 
> RcvBufferSize (in bytes)                  Scenario Execution Time (in seconds)
> ========================================================
> 8192 (Synapse default)                    25.9
> 16384                                                   0.4
> 32768                                                   0.2
> 

Hiranya

After experimenting extensively with RCV/SND buffer settings (with mixed
results) my personal conclusion was that those settings were better left
alone (set to their system default values). 

I am however not a TCP/IP specialist by any stretch of imagination, so I
may be missing something important.

Oleg 

> Is this behavior normal? If so does it make sense to change the Synapse 
> default buffer size to something larger (e.g. 16k)?
> 
> Interestingly I see this difference in behavior on Linux only. I cannot see a 
> significant change in behavior on Mac. 
> 
> Appreciate your thoughts on this.
> 
> Thanks,
> Hiranya
> 
> --
> Hiranya Jayathilaka
> Mayhem Lab/RACE Lab;
> Dept. of Computer Science, UCSB;  http://cs.ucsb.edu
> E-mail: [email protected];  Mobile: +1 (805) 895-7443
> Blog: http://techfeast-hiranya.blogspot.com
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to