[Pkg-xfce-devel] Bug#453266: Bug#453266: xfce4-terminal: text displays slowly and hogs CPU in some tabs and instances

Yves-Alexis Perez corsac at corsac.net
Wed Nov 28 07:52:13 UTC 2007


On mer, 2007-11-28 at 02:32 -0500, A. Costa wrote:
> On my system most terminals run this simple text output benchmark in
> 2-5 seconds:
> 
>      time seq 100000
> 
> A new instance of 'xfce4-terminal' does it in 2 seconds.
> Running it again in the same window takes 8 seconds, and consistently
> 8
> after that.  During those 8 seconds the CPU is at 100%.
> 
> Maximizing the window, tab #1, running the benchmark takes 2 seconds
> again.
> 
> Unmaximizing the window, the time goes up to 8 seconds.
> 
> In another instance with eight tabs, it takes up to 47 seconds**, but
> I
> haven't been able to reliably reproduce it in other windows, though
> it's happened more than once.  My X session begins with an autosaved
> 'xfce4-terminal' session with 8 tabs, that's the 47 seconds one.
> Resizing the window fixes it, for a while.
> 
> (**not a side effect of background processes.)
> 
> This bug may be a symptom of:
> 
>     #445323 cpu-intensive window redraw/window resize
>     http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=445323
> 
> ...or perhaps not, since the slow text happens on my autosaved
> session, before it's resized.

Here, whatever I do, with the window, it takes:
seq 100000  0,12s user 0,13s system 53% cpu 0,480 total
more or less.

But if I open another tab, the time grows:
seq 100000  0,26s user 0,23s system 26% cpu 1,796 total

That's the only thing I can say.

Do you have compositor deactivated in xorg? In xfwm?

Cheers,
-- 
Yves-Alexis Perez






More information about the Pkg-xfce-devel mailing list