| Subject: Re: P4 Hyperthreading/Improving cache usage |
| From: Martin 53N 1W |
| Date: 31/08/2004, 20:41 |
Mike W wrote:
Please post me a link if this has been covered before!
If you are running two copies of Seti on a HT Pentium, I believe that
they are seen by Windows as being two separate images, since you have
to run each one in its own directory. This means that they use two
separate chunks of cache memory, leading to potentially lower
perfomance if the cache gets full.
Has anyone found a way of letting Windows know that you want to use
two copies of the /same/ program, therefore allowing both copies to
share cache memory contents where appropriate?
[...]
Nice idea but I don't know of any OS that supports this at the CPU cache
level.
I doubt anything like that will get supported either. Intel's 'HT' is
likely a very short lived design 'workaround' for attempting to balance
out the bottlenecks in their P4 CPU architechture.
The nearest you'll get is at the main memory level. There is the linux
'fork' and unix 'vfork' mechanisms that run two processes from the one
copy of code held in memory. This might help the CPU cache with fewer
misses for small routines.
Nice idea!
Good luck,
Martin