P3/P4 Optimization?

Status
Not open for further replies.

dockeen

Ars Tribunus Militum
1,600
An interesting situation has come up at work. We have
a simulation which is pretty numerically intensive.
On some dog slow k6-2 450's, it takes about 25-26
seconds per frame. On a P3-350 laptop, it takes about 20
seconds per frame. Now, the office just got in from
the main office a Pentium 4 1.4 Ghz, running Win2000.
On this machine, it comes in right around where the
laptop did, actually, slightly slower. Now, I just
got a P3 1.133 GHz Inspiron, and it came in at 4.8
seconds per frame, i.e. about 4 times faster than the
P4 1.4 gig.

All version of the simulation are running in Visual
Studio Pro 6. No differences from that side. No
obvious things like NAV running on the P4. My laptop
has 512 mb of RAM, 256 for the P4 and the 350 laptop,
and 64 mb on the k6. K6's run NT4, the 350 laptop
98SE, and XP on my 1.133 P3 Laptop.

Question. Could this be a problem with a compiler
badly matched to the P4?

Wayne
 

bash666

Ars Legatus Legionis
24,417
Originally posted by dockeen:

Wayne

You coudl download Intel's compiler(with a P4 target) with its 45 day eval period and see if it can solve your problems. Have you profiled our code on the P4? Is there any changce its throwing an exception which kills its P4 performance? Does it depend on a hardware rotate op(a la RC5)?

-Kevin
 

dockeen

Ars Tribunus Militum
1,600
OK, the information from above, which is VERY top level work,
is what has been done so far.

The tool is one that does a lot of software rendering of
scenes, so there is a lot of geometric calculations, alot
of math, and a lot of data. I have to admit, I do not
know anything about the hardware rotate op. I plead gross
ignorance.

In my simple physicist mind (very simple, just ask my wife)
it seems that since we are running the same application on
the different processors, it could be:
(1) The processor / application interaction
(2) Different OS
(3) Different memory

I think (2) is probably out, I can't imagine that XP Pro would
be faster than 2000. I don't rule out the last, but
the K62-450, which is a dog, a real dog, doing almost as well as
the P4-1400, when the K6 has only 64 mb of memory....hmmm

If I wanted to get Intel's compiler, where would I go?

Wayne(bozo)
 

bash666

Ars Legatus Legionis
24,417
Originally posted by dockeen:
OK, the information from above, which is VERY top level work,
is what has been done so far.

The tool is one that does a lot of software rendering of
scenes, so there is a lot of geometric calculations, alot
of math, and a lot of data. I have to admit, I do not
know anything about the hardware rotate op. I plead gross
ignorance.

In my simple physicist mind (very simple, just ask my wife)
it seems that since we are running the same application on
the different processors, it could be:
(1) The processor / application interaction
(2) Different OS
(3) Different memory

I think (2) is probably out, I can't imagine that XP Pro would
be faster than 2000. I don't rule out the last, but
the K62-450, which is a dog, a real dog, doing almost as well as
the P4-1400, when the K6 has only 64 mb of memory....hmmm

If I wanted to get Intel's compiler, where would I go?

Wayne(bozo)
Intel C Compiler Demo
 
Status
Not open for further replies.