Hi,

> Running prstat across an xterm start shows that process "Xorg/1" takes
> up 100% of the CPU for the time. I guess this would be an interesting
> subject to investigate using dtrace :-).

You may try to collect stack and try to guess where does Xorg spend it's
time. Something like

dtrace -n 'profile-1001 /pid == $target/ { @num[ustack()] = count(); }' -p 
`pgrep Xorg`

Run this prior to xterm execution, and break the dtrace process once
xterm is running.

It will probably be long listing, so I recommend redirect output to file
using '-o file'.

But generally I would recommend using sun studio performance analysis
tools ( make your X only start terminal and exit )


> I'm running opensolaris on an old machine, 800MHz PIII with only 512Mb
> of memory. I'm impressed how well it is working, other than this
> apparent xterm issue.

Using other terminal emulators is giving you the same issue, or they
start faster ? What graphic card are you using ?

-- 
        Vlad

Attachment: pgpP4qiyykoaQ.pgp
Description: PGP signature

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to