Являются ли популярные тесты верными сравнениями архитектур?

284
ben

В последнее время люди были очень взволнованы возможностями процессора ARM от Apple, ссылаясь на результаты тестов, которые конкурируют с процессорами x86. Тем не менее, я скептически отношусь к этим показателям: хотя две архитектуры объединяются с точки зрения размера набора команд, x86 кажется в значительной степени CISC, а ARM - в основном RISC. Я также скептически отношусь к тому, что свойства энергопотребления двух архитектур очень разные, для процессоров x86 не имеет смысла быть с точки зрения производительности примерно одинаковыми с ARM-архитектурами; в противном случае люди просто сэкономили бы деньги, запустив вместо этого процессоры ARM.

Итак, законны ли эти тесты с точки зрения правильного тестирования оборудования? Есть ли что-то, что не проверялось этими тестами, что позволило бы x86 опередить ARM?

0
Контрольные показатели следует рассматривать только как приблизительную оценку. В прошлом компьютерные системы, как было известно, были настроены исключительно для того, чтобы хорошо выполнять определенные тесты MIPS и / или MFLOPS. sawdust 8 лет назад 0

1 ответ на вопрос

0
Mokubai

"Real world" benchmarks are testing a subset of features that are aligned to program operations rather than raw processor power. It is likely that they are leaving out important tests that favour brute strength and computational power that would show the x86_64 for what it is, a more capable and powerful core.

ARM cores have gotten to the point where they have great memory bandwidth, great bandwidth to storage devices and pretty good graphics cores. What this means is that they have everything needed to perform well in "light" tasks like web browsing and gaming and "office" related tasks.

This is what the more modern "benchmarks" are looking at, a set of tasks that are more user-centric rather than focused on the hardware itself. Yes it does take a certain amount of processing power to load a webpage, but a lot of the task is held up in transferring the images from memory and pushing them to the graphics engine.

Browser JavaScript engines can be better optimised for ARM, leaving out unnecessary features, and making them appear faster as well.

This pattern though can make an ARM processor look as fast as a more powerful processor, because for those tasks it is.

What the benchmarks ignore though is the more intensive tasks we expect to perform on an x86_64 processor. I would expect an ARM core to perform video transcoding, massive physics computations (think big RTS games) or raytraced 3D rendering (blender, Maya) appreciably slower than an x86 core, but those are not necessarily "common" user tasks and so don't get benchmarked.

Essentially for data movement and small amounts of processing an ARM processor could be as fast as an x86 processor. For actual raw power and bulk data processing the x86 will win every time.

Похожие вопросы