Results from xterm startup experiment

Yusuf Goolamabbas yusufg at outblaze.com
Tue May 25 11:52:56 UTC 2004


I had already run prelink -avmR since I wasn't sure if my system was
prelinked out of the box or it would do it a week/two weeks subsequently

> What is the hardware configuration of the system:
> 
> Processor (output of /proc/cpuinfo):

processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 6
model		: 4
model name	: AMD Athlon(tm) Processor
stepping	: 2
cpu MHz		: 756.938
cache size	: 256 KB
fdiv_bug	: no
hlt_bug		: no
f00f_bug	: no
coma_bug	: no
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips	: 1482.75

> Memory:

512 MB

> Harddisk drive:
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:04.1
VP_IDE: chipset revision 16
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controller on pci0000:00:04.1
    ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
	     ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:DMA, hdd:pio
		  hda: ST36421A, ATA DISK drive
		  Using cfq io scheduler

> Video card:

PCI Vanta

+-01.0-[0000:01]----00.0  nVidia Corporation NV6 [Vanta/Vanta LT]

> What is the software configuration of the system:
> 
> kernel being used (uname -r):
2.6.5-1.358

> rpm versions of packages (rpm -qf `which xterm`):

xterm-179-6.EL
> 
> In each case you will need to exit the newly started xterm once it has 
> started.
> 
> What is the output of:
> 
> /usr/bin/time xterm

0.13user 0.02system 0:10.59elapsed 1%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+1548minor)pagefaults 0swaps

> 
> What is the output of (note that the output is going to be split
> between the current xterm and the new xterm:
> 
> LD_DEBUG=statistics xterm

I did the followin 
LD_DEBUG=statistics xterm > xterm.stat 2>&1

     16607:	
     16607:	runtime linker statistics:
     16607:	  total startup time in dynamic loader: 2864925 clock cycles
     16607:	            time needed for relocation: 286987 clock cycles (10.0%)
     16607:	                 number of relocations: 0
     16607:	      number of relocations from cache: 233
     16607:	        number of relative relocations: 0
     16607:	           time needed to load objects: 2246374 clock cycles (78.4%)
     16608:	
     16608:	runtime linker statistics:
     16608:	  total startup time in dynamic loader: 409553 clock cycles
     16608:	            time needed for relocation: 15915 clock cycles (3.8%)
     16608:	                 number of relocations: 0
     16608:	      number of relocations from cache: 17
     16608:	        number of relative relocations: 0
     16608:	           time needed to load objects: 202630 clock cycles (49.4%)
     16608:	
     16608:	runtime linker statistics:
     16608:	           final number of relocations: 15
     16608:	final number of relocations from cache: 17
     16627:	
     16627:	runtime linker statistics:
     16627:	  total startup time in dynamic loader: 440201 clock cycles
     16627:	            time needed for relocation: 17764 clock cycles (4.0%)
     16627:	                 number of relocations: 0
     16627:	      number of relocations from cache: 17
     16627:	        number of relative relocations: 0
     16627:	           time needed to load objects: 207246 clock cycles (47.0%)
     16627:	
     16627:	runtime linker statistics:
     16627:	           final number of relocations: 15
     16627:	final number of relocations from cache: 17
     16607:	
     16607:	runtime linker statistics:
     16607:	           final number of relocations: 181
     16607:	final number of relocations from cache: 244
> 
> Also get a memory map of the xterm:
> 
> xterm &
> # will print out pid of background process. use the number below
> cat /proc/2201/maps > /tmp/xterm_maps


00153000-00164000 r-xp 00000000 03:03 418694     /usr/X11R6/lib/libXft.so.2.1.2
00164000-00165000 rw-p 00011000 03:03 418694     /usr/X11R6/lib/libXft.so.2.1.2
00167000-001bd000 r-xp 00000000 03:03 407945     /usr/X11R6/lib/libXaw.so.7.0
001bd000-001c4000 rw-p 00055000 03:03 407945     /usr/X11R6/lib/libXaw.so.7.0
0023f000-00240000 r-xp 00000000 03:03 484894     /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
00240000-00241000 rw-p 00000000 03:03 484894     /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
00294000-00295000 r-xp 00000000 00:00 0 
004e2000-00530000 r-xp 00000000 03:03 411752     /usr/X11R6/lib/libXt.so.6.0
00530000-00534000 rw-p 0004d000 03:03 411752     /usr/X11R6/lib/libXt.so.6.0
0065f000-0067a000 r-xp 00000000 03:03 484892     /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
0067a000-0067c000 rw-p 0001b000 03:03 484892     /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
006d3000-006e8000 r-xp 00000000 03:03 418727     /usr/X11R6/lib/libXmu.so.6.2
006e8000-006e9000 rw-p 00014000 03:03 418727     /usr/X11R6/lib/libXmu.so.6.2
00836000-00844000 r-xp 00000000 03:03 415906     /usr/X11R6/lib/libXpm.so.4.11
00844000-00845000 rw-p 0000d000 03:03 415906     /usr/X11R6/lib/libXpm.so.4.11
009c8000-009dd000 r-xp 00000000 03:03 552026     /lib/ld-2.3.3.so
009dd000-009de000 r--p 00014000 03:03 552026     /lib/ld-2.3.3.so
009de000-009df000 rw-p 00015000 03:03 552026     /lib/ld-2.3.3.so
009e1000-00af6000 r-xp 00000000 03:03 552290     /lib/tls/libc-2.3.3.so
00af6000-00af8000 r--p 00115000 03:03 552290     /lib/tls/libc-2.3.3.so
00af8000-00afa000 rw-p 00117000 03:03 552290     /lib/tls/libc-2.3.3.so
00afa000-00afc000 rw-p 00000000 00:00 0 
00afe000-00aff000 r-xp 00000000 03:03 411855     /usr/lib/libutempter.so.0.5.5
00aff000-00b00000 rw-p 00000000 03:03 411855     /usr/lib/libutempter.so.0.5.5
00b23000-00b25000 r-xp 00000000 03:03 552293     /lib/libdl-2.3.3.so
00b25000-00b26000 r--p 00001000 03:03 552293     /lib/libdl-2.3.3.so
00b26000-00b27000 rw-p 00002000 03:03 552293     /lib/libdl-2.3.3.so
00b29000-00bee000 r-xp 00000000 03:03 418689     /usr/X11R6/lib/libX11.so.6.2
00bee000-00bf1000 rw-p 000c5000 03:03 418689     /usr/X11R6/lib/libX11.so.6.2
00bf3000-00c00000 r-xp 00000000 03:03 418690     /usr/X11R6/lib/libXext.so.6.4
00c00000-00c01000 rw-p 0000c000 03:03 418690     /usr/X11R6/lib/libXext.so.6.4
00c03000-00c13000 r-xp 00000000 03:03 418683     /usr/lib/libz.so.1.2.1.1
00c13000-00c14000 rw-p 0000f000 03:03 418683     /usr/lib/libz.so.1.2.1.1
00c16000-00c19000 r-xp 00000000 03:03 548460     /lib/libtermcap.so.2.0.8
00c19000-00c1a000 rw-p 00002000 03:03 548460     /lib/libtermcap.so.2.0.8
00c95000-00ca9000 r-xp 00000000 03:03 418718     /usr/X11R6/lib/libICE.so.6.3
00ca9000-00caa000 rw-p 00014000 03:03 418718     /usr/X11R6/lib/libICE.so.6.3
00caa000-00cac000 rw-p 00000000 00:00 0 
00cae000-00cb5000 r-xp 00000000 03:03 418719     /usr/X11R6/lib/libSM.so.6.0
00cb5000-00cb6000 rw-p 00007000 03:03 418719     /usr/X11R6/lib/libSM.so.6.0
00d0c000-00d6a000 r-xp 00000000 03:03 418685     /usr/lib/libfreetype.so.6.3.5
00d6a000-00d71000 rw-p 0005e000 03:03 418685     /usr/lib/libfreetype.so.6.3.5
00d93000-00db6000 r-xp 00000000 03:03 418687     /usr/lib/libfontconfig.so.1.0.4
00db6000-00db9000 rw-p 00023000 03:03 418687     /usr/lib/libfontconfig.so.1.0.4
00db9000-00dba000 rw-p 00000000 00:00 0 
00dbc000-00dc3000 r-xp 00000000 03:03 418691     /usr/X11R6/lib/libXrender.so.1.2.2
00dc3000-00dc4000 rw-p 00006000 03:03 418691     /usr/X11R6/lib/libXrender.so.1.2.2
00dc6000-00de3000 r-xp 00000000 03:03 418686     /usr/lib/libexpat.so.0.5.0
00de3000-00de5000 rw-p 0001d000 03:03 418686     /usr/lib/libexpat.so.0.5.0
00de7000-00def000 r-xp 00000000 03:03 418695     /usr/X11R6/lib/libXcursor.so.1.0.2
00def000-00df0000 rw-p 00007000 03:03 418695     /usr/X11R6/lib/libXcursor.so.1.0.2
00e1e000-00e20000 r-xp 00000000 03:03 484893     /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
00e20000-00e21000 rw-p 00001000 03:03 484893     /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
02e84000-02e95000 r-xp 00000000 03:03 552300     /lib/libnsl-2.3.3.so
02e95000-02e96000 r--p 00011000 03:03 552300     /lib/libnsl-2.3.3.so
02e96000-02e97000 rw-p 00012000 03:03 552300     /lib/libnsl-2.3.3.so
02e97000-02e99000 rw-p 00000000 00:00 0 
08047000-0807e000 r-xp 00000000 03:03 410724     /usr/bin/xterm
0807e000-08086000 rw-p 00036000 03:03 410724     /usr/bin/xterm
08086000-0808c000 rw-p 00000000 00:00 0 
0823a000-0832b000 rw-p 00000000 00:00 0 
f6b99000-f6d55000 rw-p 00000000 00:00 0 
f6e0e000-f6e14000 r--s 00000000 03:03 420228     /usr/lib/gconv/gconv-modules.cache
f6e16000-f7016000 r--p 00000000 03:03 406983     /usr/lib/locale/locale-archive
f701f000-f7024000 rw-p ffffc000 00:00 0 
fee81000-ff000000 rw-p fff80000 00:00 0 
ffffd000-ffffe000 ---p 00000000 00:00 0 

> 
> As root run oprofile to find out which executables and libraries are 
> being used:
> 
> opcontrol --setup --vmlinux=/boot/vmlinux-`uname -r` --separate=library
> opcontrol --reset; opcontrol --start; xterm; opcontrol --shutdown
> opreport

arjan mentioned on IRC that oprofile needs APIC and this is not enabled
on UP kernel so I can't give you this info

Hope the above helps, Let me know if I can assist further

Regards, Yusuf





More information about the Fedora-desktop-list mailing list