How fast would a Pac Man move on its
original screen aspect and pixel resolution
if it were to run on China's Sunway TaihuLight
I did this calculation just for fun ... :-)
PacMan specs.
Zilog Z80 CPU microprocessor: 6–20 MHz
4KB ROM cartridge
Pac-Man moves
exactly 80 pixels per second, or 10 tiles
per second.
Pac-Man’s screen resolution
is 224 x 288, so this gives us a total board
size of 28 x 36 tiles, though most of
these are not accessible to Pac-Man or
the ghost.
so 3.6 seconds from top to bottom of screen
at 10 tiles per second.
Specs of the processors on the supercomputer:
Each core of the CPE has a single floating point
pipeline that can perform 8 flops per cycle per
core (64 bit floating point arithmetic) and the MPE has a
dual pipeline each of which can
perform 8 flop
s per cycle per
pipeline
(64 bit floating point arithmetic). The cycle time
for the cores
is 1.45 GHz, so a
CPE core has a peak performance of 8
flops/cycle * 1.45 GHz or 11.6
Gflop/s and a core of the MPE has a peak
performance of 16 flops/cycle * 1.45 GH
z or 23.2
Gflop/s.
There is just one thread of execution per
physical core.
so 1.45 ghz is 1450 mhz.
So 1450 times faster.
So 10.5 million processors would be 152 250 000 000 mhz
So 10.5 million processors would be 152.25 billion mhz
So 152 250 000 000 devided by 1450 is 105 000 000.
So Pac Man will move 105 000 000 times faster.
So 10 tiles in 1 sec.
So now it can move 1050 000 000 tiles in 1 sec.
So 1050 000 000 devided by 36 is 29166666.67
------------------------------------------------------
So in 3.6 seconds it would move 29 166 666.67 times
over the screen top to bottom or bottom to top.
(This is not taking in account that the PacMan cant reach
100% of the screen area).
------------------------------------------------------