Why is a Pentium 4 machine slower in speed than Pentium 3 machine when used as the designated target with xPC target? - MATLAB Answers - MATLAB Central

Why is a Pentium 4 machine slower in speed than Pentium 3 machine when used as the designated target with xPC target?

1 view (last 30 days)
I am trying to obtain a high sampling rate from a Pentium 4 machine but it turns out that it is much slower than the sampling rate from a Pentium 3. What is wrong? What should I do?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
We have seen that as a target pc, a Pentium3 processor will outperform a Pentium 4 processor. The execution units on the Pentium 4 are substantially redesigned since the Pentium 3. With code generation that specifically targets the Pentium 4 machine, it will perform better than the same code on a Pentium 3 machine.
Unfortunately, code generation optimized for earlier processors does not perform very well at all on the Pentium 4.
If you want to achieve the highest real-time performance in conjunction with xPC Target, you need to chose the highest clocked Pentium 3 or AMD Athlon processor and not consider a Pentium 4.

More Answers (0)

Registration Now Open for MathWorks AUTOMOTIVE CONFERENCE 2025
...
Hello Community, We're excited to announce that registration is now open for the...

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Go to top of page