<div>Thanks Lee and thanks Dennis! It was fragmentation and now the</div>
<div>sleep command makes a difference again. Fixed.<br><br>Pablo</div>
<div> </div>
<div class="gmail_quote">On Tue, Aug 28, 2012 at 4:42 PM, Lee Salzman <span dir="ltr"><<a href="mailto:lsalzman@gmail.com" target="_blank">lsalzman@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">You could try the ENET_PACKET_UNRELIABLE_<u></u>FRAGMENT option if you really need fragmentation but your packet sizes are still only a handful of multiples of MTU.<br>

<br>I would make the packets smaller than 1400 if you want to avoid all fragmentation, though, 1300ish would be safer since it leaves room for headers. 
<div class="im"><br><br>On 08/29/2012 12:01 AM, Pablo de Heras Ciechomski wrote:<br></div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div class="im">Kind of solved,<br>Made the packets into less than 1400 bytes and now it's faster. I guess it<br>has to do with fragmentation.<br>Pablo<br><br></div>
<div class="im">On Tue, Aug 28, 2012 at 10:29 PM, Pablo de Heras Ciechomski <<a href="mailto:pablo.deheras@gmail.com" target="_blank">pablo.deheras@gmail.com</a> <mailto:<a href="mailto:pablo.deheras@gmail.com" target="_blank">pablo.deheras@gmail.<u></u>com</a>>> wrote:<br>

<br>    Hello,<br><br>    I am playing around with unreliable unordered packets in ENet and I am<br>    trying to figure out why I am not transferring fast enough. My packets are<br>    all around 1800 bytes and are sent continuously. I seem to get the same<br>

    speed on most any machine independent of wifi/Gigabit LAN/local intra-<br>    process communication. This is disturbing to me as I don't understand<br>    why. I am using the same loop as in the tutorial and I am getting no more<br>

    than 250kB/s transfer rates, when it should be around 10MB/s in the best<br>    scenario. Is it due to all the packet_create calls? Is it due to some internal<br>    throttling? Packets don't seem to be lost so I am at loss :-)<br>

<br>    I changed the timer to 0 ms wait on the host loop function if that makes<br>    any difference, but it doesn't seem so. Adding or removing a 5m Sleep<br>    (windows function so working on the whole process) doesn't seem to make<br>

    any change other than making the whole system unresponsive if removed.<br>    Pablo<br><br><br><br></div>______________________________<u></u>_________________<br>ENet-discuss mailing list<br><a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a><br>

<a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/<u></u>mailman/listinfo/enet-discuss</a><br></blockquote><br>______________________________<u></u>_________________<br>

ENet-discuss mailing list<br><a href="mailto:ENet-discuss@cubik.org" target="_blank">ENet-discuss@cubik.org</a><br><a href="http://lists.cubik.org/mailman/listinfo/enet-discuss" target="_blank">http://lists.cubik.org/<u></u>mailman/listinfo/enet-discuss</a><br>

</blockquote></div>