Re:Multi-core and multi-threading performance
by dkersten on Thursday October 11, 2012 @12:24PM
(#4641504)
To me, something is EP if it has no or few dependencies between data, regardless of how much the data does or doesn't need to be moved around.
[ Parent
| on HN ]
Re:Multi-core and multi-threading performance
by marshray on Thursday October 11, 2012 @12:41PM
(#4641589)
Yeah, that's probably more important. But they're related and the amount of data is not completely irrelevant.
Say instead of the Mandelbrot set we're talking about generating large vectors of random numbers. This task should obviously have no data dependencies and there are algorithms that can generate random numbers much faster than an external CPU bus can transfer them to memory.
If raw bandwidth limitations mean that our CPUs see only 10% utilization is this still a "fully EP" problem? Because it should easily achieve full CPU utilization on most any machine, couldn't we say that Mandlebrot is more EP than the RNG problem?
Re:Multi-core and multi-threading performance
by dkersten on Friday October 12, 2012 @06:45AM
(#4644477)
I would say that the RNG problem is EP in that each data item can be processed completely in parallel with the others. The fact that there is a memory bottleneck doesn't really say anything about the nature of the problem but rather the hardware its running on.