From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kostafey_Yandex Newsgroups: gmane.emacs.bugs Subject: bug#1089: Bug report: Hight CPU loading on scrolling Date: Sun, 5 Oct 2008 18:54:24 +0400 Message-ID: <1686904401.20081005185424__47662.663125857$1223226636$gmane$org@Yandex.ru> References: <301969697.1213958841.59994024.34909@mcgi63.rambler.ru> <1143693355.20081005184243@Yandex.ru> Reply-To: Kostafey_Yandex , 1089@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223226571 5202 80.91.229.12 (5 Oct 2008 17:09:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 5 Oct 2008 17:09:31 +0000 (UTC) To: emacs-pretest-bug@gnu.org, help-emacs-windows@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 05 19:10:26 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KmX4k-0001NK-K5 for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 19:07:23 +0200 Original-Received: from localhost ([127.0.0.1]:36646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmX3h-0005at-92 for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 13:06:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmVFH-0002UZ-4z for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 11:10:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmVFF-0002ST-7N for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 11:10:06 -0400 Original-Received: from [199.232.76.173] (port=59017 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmVFE-0002SO-Rj for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 11:10:04 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41881) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmVFC-0007rQ-Py for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 11:10:04 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m95F9vde020526; Sun, 5 Oct 2008 08:09:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m95F0371017503; Sun, 5 Oct 2008 08:00:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Kostafey_Yandex Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 05 Oct 2008 15:00:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1089 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122321849416164 (code B ref -1); Sun, 05 Oct 2008 15:00:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 5 Oct 2008 14:54:54 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m95EsncI016158 for ; Sun, 5 Oct 2008 07:54:51 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:41625) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KmUyD-0005dR-Nt for emacs-pretest-bug@gnu.org; Sun, 05 Oct 2008 10:52:29 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KmV0R-0000QV-OV for emacs-pretest-bug@gnu.org; Sun, 05 Oct 2008 10:54:48 -0400 Original-Received: from forwards6.yandex.ru ([77.88.61.38]:37693) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmV0Q-0000OV-My; Sun, 05 Oct 2008 10:54:47 -0400 Original-Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136]) by forwards6.yandex.ru (Postfix) with ESMTP id A7112A8C43F; Sun, 5 Oct 2008 18:54:37 +0400 (MSD) Original-Received: from ppp91-76-53-121.pppoe.mtu-net.ru ([91.76.53.121]:50696 "EHLO DB0TKD2J.mshome.net" smtp-auth: "Kostafey" TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S737283AbYJEOyZ (ORCPT + 1 other); Sun, 5 Oct 2008 18:54:25 +0400 X-Yandex-Spam: 1 X-Yandex-Front: smtp4 X-Yandex-TimeMark: 1223218465 X-MsgDayCount: 6 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: Kostafey X-Mailer: The Bat! (v2.12.00) Educational X-Priority: 3 (Normal) In-Reply-To: <1143693355.20081005184243@Yandex.ru> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 05 Oct 2008 11:10:06 -0400 X-Mailman-Approved-At: Sun, 05 Oct 2008 13:05:43 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21134 Archived-At: From: To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Hight CPU loading on scrolling We've got a bug on emacs text scrolling. If we set scroll 'by line' like this (setq scroll-step 1) we can open rather long file (like emacs tutorial) and press down buton for a some peiod of time. After some smooth scroll period CPU loading increase, so 'glitches' or scroll interrupts take place. The CPU loading increase much more when we try to do the same with russian tutorial (simply scroll down line-by-line). The CPU loading increase more in newer version of emacs. We tested this bug on different version of emacs. They were: emacs-22.1-bin-i386 emacs-22.2-bin-i386 emacs-22.3-bin-i386 emacs-from-cvs-080927 emacs-from-cvs-081003 We try it on 2 PC (with WinXP both). It is'n matter how to start emacs, what version to use, or what configuration to write to .emacs file to reproduce this bug. ----------------------------------- ---- HOW TO REPRODUCE THIS BUG ---- ----------------------------------- 1. Start emacs with emacs -Q 2. Then write ;(setq scroll-step 1) and press C-x C-e 3. Open english (or russian) tutorial 4. Simply press key down for a some period of time 5. Then scrolling become smooth for a small period of time, then CPU loading increased and scrolling become interrupted. So, you'll got it. ---------------------------------- We prepared 2 bug reports for you from 2 PC (generated by emacs text following below). __BUG REPORT 1: Testing on PC with CPU Pentium IV core duo T2400 1.83GHz and RAM 1024Gb with ENGLISH tutorial I've got 15% CPU loading on scrolling with RUSSIAN tutorial I've got 25% CPU loading on scrolling with huge scrolling interrupts __BUG REPORT 2: Testing on PC with CPU Pentium III and RAM 633Gb with ENGLISH tutorial we've got from 30% to 60% (sometimes, 100%) CPU loading on scrolling with huge scrolling interrupts with RUSSIAN tutorial we've got 100% CPU loading on scrolling without possible to continue scrolling at all. ----------------------------------- ----------- BUG REPORT 1 ---------- ----------------------------------- In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-03 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ru value of $XMODIFIERS: nil locale-coding-system: cp1251 default-enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set 1 preceding-sexp: End of file during parsing 1 Making completion list... Preparing tutorial ... ----------------------------------- ----------- BUG REPORT 2 ---------- ----------------------------------- In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) of 2008-10-03 on LENNART-69DE564 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include -fno-crossjumping' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: RUS value of $XMODIFIERS: nil locale-coding-system: cp1251 default-enable-multibyte-characters: t Major mode: Text Minor modes in effect: tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. 1 Making completion list... Preparing tutorial ... -- Yours faithfully, Konstantin mailto:Kostafey@Yandex.ru