Re: [Algorithms] General purpose task parallel threading approach
Brought to you by:
vexxed72
|
From: <asy...@gm...> - 2009-04-13 22:40:57
|
So far the experience I (and few others) have says that 2 to 4 kilobytes is the size which is enough to handle 95% of all cases. You could use same memory pool for tasks of different sizes (bigger size will result in less tasks you have in flight), for example - 2 continuous pieces of 4k memory could be used to create an 8k task. Alexander 2009/4/14 Nicholas "Indy" Ray <ar...@gm...> > On Mon, Apr 13, 2009 at 2:49 PM, Adrian Bentley <ad...@gm...> wrote: > > 4 MB feels like a lot given console memory limits, but allowing 2000 > > tasks in flight sounds pedantic. This mechanism can't support SPUs, > > right? > > Also keep in mind that a 2 KB stack is likely to get overflowed REALLY > quickly with any real operations going on. > > Nicholas "Indy" Ray > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > -- Regards, Alexander Karnakov |