public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] What's taking all the system time..?
@ 2002-01-30  5:48 Duraid Madina
  2002-01-30  6:21 ` Stephane Eranian
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Duraid Madina @ 2002-01-30  5:48 UTC (permalink / raw)
  To: linux-ia64

Hi guys,

	I've got a big (production) code that depends on a simple 'graph'
library in C++. To try it out on Itanium, I stripped it down and whipped up
a tiny 'benchmark' of the graph library. When I tried this on an Itanium
system here (2.4.9-SMP, gcc/g++ 2.96/3.0.3 and intel c++ 6.0) the code runs
for about 30 seconds, 20 of which is reported as 'system' time. The thing
is, this is (supposed to be) a CPU-bound job: on my home x86 system, it runs
in about 3 seconds, and with negligible system time.

	'top' and 'time' show the gobs of system time being used, but
'strace' picks up nothing out of the ordinary (0.014 seconds system time,
dominated by calls to brk() (this is expected).

	I'm hoping someone with a spare moment could try and reproduce this,
and perhaps let me know what's going on? Right now, I'm guessing libc
brokenness on ia64, but perhaps it's VM suckage? :\ Alas, on the box I have
access to, I can't profile the code because adding -pg when compiling leads
to a binary that segfaults at startup (ditto with the Intel compiler, so i'm
guessing the profile libraries are borked).

	You can grab the source (18kB) here:

	http://www.idesign.fl.net.au/why_systime/why_systime.tar.gz

	just 'make' (be sure 'gcc' and 'g++' point to a recent enough
version of gcc/g++ - preferably 3.0 or later) and then run 'a.out'.

	Lost,

	Duraid



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2002-02-01 21:28 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-30  5:48 [Linux-ia64] What's taking all the system time..? Duraid Madina
2002-01-30  6:21 ` Stephane Eranian
2002-01-30  6:26 ` Niels Christiansen
2002-01-30  6:44 ` duraid
2002-01-30  6:46 ` duraid
2002-01-30  6:54 ` Stephane Eranian
2002-01-30  6:58 ` Niels Christiansen
2002-01-30  7:02 ` Niels Christiansen
2002-01-30  7:27 ` Niels Christiansen
2002-01-30  9:36 ` duraid
2002-01-30 10:04 ` [Linux-ia64] What's taking all the system time..? The unaligned accesses are! Duraid Madina
2002-01-30 17:43 ` [Linux-ia64] What's taking all the system time..? Boehm, Hans
2002-01-30 17:49 ` Grant Grundler
2002-01-30 18:04 ` Niels Christiansen
2002-01-30 21:57 ` Jim Wilson
2002-02-01 21:28 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox