[Eug-lug] ubuntu xterm strangeness
Garl Grigsby
garl.grigsby at gmail.com
Mon Dec 10 15:08:29 PST 2007
On Dec 10, 2007 12:14 PM, Mike Cherba <mike.cherba at caviumnetworks.com>
wrote:
> I'm curious if anyone else has run across this issue before.
>
> I noticed this when I was booting a system attached to a USB serial
> device, but eventually localized the issue to xterm itself. Basically
> when you put a lot of text through an xterm the cpu usage on gutsy goes
> way up. like 100%. I've tried the same thing with the generic terminal
> app gnome-terminal and the cpu usage is much lower. This seems odd.
> I'm wondering if there is something broken or at least terribly
> sub-optimal in one of the libraries used.
>
> I'm running KDE and can reproduce this symptom at will simply by running
> "du -ah /" in the two different terminals. (xterm & gnome-terminal)
Mike,
Can't say I've run into this before, but I rarely use xterm. I usually
use gnome-term as I like the tabs. I just tested this on my gutsy laptop,
but I'm not running KDE. Here is what I see in top when I do it. High usage
yes, but no max CPU.
Garl
Tasks: 115 total, 5 running, 110 sleeping, 0 stopped, 0 zombie
Cpu(s): 76.5%us, 21.6%sy, 2.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si,
0.0%st
Mem: 1295636k total, 769040k used, 526596k free, 156940k buffers
Swap: 2000052k total, 0k used, 2000052k free, 306332k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
COMMAND
3955 root 16 0 7948 5312 616 S 35.7 0.4 0:24.38 mount.ntfs
5586 grigsby 15 0 10300 4164 2484 S 28.8 0.3 0:43.21xterm
5121 root 25 0 182m 33m 11m R 25.8 2.7 1:14.70Xorg
6058 root 15 0 4208 2024 580 R 6.9 0.2 0:00.51du
5630 grigsby 15 0 89148 21m 11m S 2.0 1.7 0:02.80gnome-terminal
6047 grigsby 37 19 19192 15m 12m R 1.0 1.2 0:01.04apt-check
1 root 18 0 2952 1856 532 S 0.0 0.1 0:01.40init
2 root 10 -5 0 0 0 S 0.0 0.0 0:00.00kthreadd
3 root RT -5 0 0 0 S 0.0 0.0 0:00.00migration/0
4 root 34 19 0 0 0 S 0.0 0.0 0:00.00ksoftirqd/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.00watchdog/0
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.01events/0
7 root 10 -5 0 0 0 S 0.0 0.0 0:00.00khelper
26 root 10 -5 0 0 0 S 0.0 0.0 0:00.02kblockd/0
27 root 10 -5 0 0 0 S 0.0 0.0 0:00.00kacpid
28 root 10 -5 0 0 0 S 0.0 0.0 0:00.00kacpi_notify
139 root 10 -5 0 0 0 S 0.0 0.0 0:00.02kseriod
root at karma:~#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://euglug.org/pipermail/euglug/attachments/20071210/f2cea592/attac=
hment.htm
More information about the EUGLUG
mailing list