Originally posted by kenohki
What benchmarks are you talking about here? Steve Jobs' Photoshop bakeoff. Marketing that is. Run a different set of filters that are SSE2 enabled and the P4 will come out ahead.
Intel gave Adobe assembly code for SSE2, so the filters
ARE optimized for the P4. Do some research next time.
On the other hand, only two or three filters are optimized for AltiVec (lighting effects is one), so it's a pretty even match.
One other point is that these Photoshop tests are not just running some filters, as PC users seem to love to say. There is a lot of transforming and rendering involved. The reason Apple uses Photoshop is that both the Windows and Mac OS versions are based on the same code.
I use Photoshop for a living on both G4s and P4/Win2k boxes, and I can attest it's faster on Macs.
On the other hand, AfterEffects is a dog on OS X, and runs much faster on Windows, so this is a case where Adobe did not optimize their code for OS X.
I'd love to see an independent standard benchmark like SPEC (or TPC-C since I'm a DBA). Granted, SPEC isn't always the best indicator of system performance but it's pretty much the best independent benchmark out there for processor performance. And the G4 doesn't end up in a dead heat against a 2GHz P4 in SPECcpu.
The problem with the SPEC benchmarks is usually the compiler. The Mac version is poor quality. The problem is no benchmark is equal between two different platforms.
This is why Intel benchmarks are always better than another benchmark on the same CPU, because they have highly optimized compilers. Also it only tests the CPU, and not the whole system. In July 2000 NASA did some tests on the G4's, and felt they had better performance then Intel and Alpha CPUs.
This paper describes work conducted at NASA Langley Research Center during an evaluation of PowerMac G4 systems for FORTRAN-based scientific computing and computational fluid dynamics simulation. A PowerMac G4/500 was configured for dual booting into Mac OS and Linux operating systems. Various developer tools were used to compile and run test codes on the G4 for comparison benchmarking with platforms including Cray C-90, Compaq Alpha, Pentium III, and Silicon Graphics (SGI) systems. Following general benchmarking, more specific AltiVec testing was conducted on the G4 using FORTRAN and C, and approaches for implementing AltiVec in generic FORTRAN computations were developed.
Results indicate that the PowerMac G4 system has the potential to be an inexpensive high performance scientific computing platform. Much of that potential is currently unrealized, however, due to the limited amount of AltiVec support in FORTRAN. Without the parallel vector processing capabilities of AltiVec, the G4 places near the end of the pack in performance tests using standard FORTRAN scientific codes. In limited cases where AltiVec acceleration was available and tested under FORTRAN, the G4 showed a clear advantage with 4-7X greater performance and a 5-8X greater cost effectiveness than all other workstation systems evaluated. Examples presented in this report show that only minor re-coding would be necessary to implement AltiVec instructions if they were accessible to standard FORTRAN programming. Because of this, there appear to be many opportunities to advance scientific computing on the PowerMac G4 platform.
Benchmarks are only good if you spend your day running benchmarks, but most people do other things with their computers.
