English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Performance of threaded interpreter on hyper-threaded CPU
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-04-18 (08:33)
From: Xavier Leroy <Xavier.Leroy@i...>
Subject: Re: [Caml-list] Performance of threaded interpreter on hyper-threaded CPU
 > When the ratio given in the last column is greater than 1, then
 > threaded code is faster than the switch-based solution. As you can
 > see, this is only true in my case for non-hyper-threaded
 > architectures.

Which version(s) of gcc do you use for compiling the bytecode
interpreter?  Is it the same version on all machines?

The reason I'm asking is that some versions of gcc are known to
generate poor code for threaded interpreters, e.g. gcc 3.2 generates
inferior code compared to gcc 2.95.  For more info, google for
"Anton Ertl gcc".

- Xavier Leroy