Bug 1063741

Summary: gnome-terminal / vte very slow when doing 'cat' of a large text file
Product: Red Hat Enterprise Linux 6 Reporter: Luca Villa <luvilla>
Component: vteAssignee: Zeeshan Ali <zeenix>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.5CC: alanm, mclasen, michele, mkrcmari, tpelka
Target Milestone: rcKeywords: EasyFix, Upstream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: vte-0.25.1-9.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-09 06:56:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 994246    

Description Luca Villa 2014-02-11 11:16:44 UTC
Description of problem:

gnome-terminal is very slow when doing cat of a large text file.

e.g. with a ~16M text file:

[root@desktop ~]# time cat dnf.log 
[snip]
real	0m29.199s
user	0m0.000s
sys	0m0.307s

Version-Release number of selected component (if applicable):
- vte-0.25.1-8.el6_4

How reproducible:
always

Steps to Reproduce:
1. cat bigtext.txt
2.
3.

Actual results:
it takes a long time to finish the cat 

Expected results:
It should be much faster

Additional info:
This is an old regression in vte fixed upstream:

https://bugzilla.gnome.org/show_bug.cgi?id=721944

https://git.gnome.org/browse/vte/commit/?h=vte-0-36&id=2b4f4f1eea9dd87e27142ee02c973ce7ae9afd3c

When applying the fix above to RHEL gnome-terminal, it performs much better with a ~10x boost.

Comment 7 errata-xmlrpc 2014-06-09 06:56:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0638.html