[Cbe-oss-dev] Lifetime of SPE contexts & gangs

Kazunori Asayama asayama at sm.sony.co.jp
Wed May 9 16:02:50 EST 2007


Jeremy Kerr <jk at ozlabs.org> wrote:
> Michael,
> 
> > I like this idea best .. because I thought of it perhaps :)  Why
> > would libspe get confused? Because it remembers the path or
> > something?
> 
> libspe doesn't use the context paths once the context has been created 
> (it uses the *at() syscalls to access the context's files), but I'm not 
> entirely sure what assumptions it makes about the presence of contexts 
> within a gang when created. A cursory glance would suggest that it 
> should be fine though. 

Debugger may be confused by such dynamic changes rather than libspe...

> 
> Same goes for the scheduler - I get the impression that the gang system 
> is still a work-in-progress, and I'm not sure of the potential effects 
> of contexts moving out of gangs after creation. Christoph?

For example, what happens if a gang, which has SPE context with
affinity, is destroyed ? It is assumed that SPE contexts with affinity
must belong to one of gangs.

--
(ASAYAMA Kazunori
  (asayama at sm.sony.co.jp))
t



More information about the cbe-oss-dev mailing list