From: gang chen <gangchen_sh@yahoo.com>
To: Xavier Leroy <Xavier.Leroy@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Re: Performance of threaded interpreter on hyper-threaded CPU
Date: Tue, 18 Apr 2006 09:42:30 -0700 (PDT) [thread overview]
Message-ID: <20060418164230.62710.qmail@web36709.mail.mud.yahoo.com> (raw)
In-Reply-To: <44451158.8020004@inria.fr>
Does ocaml have benchmark programs for use by C
compiler writers and architecture developers as
performance measurement ?
Gang Chen
--- Xavier Leroy <Xavier.Leroy@inria.fr> wrote:
> The performance variations between the gcc versions
> confirm my
> impression that gcc is getting "too clever for its
> own good" --
> carefully hand-optimized code like the OCaml
> bytecode interpreter
> is best served by a compiler that compiles code
> nearly as written.
> (Think gcc 2.95.)
>
> The P4 microarchitecture is known for its weird
> performance model:
> some code runs very fast, some similar code very
> slow.
> In my experience, AMD processors as well as the
> Pentium-M are
> much more consistent performance-wise.
>
> If you really want to understand what's going on,
> you need a good
> performance analysis tool. Timing runs will tell
> you nothing.
> Intel's VTUNE is king of the hill here, but the
> Windows version is
> costly and I could never install the free Linux
> version.
>
> - Xavier Leroy
>
> _______________________________________________
> Caml-list mailing list. Subscription management:
>
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list:
> http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>
next prev parent reply other threads:[~2006-04-18 16:42 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-18 8:04 Michel Schinz
2006-04-18 8:33 ` [Caml-list] " Xavier Leroy
2006-04-18 10:27 ` Michel Schinz
2006-04-18 11:40 ` [Caml-list] " Till Varoquaux
2006-04-18 11:59 ` Michel Schinz
2006-04-18 12:56 ` Stefan Monnier
2006-04-18 16:18 ` [Caml-list] " Xavier Leroy
2006-04-18 16:42 ` gang chen [this message]
2006-04-19 8:24 ` Michel Schinz
2006-04-25 22:52 ` [Caml-list] " Joaquin Cuenca Abela
2006-04-27 11:42 ` Joaquin Cuenca Abela
2006-04-18 8:34 ` [Caml-list] " Christophe TROESTLER
2006-04-18 8:46 ` Jonathan Roewen
2006-04-18 8:57 ` Christophe TROESTLER
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=20060418164230.62710.qmail@web36709.mail.mud.yahoo.com \
--to=gangchen_sh@yahoo.com \
--cc=Xavier.Leroy@inria.fr \
--cc=caml-list@inria.fr \
/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).