From owner-freebsd-stable@FreeBSD.ORG Wed Sep 25 15:44:54 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8F9B01A9; Wed, 25 Sep 2013 15:44:54 +0000 (UTC) (envelope-from mvharding@gmail.com) Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A07922E7D; Wed, 25 Sep 2013 15:44:53 +0000 (UTC) Received: by mail-wi0-f169.google.com with SMTP id hj3so5418252wib.0 for ; Wed, 25 Sep 2013 08:44:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mStZWZReWnzDWce3TJZPHGJ9KqC77CFPhn/GMNZaELc=; b=khaxSDl/g3DtTlkhcxpGPKtY5jscGDekYOjd+nFwL/dXtT+QQUdmU8M0fJ4AuaZuYm Puw8N4nFjNTU3mBRCDFugAzM0xHGJlUebiRuO1qDuyR+cWGMtMSnGWTG6zE7lLaR2ao/ IpBpd71rAS4uCSah2F9AIJvDbNpIGtZTfVYtR5ELhiX3YRmkx1GqiJ5qqt9K0CD5xSrR 0p0xz2yfeEXCD9Y/zBtndz8soPBW4vr16tCHhlyhEXGYgGzMiMOZw92rWqLSQ2phITvb QuIKX+iNURyxNh/Vk6T1cPy2pZgKCGof4uIYNLNk4v+silkYL7BM3UCW7EM9rTWjPFTm e/Gw== MIME-Version: 1.0 X-Received: by 10.180.94.233 with SMTP id df9mr18119659wib.63.1380123891452; Wed, 25 Sep 2013 08:44:51 -0700 (PDT) Received: by 10.217.67.65 with HTTP; Wed, 25 Sep 2013 08:44:51 -0700 (PDT) In-Reply-To: References: <5222E19C.9040402@FreeBSD.org> <5223B313.9060708@FreeBSD.org> <5223B9C3.2070508@FreeBSD.org> <522418F4.9030007@FreeBSD.org> Date: Wed, 25 Sep 2013 08:44:51 -0700 Message-ID: Subject: Re: 9.2-RC3 - suspend/resume causes slow system performance From: Mike Harding To: Bengt Ahlgren Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Adrian Chadd , FreeBSD Stable Mailing List , "freebsd-acpi@freebsd.org" , Andriy Gapon X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Sep 2013 15:44:54 -0000 My slowdown manifests as extremely slow disk access, even with low CPU. This happens even if CPU scaling is disabled, or if I am remotely accessing the system, with no X. On Wed, Sep 25, 2013 at 8:01 AM, Bengt Ahlgren wrote: > Now having some experience with my "new" TP X201 and Intel/KMS graphics, > I also ran into severe Xorg perfomance issues, but it was _not_ > connected to suspend/resume, because it persisted after a clean reboot. > > I plugged in a projector to the VGA port, and used xrandr. The Xorg > server seemed to come to a halt, in practice unusable. After the fact I > saw in the log file that there were tons of these messages: > > [ 136.238] (II) intel(0): EDID vendor "IFS", prod id 4354 > [ 136.238] (II) intel(0): Using hsync ranges from config file > [ 136.238] (II) intel(0): Using vrefresh ranges from config file > [ 136.238] (II) intel(0): Printing DDC gathered Modelines: > [ 136.238] (II) intel(0): Modeline "1280x800"x0.0 83.40 1280 1344 > 1480 1680 800 801 804 828 -hsync +vsync (49.6 kHz eP) > [ 136.238] (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 > 1056 600 601 605 628 +hsync +vsync (37.9 kHz e) > [ 136.238] (II) intel(0): Modeline "800x600"x0.0 36.00 800 824 896 > 1024 600 601 603 625 +hsync +vsync (35.2 kHz e) > [ 136.238] (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 > 840 480 481 484 500 -hsync -vsync (37.5 kHz e) > [ 136.238] (II) intel(0): Modeline "640x480"x0.0 31.50 640 664 704 > 832 480 489 492 520 -hsync -vsync (37.9 kHz e) > [ 136.238] (II) intel(0): Modeline "640x480"x0.0 30.24 640 704 768 > 864 480 483 486 525 -hsync -vsync (35.0 kHz e) > [ 136.238] (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 > 800 480 490 492 525 -hsync -vsync (31.5 kHz e) > [ 136.238] (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 > 900 400 412 414 449 -hsync +vsync (31.5 kHz e) > [ 136.238] (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 > 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz e) > [ 136.238] (II) intel(0): Modeline "1024x768"x0.0 78.75 1024 1040 > 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz e) > [ 136.238] (II) intel(0): Modeline "1024x768"x0.0 75.00 1024 1048 > 1184 1328 768 771 777 806 -hsync -vsync (56.5 kHz e) > [ 136.238] (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 > 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e) > [ 136.238] (II) intel(0): Modeline "832x624"x0.0 57.28 832 864 928 > 1152 624 625 628 667 -hsync -vsync (49.7 kHz e) > [ 136.238] (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 > 1056 600 601 604 625 +hsync +vsync (46.9 kHz e) > [ 136.238] (II) intel(0): Modeline "800x600"x0.0 50.00 800 856 976 > 1040 600 637 643 666 +hsync +vsync (48.1 kHz e) > [ 136.238] (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 > 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e) > [ 136.238] (II) intel(0): Modeline "1280x720"x60.0 74.48 1280 1336 > 1472 1664 720 721 724 746 -hsync +vsync (44.8 kHz e) > [ 136.238] (II) intel(0): Modeline "1280x960"x0.0 108.00 1280 1376 > 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e) > [ 136.238] (II) intel(0): Modeline "1280x1024"x0.0 108.00 1280 1328 > 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e) > [ 136.238] (II) intel(0): Modeline "1366x768"x59.8 84.75 1366 1431 > 1567 1776 768 771 781 798 -hsync +vsync (47.7 kHz e) > [ 136.238] (II) intel(0): Modeline "1440x900"x0.0 106.50 1440 1520 > 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz e) > [ 136.238] (II) intel(0): Modeline "1400x1050"x0.0 121.75 1400 1488 > 1632 1864 1050 1053 1057 1089 -hsync +vsync (65.3 kHz e) > [ 136.238] (II) intel(0): Modeline "1600x1200"x0.0 162.00 1600 1664 > 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz e) > [ 136.238] (II) intel(0): Modeline "1680x1050"x0.0 146.25 1680 1784 > 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz e) > > That is, the Xorg server constantly queried the display device for its > capabilities (perhaps on behalf of some client - I run KDE, so you never > know what it tries to do...). > > This seems to be a somewhat known issue: > > > https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/310857 > > Is this something different, or is this a variant of the slowdown others > are seeing? > > Bengt > > Adrian Chadd writes: > > > .. anything happening? > > > > > > -adrian > > > > > > On 2 September 2013 07:29, Adrian Chadd wrote: > > > >> > >> On 2 September 2013 07:25, Mike Harding wrote: > >> > >>> It's detailed in the ticket, see > >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=181632 and search for > >>> 'reverted'. > >>> > >>> > >> Ok. You and avg@ are digging into it deeper, so I'll leave it be for > now. > >> I'll retest this on my test laptops when I'm back home. > >> > >> > >> > >> -adrian >