public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev]  Re: ICC Profile
Date: Fri, 18 Jul 2008 20:44:08 +0100	[thread overview]
Message-ID: <20080718204408.4a855ff5@snowcone> (raw)
In-Reply-To: <4880F05D.4010905@gentoo.org>

[-- Attachment #1: Type: text/plain, Size: 1560 bytes --]

On Fri, 18 Jul 2008 15:34:53 -0400
Richard Freeman <rich0@gentoo.org> wrote:
> Ciaran McCreesh wrote:
> > The more interesting question, then, is whether users run any
> > non-trivial cpu-bound programs. We know the applied science types
> > do, but they tend to be the ones who're doing clever things with icc
> > anyway. What about normal users?
> 
> I'm sure they do on some occasion if they encode compressed
> audio/video, or when compressing data with zip/etc.  That is probably
> the biggest application of cpu-bound software.

How much of that is memory bound? Of the things that aren't, how many
aren't written in assembly anyway? Of those things, what proportion of
the runtime is spent in those areas?

If you double the speed of something that takes up 2% of the overall
execution time, you can't measure the improvement.

Or looking at it the other way -- is there any reason to believe that
using icc (which can end up being a substantial pain in the arse, given
the way it tries to use gcc's c++ headers but doesn't support some of
the extensions or quirks that g++ does) will provide a genuine gain
for people who aren't already doing clever profile-directed trickery
anyway?

> I'd probably benefit from using -O3 on the aforementioned
> CPU-intensive apps.

The problem with -O3 is that function inlining can lead to a
substantial cache hit. Unless you're using profile-directed
optimisations, which Gentoo doesn't support, it's extremely hit and
miss as to whether O3 helps or hurts.

-- 
Ciaran McCreesh

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2008-07-18 19:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18 14:24 [gentoo-dev] Re: ICC Profile Adam Stylinski
2008-07-18 14:34 ` Ciaran McCreesh
2008-07-18 19:34   ` Richard Freeman
2008-07-18 19:44     ` Ciaran McCreesh [this message]
2008-07-18 19:53       ` Richard Freeman
2008-07-19  7:50     ` Duncan
2008-07-19 10:51       ` Rémi Cardona
  -- strict thread matches above, loose matches on Subject: below --
2008-07-18 20:09 Adam Stylinski
2008-07-18 14:55 Adam Stylinski
2008-07-18 13:25 Adam Stylinski
2008-07-18 13:43 ` Branko Badrljica
2008-07-18 14:32   ` Nikos Chantziaras
2008-07-17 18:23 [gentoo-dev] " Adam Stylinski
2008-07-18  9:55 ` [gentoo-dev] " Nikos Chantziaras

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=20080718204408.4a855ff5@snowcone \
    --to=ciaran.mccreesh@googlemail.com \
    --cc=gentoo-dev@lists.gentoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox