All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephane Eranian <eranian@frankl.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] What's taking all the system time..?
Date: Wed, 30 Jan 2002 06:21:53 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590698805951@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590698805950@msgid-missing>

Duraid,

> 
> 	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).
> 
Just by curiosity, have you looked at the system log in /var/log/messages?
I am guessing your program does some floating point operations.
Have you seen something about floating-point software assist? Another 
potential cause could be unaligned accesses. That you can also see 
in the system log.

-- 
-Stephane


  reply	other threads:[~2002-01-30  6:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-30  5:48 [Linux-ia64] What's taking all the system time..? Duraid Madina
2002-01-30  6:21 ` Stephane Eranian [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590698805951@msgid-missing \
    --to=eranian@frankl.hpl.hp.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.