From: Ian R. <id...@us...> - 2002-12-02 16:53:15
|
On Fri, Nov 29, 2002 at 01:20:45PM +0000, Jos=E9 Fonseca wrote: > On Fri, Nov 29, 2002 at 01:13:22PM +0100, Felix K=FChling wrote: > > On Fri, 29 Nov 2002 11:15:19 +0000 > > Jos=E9 Fonseca <j_r...@ya...> wrote: > > > I think that one thing that must be thought is whether the parallel= ism > > > should be in the pipeline stages or in the pipeline data, i.e., if = we > >=20 > > I am not sure I understand the difference. The idea of a pipeline is > > that you split the tasks performed on data into several stages. Mesa > > does this part already. Then while one package is in stage 1 another = one > > can be processed in stage 2 at the same time. So I think I have > > parallelism both in pipeline data and the stages. > > >=20 > Let'me ilustrate with an example. Image you have 1000 polygons to > process (i.e., transform, clip, build vertex buffers, and render). If > you have a SMP computer with 4 processors you can make use of > parallelism in at least two ways: >=20 > a) Have a processor do the transform of the 1000 polygons, another do > the clipping, ... etc. >=20 > b) Have a processor do the transform+clipping+... of 250 polygons, have > another do the same for another 250 polygons, ... etc. One thing I forgot to mention in my other message is that the "b" option will make MUCH better use of the CPU caches. --=20 Smile! http://antwrp.gsfc.nasa.gov/apod/ap990315.html |