Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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-19 (08:24)
From: Michel Schinz <Michel.Schinz@e...>
Subject: Re: Performance of threaded interpreter on hyper-threaded CPU
Xavier Leroy <> writes:


> 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.

Ok, I wasn't aware of this. I don't have access to machines using AMD
or Pentium-M processors, unfortunately.

Anyway, the timing of the OCaml VM was just a side experiment for me:
I wanted to see whether the speedup provided by threaded code in the
OCaml VM was similar to the one it provides in a VM we develop for a
course. Now that I've answered that question, I think I'll leave it at

Thank you for your suggestion about VTUNE, I'll think about it if I
ever need a detailed analysis tool.