[haiku-appserver] Re: communication

  • From: Adi Oanca <adioanca@xxxxxxxxxxxxxx>
  • To: haiku-appserver@xxxxxxxxxxxxx
  • Date: Fri, 10 Jun 2005 16:12:25 +0300

Axel Dörfler wrote:
> Adi Oanca <adioanca@xxxxxxxxxxxxxx> wrote:
> 
>>>As I said, the buffer size has *nothing* to do with this anymore.
>>>Have a look at LinkMsgSender::StartMessage() maybe you can believe 
>>>me 
>>>then :-)
>>
>>      I had a look yesterday, that's why I did that test in the first
>>place. The buffer always grows at a max of 64K, it never shrinks back 
>>to
>>2K.
>>      Have another look, and this time maybe you should put you glasses. 
>>:-P
>>
>>      I cannot believe you as I have my tests a a proof. ;-)
> 
> 
> Just read what I wrote: the buffer size is completely independent from 
> this. There is no reason to decrease the buffer size anymore.

        I got that too late. :-D

> I think 
> we should start with a bigger buffer, too, as there is only one link 
> per looper (I will change the BAppServerLink as well to not claim 
> memory anymore).
> Ie. we should find out the largest value that will be send by a usual 
> application and have the initial buffer size cover that amount.

        I agree. Wanted to ask for a bigger value too, instead of
increasing when needed.


bye,
Adi.

Other related posts: