From owner-freebsd-current@freebsd.org Mon Dec 7 15:10:53 2015 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 683CD9A062B for ; Mon, 7 Dec 2015 15:10:53 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.net.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 2A53310F2 for ; Mon, 7 Dec 2015 15:10:52 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) IronPort-PHdr: 9a23:x6ieMxAVoJtx1tATwLMzUyQJP3N1i/DPJgcQr6AfoPdwSP78p8bcNUDSrc9gkEXOFd2CrakU1ayO6+jJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd6MyZzvn8mJuLTtICxwzAKnZr1zKBjk5S7wjeIxxbVYF6Aq1xHSqWFJcekFjUlhJFaUggqurpzopM0r221qtvkg789NV7nhN+R9FOQATWduD2dgzcnmpRDFQQaVrlgVWGwbjFIcAAHP5Rzkdpj0uyr+8OF63X/JE9fxSOUOWD+hp4JiQxzshSJPYyQ8+WrUjsF1pL9crw+sowR/hYXdNtLGfMFid7/QKItJDVFKWdxcAmkYWtux X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2DOAQCgoGVW/61jaINehHsGvSsBDYFuhg4CgXYUAQEBAQEBAQGBCYItgggBAQQjBFIQAgEIGAICDRkCAlcCBBOIL69AkEsBAQEBAQEBAwEBAQEBAQEcgQGFU4R9h3eBRAWOH4hCqicCHwEBQoQiIDSEaIEHAQEB X-IronPort-AV: E=Sophos;i="5.20,395,1444708800"; d="scan'208";a="256152551" Received: from nipigon.cs.uoguelph.ca (HELO zcs1.mail.uoguelph.ca) ([131.104.99.173]) by esa-annu.net.uoguelph.ca with ESMTP; 07 Dec 2015 10:09:43 -0500 Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id 56B3C15F56D; Mon, 7 Dec 2015 10:09:43 -0500 (EST) Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id UrwDnXQYhHR3; Mon, 7 Dec 2015 10:09:42 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id D513515F56E; Mon, 7 Dec 2015 10:09:42 -0500 (EST) X-Virus-Scanned: amavisd-new at zcs1.mail.uoguelph.ca Received: from zcs1.mail.uoguelph.ca ([127.0.0.1]) by localhost (zcs1.mail.uoguelph.ca [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9kb5QmOQ_07T; Mon, 7 Dec 2015 10:09:42 -0500 (EST) Received: from zcs1.mail.uoguelph.ca (zcs1.mail.uoguelph.ca [172.17.95.18]) by zcs1.mail.uoguelph.ca (Postfix) with ESMTP id BD0B715F56D; Mon, 7 Dec 2015 10:09:42 -0500 (EST) Date: Mon, 7 Dec 2015 10:09:42 -0500 (EST) From: Rick Macklem To: Alexander Kabaev Cc: FreeBSD Current Message-ID: <697195597.121770130.1449500982738.JavaMail.zimbra@uoguelph.ca> In-Reply-To: <20151207091815.16e11a13@kan> References: <900422043.121631608.1449496955386.JavaMail.zimbra@uoguelph.ca> <20151207091815.16e11a13@kan> Subject: Re: slow screen updates on laptop console (i386) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.95.12] X-Mailer: Zimbra 8.0.9_GA_6191 (ZimbraWebClient - FF42 (Win)/8.0.9_GA_6191) Thread-Topic: slow screen updates on laptop console (i386) Thread-Index: 5S5CoSZer2HpEixfh0NPn91cyrovRA== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 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: Mon, 07 Dec 2015 15:10:53 -0000 Alexander Kabaev wrote: > On Mon, 7 Dec 2015 09:02:35 -0500 (EST) > Rick Macklem wrote: > > > Hi, > > > > When running FreeBSD-current on an old i386 laptop, the console > > screen is intermittently slow to display output. The hesitations > > can be several seconds. > > Sometimes it shows up when I'm typing such that it takes seconds > > for the characters to echo. > > I think it is the display/output side, since I've seen it happen when > > doing "more ", where the screen is stuck half way through > > displaying the page for a few seconds. > > > > I don't see any problem when going into the machine remotely and > > I don't see the problem on the other laptop I have running > > FreeBSD/amd64. > > > > It has been happening for a while. It occurs on the oldest kernel > > I have lying around (r287930, Sep. 17, 2015). > > > > I've tried the old "sc" driver and it seems to happen less with it, > > but it still occurs. > > > > I'll admit I have no idea what drives doing output for the display > > screen. > > > > Anyone have ideas w.r.t. this? > > > > Thanks in advance, rick > > Hi, > > maybe a stretch, but I would try selecting different eventtimer, if > available. Say, I had to select HPET on my old i7 920 to make timeouts > run reliably. > > sysctl kern.eventtimer.timer=HPET > Great guess! Actually this old laptop doesn't have HPET, but switching it from LAPIC->RTC seems to have fixed the problem. (I had a hunch it was something timer/interrupt related, but I don't know that part of the system.) --> Just fyi, my other laptop that works fine defaulted to HPET. It looks like HPET rates higher than LAPIC. Thanks a lot, rick > -- > Alexander Kabaev >