From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrey mirtchovski To: 9fans@cse.psu.edu Subject: Re: [9fans] GCC3.0 [Was; Webbrowser] In-Reply-To: <981e9fab3325f419f267dbb5e9f4937d@plan9.bell-labs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Thu, 6 Feb 2003 08:30:18 -0700 Topicbox-Message-UUID: 50f801f0-eacb-11e9-9e20-41e7f4b1d025 this is iostats: read 238369 bytes, 13.02132 Kb/sec write 1266 bytes, .4715208 Kb/sec protocol 659280 bytes, 28.10126 Kb/sec rpc 8876 count Message Count Low High Time Averg in out version 1 0 0 0 0 ms 19 19 bytes attach 1 0 0 0 0 ms 25 20 bytes flush 1 10000000 0 0 0 ms 9 7 bytes walk 2544 0 153 551 0 ms 78729 88992 bytes open 1248 0 117 785 0 ms 14976 29928 bytes read 1277 0 11179 17877 13 ms 29371 252416 bytes write 15 0 686 2622 174 ms 1611 165 bytes clunk 2542 0 44 379 0 ms 27962 17794 bytes stat 1247 0 50 697 0 ms 13717 103426 bytes Opens Reads (bytes) Writes (bytes) File 1233 1233 88776 0 0 /dev/cputime 1 0 0 1 5 /proc/10281/note 1 0 0 1 5 /proc/10282/note 1 0 0 1 5 /proc/10287/note 2 0 0 2 9 /proc/10289/note 1 0 0 1 5 /proc/10295/note 1 1 172 0 0 /adm/users 1 2 7 0 0 (stdin) 1 0 0 7 1227 (stdout) 1 0 0 2 10 (stderr) 1 2 579 0 0 /rc/lib/rcmain 1 24 91459 0 0 /bin/rc 1 15 57376 0 0 /usr/bootes/ubench-0.32/ubench and this is what kprof has to say: total: 492060 in kernel text: 56450 outside kernel text: 435610 KTZERO 80100000 ms % sym 50180 88.8 halt 3210 5.6 memmove 420 0.7 savagewaitidle 410 0.7 i8259isr 350 0.6 inb 250 0.4 drawclip 150 0.2 runproc 130 0.2 wbflush 120 0.2 memset 110 0.1 chardraw 70 0.1 rectclip 60 0.1 memdraw 50 0.0 drawmesg 50 0.0 convD2M 50 0.0 strlen 40 0.0 syscall 30 0.0 drawgoodname 30 0.0 _syscallintr 30 0.0 dstflush 30 0.0 memimagedraw 30 0.0 drawreplxy interesting tidbit -- iostats filled up the memory on both machines I tried it on (128 and 512 MB), it's fun to look at in 'stats' adnrey On Thu, 6 Feb 2003, David Presotto wrote: > I looked at at the benchmarks. There are lots of times() calls in > inner loops that are very low cost in Unix but pretty expensive in > Plan 9. Why not do a run under iostats and post the results. It > might be enlightening.