By: Anon (no.delete@this.spam.com), March 22, 2021 5:47 am
Room: Moderated Discussions
dmcq (dmcq.delete@this.fano.co.uk) on March 22, 2021 4:53 am wrote:
> I'm not sure I see much future for microthreads. They might be able to extract a bit more performance
> from a CPU - but even POWER doesn't really extract all that much more with multiple independent tasks
> so would something that put in more complex depenencies do much for single tasks? Yes hardware for zeroing
> would be nice but I would consider it part of the normal code and just done in an OoO manner.
When looking at a program from a higher level it is possible to find things like function calls that are independent, the instructions will be too far apart for the CPU to detect this and there is the memory order too, asking for the OS to spawn a new thread have way too much overhead, but, with something with low overhead such as microthread it would be possible to exploit such paralelism.
But of course, easier said than done.
> I'm not sure I see much future for microthreads. They might be able to extract a bit more performance
> from a CPU - but even POWER doesn't really extract all that much more with multiple independent tasks
> so would something that put in more complex depenencies do much for single tasks? Yes hardware for zeroing
> would be nice but I would consider it part of the normal code and just done in an OoO manner.
When looking at a program from a higher level it is possible to find things like function calls that are independent, the instructions will be too far apart for the CPU to detect this and there is the memory order too, asking for the OS to spawn a new thread have way too much overhead, but, with something with low overhead such as microthread it would be possible to exploit such paralelism.
But of course, easier said than done.