Re: gfortran, g95, and dual-core
- From: nospam@xxxxxxxxxxxxx (Richard Maine)
- Date: Sat, 29 Sep 2007 13:44:48 -0700
Charles Russell <NOSPAM@xxxxxxxxxxxxx> wrote:
Richard Maine wrote:
Today, many programs are limitted by memory bandwidth, which is
typically (mostly) independent of CPU clock speed. That's why cache is
such a big deal and spawns a large number of issues about taking best
advantage of cache.
Had to look up cache in Wikipedia. I presume you are talking about what
they call "CPU cache".
Yes, though other kinds of cace are also relevant. It's a big area.
So computing time is not simply a matter of counting "flops"
Nope. Hasn't been for decades. In many current situations, the time for
the floating point operations is almost negligable. Ok, that might not
be so 100% of the time, but it sure is the case a lot. I've been in this
business for... well... if I recall correctly, about the same amount of
time as you have. About 4 decades of programming experience in my case.
One thing I learned long ago was that the business is subject to change
- big changes. Things that are absolutely critical at one time become
largely irrelevant a decade or so later. Those people who don't adapt to
the changes quickly become irrelevant. I've known several people in that
situation.
It is not always just hardware changes either. There have been
breakthoughs in algorithms that have had fundamental impact far beyond
their obvious area.
Is this apt to make a big difference (factor of 2 in execution speed)
when comparing different Intel-compatible chips in a given price range?
Yes.
Disk I/O can also be a big deal fo some programs (notably including
compilers). Sometimes using large amounts of memory can help lower disk
accesses to addres that issue.
I realized that disk drives matter for big problems that use virtual
memory, but I did not think about the compiler.
If you had listened to the sound of the disk drive going wild while
compiling, as I often have done, you'd know that the compiler is often
very disk intensive. Mostly, I think that is because an optimzing
compiler can use huge amounts of memory, which can cause virtual memory
swapping. I'm not enough (or even very much) of an expert in compiler
innards to accurately explain all of what's going on. But as a user of
compilers, I can testify that it has often been very evident to me that
they were putting a heavy load on my disk drives and that compilation
speed tied pretty closely to disk drive speed.
--
Richard Maine | Good judgement comes from experience;
email: last name at domain . net | experience comes from bad judgement.
domain: summertriangle | -- Mark Twain
.
- Follow-Ups:
- Re: gfortran, g95, and dual-core
- From: Charles Russell
- Re: gfortran, g95, and dual-core
- From: Charles Russell
- Re: gfortran, g95, and dual-core
- References:
- gfortran, g95, and dual-core
- From: Charles Russell
- Re: gfortran, g95, and dual-core
- From: Richard Maine
- Re: gfortran, g95, and dual-core
- From: Charles Russell
- gfortran, g95, and dual-core
- Prev by Date: Re: gfortran, g95, and dual-core
- Next by Date: Re: Windows array allocation problem
- Previous by thread: Re: gfortran, g95, and dual-core
- Next by thread: Re: gfortran, g95, and dual-core
- Index(es):
Relevant Pages
|
Loading