Re: r311568 makes freerdp very slow
On Wed, January 18, 2017 19:29, John Baldwin wrote: > On Tuesday, January 17, 2017 01:46:31 PM Jakob Alvermark wrote: > >> On Fri, January 13, 2017 22:46, Jakob Alvermark wrote: >> >>> On Fri, January 13, 2017 19:44, John Baldwin wrote: >>> >>> On Friday, January 13, 2017 09:58:01 AM Jakob Alvermark wrote: > 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? > > > kdump will generate a text representation, perhaps using 'kdump -s' to not include dumps of raw I/O data. If you can put the output of kdump at a URL I can fetch from then I can look at it. >>> >>> OK, here it is: >>> http://filebin.ca/38mkuLau9Yqu/ktrace.out.xfreerdp.txt >>> >>> >>> >>> Thanks, >>> >>> >>> >>> Jakob >>> >> >> Hi, >> >> >> Did you get any chance to look at this? >> > > I have not yet, but can you please try the fix in r312387? > > > -- > John Baldwin > > Yes, I am now at r312404 and it works as before again. Thanks! Jakob ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r311568 makes freerdp very slow
I have been affected by this issue as well, just updated to r312388 and it is fixed. Thanks On Wed, Jan 18, 2017 at 1:29 PM, John Baldwinwrote: > On Tuesday, January 17, 2017 01:46:31 PM Jakob Alvermark wrote: > > On Fri, January 13, 2017 22:46, Jakob Alvermark wrote: > > > On Fri, January 13, 2017 19:44, John Baldwin wrote: > > > > > >> On Friday, January 13, 2017 09:58:01 AM Jakob Alvermark wrote: > > >> > > >> > > >>> 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? > > >>> > > >>> > > >> > > >> kdump will generate a text representation, perhaps using 'kdump -s' to > > >> not include dumps of raw I/O data. If you can put the output of kdump > > >> at a URL I can fetch from then I can look at it. > > >> > > > > > > OK, here it is: http://filebin.ca/38mkuLau9Yqu/ktrace.out.xfreerdp.txt > > > > > > > > > Thanks, > > > > > > > > > Jakob > > > > Hi, > > > > Did you get any chance to look at this? > > I have not yet, but can you please try the fix in r312387? > > -- > John Baldwin > ___ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" > ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r311568 makes freerdp very slow
On Tuesday, January 17, 2017 01:46:31 PM Jakob Alvermark wrote: > On Fri, January 13, 2017 22:46, Jakob Alvermark wrote: > > On Fri, January 13, 2017 19:44, John Baldwin wrote: > > > >> On Friday, January 13, 2017 09:58:01 AM Jakob Alvermark wrote: > >> > >> > >>> 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? > >>> > >>> > >> > >> kdump will generate a text representation, perhaps using 'kdump -s' to > >> not include dumps of raw I/O data. If you can put the output of kdump > >> at a URL I can fetch from then I can look at it. > >> > > > > OK, here it is: http://filebin.ca/38mkuLau9Yqu/ktrace.out.xfreerdp.txt > > > > > > Thanks, > > > > > > Jakob > > Hi, > > Did you get any chance to look at this? I have not yet, but can you please try the fix in r312387? -- John Baldwin ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r311568 makes freerdp very slow
On Fri, January 13, 2017 22:46, Jakob Alvermark wrote: > On Fri, January 13, 2017 19:44, John Baldwin wrote: > >> On Friday, January 13, 2017 09:58:01 AM Jakob Alvermark wrote: >> >> >>> 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? >>> >>> >> >> kdump will generate a text representation, perhaps using 'kdump -s' to >> not include dumps of raw I/O data. If you can put the output of kdump >> at a URL I can fetch from then I can look at it. >> > > OK, here it is: http://filebin.ca/38mkuLau9Yqu/ktrace.out.xfreerdp.txt > > > Thanks, > > > Jakob Hi, Did you get any chance to look at this? Thanks, Jakob ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r311568 makes freerdp very slow
On Fri, January 13, 2017 19:44, John Baldwin wrote: > On Friday, January 13, 2017 09:58:01 AM Jakob Alvermark wrote: > >> 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? >> > > kdump will generate a text representation, perhaps using 'kdump -s' to not > include dumps of raw I/O data. If you can put the output of kdump at a > URL I can fetch from then I can look at it. OK, here it is: http://filebin.ca/38mkuLau9Yqu/ktrace.out.xfreerdp.txt Thanks, Jakob ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r311568 makes freerdp very slow
On Friday, January 13, 2017 09:58:01 AM Jakob Alvermark wrote: > 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? kdump will generate a text representation, perhaps using 'kdump -s' to not include dumps of raw I/O data. If you can put the output of kdump at a URL I can fetch from then I can look at it. -- John Baldwin ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r311568 makes freerdp very slow
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 ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r311568 makes freerdp very slow
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 ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: r311568 makes freerdp very slow
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. Thanks, -- Shawn Webb Cofounder and Security Engineer HardenedBSD GPG Key ID: 0x6A84658F52456EEE GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89 3D9E 6A84 658F 5245 6EEE signature.asc Description: PGP signature
r311568 makes freerdp very slow
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? Best regards, Jakob Alvermark ___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"