discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] How to use gcell gang-scheduling in qa_fft.py (Py


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] How to use gcell gang-scheduling in qa_fft.py (Python) on Cell BE?
Date: Fri, 23 Jul 2010 12:22:56 -0700
User-agent: Mutt/1.5.20 (2009-08-17)

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.

Eric



reply via email to

[Prev in Thread] Current Thread [Next in Thread]