On Fri, Jul 23, 2010 at 11:29:40AM +0200, matty wrote:
> Hi,
>
> when i run benchmark_nop on Cell BE (PS3), i can see the speedup pretty
> well.
> When i take qa_fft.py as testcase i can't see the speedup.
> All SPEs run the same code for same time. So when i use 6 SPEs, computing
> takes the same time
> as 1 SPE but it computes six times more.
> I think i have to set gang_schedule() to true in gc_job_manager.h.
> But how can i use this option in qa_fft.py?
>
> def setUp(self):
> ph =
> gcell.program_handle_from_filename("../../gcell/lib/spu/gcell_all")
> opts = gcell.jm_options(ph, 1)
> self.mgr = gcell.job_manager(opts)
> gcell.set_singleton(self.mgr)
>
> gcell.jm_options() has only two parameters, in gc_job_manager.h there are 7
> options.
>
> Maybe, somebody can help me! I want to achieve, to see the speedup as well
> with qa_fft.py as testcase.
>
> Best Regards
> Matty
I don't believe that gang scheduling was ever implemented by the kernel.