Re: Multithreading on Multicore Processors



Richard Maine wrote:
Grogley <grogley@!nospam!yahoo.com> wrote:

I guess it has always been my
impression that Unix/Linux systems were not particularly efficient at
floating point calculations.

That makes very little sense, insomuch as floating point calculation
generally has very little to do with the operating system.

My general experience with scientific codes is almost the opposite -
that they often run like a dog (if at all) in Windows.

The 16 codes of the Polyhedron Fortran benchmark run on both Windows
and Linux, and comparing the results at
http://www.polyhedron.com/pb05/win32/f90bench_p4.html and
http://www.polyhedron.com/pb05/linux/f90bench_p4.html , there are some
compilers available for both platforms where the Windows version was
slower -- the geometric means for Lahey on Windows and Linux are 38.0
and
29.0 seconds, but for Intel, generally the fastest compiler
benchmarked, the times were essentially the same, 24.0 and 23.7
seconds.

The Polyhedron results do not confirm the criticisms made of Windows.

But I wouldn't
say it had anything to do with floating point in particular. Poor memory
management and process priority management has more to do with it. Those
things are strongly operating system related. But this veers to far from
Fortran and too near to flame-bait, so I'll not argue the point.

.



Relevant Pages

  • Re: difference found with debugger attached
    ... Once you've done any sort of calculation on the data, testing equality is a big no-no when dealing with floating point, and anything that might in some way rely equality is similarly to be avoided. ... But all sorts of other things can affect the outcome of floating point calculations, ... Even across different installations of Windows on different hardware, I wouldn't be surprised to occasionally come across some subtle differences in calculations, but I suspect this would show up in even greater degree running on the Xbox hardware. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Multithreading on Multicore Processors
    ... floating point calculations. ... insomuch as floating point calculation ... My general experience with scientific codes is almost the opposite - ... management and process priority management has more to do with it. ...
    (comp.lang.fortran)
  • Re: Linux - Windows Questions Jan. 22, 2011
    ... running Windows. ... Having Perl ... My program does so many calculations and processes so much data that I ... An alternative is to switch to Python, which is a high level language more akin to Perl than C or C++. ...
    (comp.os.linux.misc)
  • Re: Errors cancel sometimes
    ... I thought that it was remarkable, so I'm remarking on it. ... Goldberg's "What Every Computer Scientist Should Know About Floating ... elements of accurate numerical calculations on a computer as well. ... I'd be happy to have any pointers to more modern works that cover the ...
    (comp.programming)
  • Re: TDD: Test-Driven Design or Test-Driven Development?
    ... design idea, and conflating it. ... > requires one to implement floating point calculations. ... This decision may affect how the calculations are coded. ... Please describe the Test Driven Development process that you think we are ...
    (comp.object)