Abstract
Cray X1 Fortran and C/C++ compilers provide a number of loop
transformations, notably vectorization and multistreaming, in order to
exploit the multistreaming processor (MSP) hardware resources and
its high memory bandwidth. A Cray X1 node is
composed of four MSPs, which in turn are composed of four single streaming
processors (SSP). Each SSP contains a superscalar processing unit and
two vector processing units. Compiler vectorization provides loop level
parallelization and uses the vector processing
hardware. Multistreaming code generation by the compiler permits
execution across the SSPs of an MSP on a block of code. In this paper,
we analyze
overall impact of loop-level compiler optimization on a scientific
application called Parallel Ocean Program (POP). POP has been
extensively optimized for X1 by instrumenting the code using X1
compiler directives. We compare and contrast automatic and manual
optimization schemes available on X1 and analyze their impact on the
code performance and scalability. Our results show that the addition
of compiler directives increases the average vector length, thereby
improving the single node performance significantly. However, this
code scales at a slower rate as the local workload volume decreases
and the communication costs increase.