kengreen wrote:Using the DES source code from Gnu Privacy Guard, Mnjul and others modified it to run under IBM's ALF and XLC-SSC compiler. They got the following optimal results using 24MB file to encrypt: IBM-ALF 80MB encryptions/sec, IBM XLC_SSC (0.9) 60MB encryptions/sec. I modified their SSC source code to run on openmp and Cellss with the following results encrypting the IBM redbook.pdf file 10,677,673B, gcc43 -fopenmp 40MB encryptions/sec Cellss 24MB encyptions/sec. I got 57.4MB encryptions/sec using IBM XLC-SSC similar to their results.
kengreen wrote:I don't know. I get similar results when I compile the separate files des.c and main.c and the combineddes.c file using ppu-gcc43 -fopenmp .269822 sec and .276592 sec. When I compile the des.c file to des.o and link it to main.c with cellss-cc using CSS_MAX_SPUS=6 or compile the combineddes.c with cellss-cc, the results are also similar .424064sec and .435846 sec. Finally using XLC-SSC also gives similar results: .185912 sec and .190438 sec. This doesn't answer your question but seems to indicate that I am getting somewhere. IBM XLC-SSC doesn't want to compile the matmul examples from /usr/share/doc/cellss/examples/matmul so I can't comment on that. I don't know if and when Codeplay's Offload Community Edition will be available.
kengreen wrote:To end this thread since no one has picked it up, I will add my observations: First I don't know when Codeplay's offload will be available for non SCE developers. No one has replied to my emails. It seems that Offload will take more effort then XLC-SSC or CellSS to modify a scalar C program to run on Cell processor SPU's.
Return to Software Development
Users browsing this forum: No registered users and 0 guests