From: Tim Walberg <twalberg@mindspring.com>
To: "Miguel González Castaños" <mgc@tid.es>
Cc: linux-admin@vger.kernel.org
Subject: Re: CPU tests
Date: Fri, 31 Mar 2006 08:28:08 -0600 [thread overview]
Message-ID: <20060331142808.GH15740@mindspring.com> (raw)
In-Reply-To: <442D29B0.6020806@tid.es>
On 03/31/2006 15:08 +0200, Miguel González Castaños wrote:
>> Dear all,
>>
>> I am trying to launch CPU tests on a Pentium IV Prescott 3.0 Ghz with
>> 4Gb of RAM. I have tried some tests from distributed.net and everything
>> seems to be ok, although with the test attached in the email (sorry for
>> the size of the mail), I am experiencing some problems. As you can see
>> with the static flag the number generation is faster than without that
That part is not surprising once you understand the dynamic linking
mechanism - it adds a small amount of overhead to every function call
into the library, because each function call is essentially an indirect
call. That said, the amount of overhead you're seeing does seem a bit
higher than I would expect (and the sqrt() case is possibly because
the compiler converts the sqrt() call into a fsqrt instruction in both
cases because of the -O3 - there is no instruction set equivalent for
the rand(), random() and log() cases).
tw
--
twalberg@mindspring.com
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2006-03-31 14:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-31 13:08 CPU tests Miguel González Castaños
2006-03-31 14:28 ` Tim Walberg [this message]
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=20060331142808.GH15740@mindspring.com \
--to=twalberg@mindspring.com \
--cc=linux-admin@vger.kernel.org \
--cc=mgc@tid.es \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).