Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 09:58:01 +0100 (CET)
From:      "Jakob Alvermark" <jakob@alvermark.net>
To:        "John Baldwin" <jhb@freebsd.org>
Cc:        freebsd-current@freebsd.org, "Shawn Webb" <shawn.webb@hardenedbsd.org>, "Jakob Alvermark" <jakob@alvermark.net>
Subject:   Re: r311568 makes freerdp very slow
Message-ID:  <54232.193.12.143.142.1484297881.squirrel@webmail.alvermark.net>
In-Reply-To: <1610370.k87iRho0oa@ralph.baldwin.cx>
References:  <57236.193.12.143.142.1484240708.squirrel@webmail.alvermark.net> <20170112174211.5nmvpjatg6zap35a@mutt-hardenedbsd> <1610370.k87iRho0oa@ralph.baldwin.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, January 12, 2017 19:26, John Baldwin wrote:
> On Thursday, January 12, 2017 12:42:11 PM Shawn Webb wrote:
>
>> On Thu, Jan 12, 2017 at 06:05:08PM +0100, Jakob Alvermark wrote:
>>
>>> Hi,
>>>
>>>
>>> r311568 Set MORETOCOME for AIO write requests on a socket.
>>>
>>> After this commit freerdp is very slow.
>>>
>>>
>>> Before the password prompt would appear immediately when connecting
>>> to a server. Now it takes 5-10 seconds. After entering the password,
>>> another 5-10 seconds until I am connected.
>>> Once connected, there is a considerable lag.
>>>
>>>
>>> What could be the problem?
>>>
>>
>> I don't know what the problem is, but I am seeing the same symptom.
>>
>
> Can you get a ktrace of the freerdp process during this?  The commit
> should only be setting MORETOCOME if multiple aio_write requests are queued
> to the same socket (so that TCP can batch them into a single packet).
> However, it should not affect an application just calling
> aio_write() on a socket once.
>
> --
> John Baldwin

Hi John,

I got the ktrace, what do I do with it?

Thanks,
Jakob




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54232.193.12.143.142.1484297881.squirrel>