MATLAB: Is a Pentium 4 machine slower in speed than Pentium 3 machine when used as the designated target with xPC target

34pentiumratesamplingSimulink Real-Timesitplan_xpc_hardwaresitplanxpcslowspeedtargetxpc

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?

Best Answer

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.