Originally posted by: cheungct
Is there any paper talking about the performance enhancement / tuning using xlc v9 on POWER6? We are facing performance degrade using xlc9 compared with xlc8. We have tried to recompile the source code, (with or without -qarh=pwr6 and -qtune=pwr6)and also on/off the SMT, same result we've got.
Moreover, the worst thing if it happened on AIXv5.2 AIXv5.3 and AIXv6.1. Performance drop around 5-10%. Is it the fact using xlc9? please advise. Thanks!
Here's the testing script
===============================================
#include <stdio.h>
#include <stdlib.h>
int
main (int argc, char **argv)
{
long i=0,j=0;
j=atol(argv[1]);
fprintf(stdout, "\nj = %ld\n\n", j);
while (i < j)
{
i++;
}
fprintf(stdout, "\ni = %ld\n\n", i);
}
========================================================
Thomas
#AIX-Forum