From owner-freebsd-current@freebsd.org Wed Jan 18 19:30:26 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EEA51CB6BE8 for ; Wed, 18 Jan 2017 19:30:26 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-yb0-x22d.google.com (mail-yb0-x22d.google.com [IPv6:2607:f8b0:4002:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A0A70158C; Wed, 18 Jan 2017 19:30:26 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-yb0-x22d.google.com with SMTP id 123so7300605ybe.3; Wed, 18 Jan 2017 11:30:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RpCdNXNS7bls9qNp4wDFYgeB+jqnnNFkU8fogWjCc2s=; b=l9Lhn8zIEGe4hAiFV79WMW97G7CMR6A25sdT0YgDOJ+uYoGWEHqIdT6QBT7soLbjDB L5xNZjns1RT/c+7nvK798rdoDfEQCKJ8GwSAeK8TWzxkLmqFdryl8wXkcogfQ2gIaktr RTTC1BVz8ESqoEf8lAihObp0+IYCpMfc7Ivmn0rpnXvXe5AeqmCcslcC54VzMM1IulQ4 ocjdH38RIfnlFXO607ods02EB/kpY2BtkwjJZEV8YOKBUKxKhyYHbJ4bHdKoRM6Y4CV4 XsEAmVrU6ZUkI/mBldFS0WziGy0SysPOpnXeVeKILNipGy61mQKRGwMSstTl+22os6Dn rZFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RpCdNXNS7bls9qNp4wDFYgeB+jqnnNFkU8fogWjCc2s=; b=qiLPEUOE901t0DSS+30zGlohy2ABUpWi0BjtMiVlS8ZJXL+KA4A7rDRafk0aku8TyK l3PtbaqWGDEGJVzCYuy/bhXwItTKkdFz84b8QJbQ7WPMA1PvaZ/QXKDvQrEbyDmOx2YQ skbW92QHUMyAgP76onIS4bIUsJ5MjxgpaPpPs1shzLGpKIy4XKaEDoMJeZZNX+Za4QnJ r2SeE7scDPjKvXe1UOxmY2+50/rgx6c8H3bPaZoxGaMKTSX9mM6aXrSaKKLs2Dze0ic4 SRBq+nTPUdql9LbQKBQwtdJABDEZ+KfgZ5hfueJ09nJ9NVLgJSxDMOpfFAxcUvA5DGYi v2lg== X-Gm-Message-State: AIkVDXJs8phj8VZbT9vM01S+gf+7UDzO+PoMwRatlUvMSPGbShoyv2/sXIWVsTdn54ThDPUYChue1SlpJDW7Xw== X-Received: by 10.37.56.208 with SMTP id f199mr3551785yba.94.1484767825690; Wed, 18 Jan 2017 11:30:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.129.52.65 with HTTP; Wed, 18 Jan 2017 11:30:25 -0800 (PST) In-Reply-To: <3516356.ILt4XdM4E4@ralph.baldwin.cx> References: <57236.193.12.143.142.1484240708.squirrel@webmail.alvermark.net> <64999.85.229.93.187.1484344018.squirrel@webmail.alvermark.net> <59599.193.12.143.142.1484657191.squirrel@webmail.alvermark.net> <3516356.ILt4XdM4E4@ralph.baldwin.cx> From: Ultima Date: Wed, 18 Jan 2017 14:30:25 -0500 Message-ID: Subject: Re: r311568 makes freerdp very slow To: John Baldwin Cc: Jakob Alvermark , freebsd-current@freebsd.org, Shawn Webb Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 19:30:27 -0000 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 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >