[Verse-dev] sending packets too slow
Eskil Steenberg
eskil at obsession.se
Tue Aug 23 05:38:10 CEST 2005
Hi
> I just think it could be faster.
So do I.
> I am convinced you can send more than one packet at once. I wrote a little
> test app and it seems it works ok up to ~85 packets, which matches the
> send buffer size. This allowed sending 5000 packets/s.
Interesting! if you look inside v_network_out_que.c in the function
v_noq_send_queue you will find to following out comented loop that sends
more then one packet.
/* if(queue->sent_size < V_NOQ_WINDOW_SIZE && queue->unsent_size != 0)*/
I have experimented with seding fewer packets but i cant say i have had
any great results, but as always this could be OS dependent so try it out
on OSX and see what happens.
> But that was under ideal conditions of course.. on the same computer
> with the client/server doing nothing but sending/receiving. Picking a good
> send rate seems to be a difficult problem as I learned :). Not something
> a simple hack as I proposed in my previous e-mail would fix...
Dot forget the clear history issiue that you pointed out thats what i have
been working on (i mailed something out before right?). Than probably
makes quite the difference.
Cheers
E
More information about the Verse-dev
mailing list