|
From: | silvioprog |
Subject: | Re: [libmicrohttpd] Why MHD latency is so high on Windows? |
Date: | Thu, 19 Nov 2015 00:18:03 -0300 |
Is there someone that needs performance in MHD on Windows besides me? :-D
I need to test it, I'm going to do it these days. For now, I disabled the `TCP_FASTOPEN` flag and left it with high latency, until I figure out how this works on Windows, once it doesn't offer TFO support.
On Wed, Nov 18, 2015 at 12:28 PM, Martin Bonner <address@hidden> wrote:
>
> In general, TCP_NODELAY is not a catastrophe if you use TCP_CORK to allow the accumulation of partial packets in the kernel. The good news is that MHD can use TCP_CORK; the bad news is that Windows doesn’t support it :-).
>
>
>
> However, this link:
>
> http://stackoverflow.com/questions/22117205/is-there-an-equivalent-to-tcp-cork-in-winsock
>
> appears to have a some sample code that achieves a similar effect.
>
>
>
> Now all we need is for somebody to create some patches to use that code on Windows, and for Christian to accept them. (Won’t be me – I only care about linux on ARM.)
--
Silvio Clécio
[Prev in Thread] | Current Thread | [Next in Thread] |