Bug#348176: marked as done (gnome-terminal: very slow at displaying STDOUT)

Debian Bug Tracking System owner at bugs.debian.org
Sun Jan 15 14:33:15 UTC 2006


Your message dated Sun, 15 Jan 2006 12:25:33 -0200
with message-id <1137335134.4164.12.camel at localhost.localdomain>
and subject line Bug#348176: gnome-terminal: very slow at displaying STDOUT
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 15 Jan 2006 13:31:18 +0000
>From stuart-strr at homefarm.strr.org Sun Jan 15 05:31:18 2006
Return-path: <stuart-strr at homefarm.strr.org>
Received: from [217.77.183.107] (helo=mail.waveflex.net)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Ey7yX-00080a-NB
	for submit at bugs.debian.org; Sun, 15 Jan 2006 05:31:18 -0800
Received: from vimes.homefarm ([82.153.56.97]) by waveflex.net with MailEnable ESMTP; Sun, 15 Jan 2006 13:38:28 +0000
Received: from strr.homefarm ([192.168.0.22] ident=mail)
	by vimes.homefarm with esmtp (Exim 3.36 #1 (Debian))
	id 1Ey7xw-00007l-00; Sun, 15 Jan 2006 13:30:40 +0000
Received: from stuart by strr.homefarm with local (Exim 3.36 #1 (Debian))
	id 1Ey7xv-0000Aa-00; Sun, 15 Jan 2006 13:30:39 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Stuart Rowan <debian-bugs at strr.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: gnome-terminal: very slow at displaying STDOUT
Message-ID: <20060115133039.30089.50836.reportbug at strr.homefarm>
X-Mailer: reportbug 3.18
Date: Sun, 15 Jan 2006 13:30:39 +0000
Delivered-To: submit at bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: gnome-terminal
Version: 2.12.0-2
Severity: normal

Gnome terminal has many good attributes, like a nice looking font so thank
you for all your packaging efforts. However speed of display is a bit
lacking. Other reports mention CPU usage, I actually found that to not be a
problem.


The following test illustrates the problem rather well I think:
/usr/bin/time zcat /var/log/syslog.[12345].gz 
 (N.B. not time the  bash builtin)
on xterm:
0.04user 0.06system 0:04.08elapsed 2%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+183minor)pagefaults 0swaps

on gnome-terminal:
0.05user 0.10system 0:19.68elapsed 0%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+184minor)pagefaults 0swaps


/usr/bin/time zcat /var/log/syslog.[12345].gz >/dev/null
on xterm:
0.03user 0.00system 0:00.03elapsed 94%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+183minor)pagefaults 0swaps

on gnome-terminal:
0.03user 0.00system 0:00.03elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+183minor)pagefaults 0swaps


So gnome-terminal with STDOUT redirected is as fast as xterm, with STDOUT to
the normal place, gnome-terminal is nearly 5 times slower. Obviously for the
test to be meaningful, one needs syslog.[12345].gz to exist and to have
permission to read them.

I suspect this result explains why tar xvf is so *much* slower than tar xf
as well. I'm sure this is an upstream bug, but hopefully there is an easy
benchmark that can be run now so that gnome-terminal can be improved :-)

Thanks,
Stu.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14.5
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)

Versions of packages gnome-terminal depends on:
ii  gnome-control-center      1:2.10.2-1     utilities to configure the GNOME d
ii  gnome-terminal-data       2.12.0-2       Data files for the GNOME terminal 
ii  libatk1.0-0               1.10.3-1       The ATK accessibility toolkit
ii  libbonobo2-0              2.10.1-1       Bonobo CORBA interfaces library
ii  libc6                     2.3.5-11       GNU C Library: Shared libraries an
ii  libgconf2-4               2.12.1-8       GNOME configuration database syste
ii  libglade2-0               1:2.5.1-2      library to load .glade files at ru
ii  libglib2.0-0              2.8.5-1        The GLib library of C routines
ii  libgnome2-0               2.12.0.1-4     The GNOME 2 library - runtime file
ii  libgnomeui-0              2.12.0-2       The GNOME 2 libraries (User Interf
ii  libgtk2.0-0               2.8.10-1       The GTK+ graphical user interface 
ii  liborbit2                 1:2.12.4-1     libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.10.2-1       Layout and rendering of internatio
ii  libpopt0                  1.7-5          lib for parsing cmdline parameters
ii  libstartup-notification0  0.8-1          library for program launch feedbac
ii  libvte4                   1:0.11.15-4    Terminal emulator widget for GTK+ 
ii  libx11-6                  6.9.0.dfsg.1-3 X Window System protocol client li
ii  scrollkeeper              0.3.14-10      A free electronic cataloging syste

Versions of packages gnome-terminal recommends:
ii  yelp                          2.12.2-2   Help browser for GNOME 2

-- no debconf information


---------------------------------------
Received: (at 348176-done) by bugs.debian.org; 15 Jan 2006 14:26:10 +0000
>From gpastore at gnome.org Sun Jan 15 06:26:10 2006
Return-path: <gpastore at gnome.org>
Received: from birao.terra.com.br ([200.176.10.197])
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1Ey8pd-0000My-O7
	for 348176-done at bugs.debian.org; Sun, 15 Jan 2006 06:26:09 -0800
Received: from soluezi.terra.com.br (soluezi.terra.com.br [200.176.10.13])
	by birao.terra.com.br (Postfix) with ESMTP id 6A202108C004
	for <348176-done at bugs.debian.org>; Sun, 15 Jan 2006 12:25:57 -0200 (BRST)
X-Terra-Karma: -2%
X-Terra-Hash: e06c776f4c56a93a7d3d02f92f5f308c
Received-SPF: none (soluezi.terra.com.br: 200.176.10.13 is neither permitted nor denied by domain of gnome.org) client-ip=200.176.10.13; envelope-from=gpastore at gnome.org; helo=[192.168.1.3];
Received: from [192.168.1.3] (c9066ade.virtua.com.br [201.6.106.222])
	(authenticated user guilherme.pastore)
	by soluezi.terra.com.br (Postfix) with ESMTP id 2888796C085
	for <348176-done at bugs.debian.org>; Sun, 15 Jan 2006 12:25:50 -0200 (BRST)
Subject: Re: Bug#348176: gnome-terminal: very slow at displaying STDOUT
From: "Guilherme de S. Pastore" <gpastore at gnome.org>
To: 348176-done at bugs.debian.org
In-Reply-To: <20060115133039.30089.50836.reportbug at strr.homefarm>
References: <20060115133039.30089.50836.reportbug at strr.homefarm>
Content-Type: text/plain; charset=UTF-8
Date: Sun, 15 Jan 2006 12:25:33 -0200
Message-Id: <1137335134.4164.12.camel at localhost.localdomain>
Mime-Version: 1.0
X-Mailer: Evolution 2.4.1 
Content-Transfer-Encoding: quoted-printable
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

Em Dom, 2006-01-15 =C3=A0s 13:30 +0000, Stuart Rowan escreveu:
[ uninformed evaluation of g-t's speed ]

Thanks for all the work you've put into finding out what was wrong, but
this was duplication of work. In the same conditions, gnome-terminal is
faster than xterm, just look for any benchmarks out there. Use the same
font on both and you'll see.

It can be even faster, though, and that is being worked on for 2.14.

Cheers,

--=20
gpastore at gnome.org: Guilherme de S. Pastore
http://www.gnome.org/ * http://gnome-br.sf.net/





More information about the Pkg-gnome-maintainers mailing list