4 ms·
Not my area of expertise, so I'm sorry if this doesn't make much sense: Wouldn't it possible to have a virtual machine that presents itself as a single CPU and
by tambourine_man 15y ago
Not my area of expertise, so I'm sorry if this doesn't make much sense:
Wouldn't it possible to have a virtual machine that presents itself as a single CPU and distributes the job efficiently across the many cores that it is running on?
- noobface 15y agoWhat you've described sounds like the existing hardware abstraction present in virtual machine monitors. http://en.wikipedia.org/wiki/Hypervisor http://en.wikipedia.org/wiki/Hypervisor In my very layman's opinion, this is a much different problem. Specifically the cost-benefit of discrete vs. MIC for calculations. HPC guys have tooled with it for a while trying to come up with a fast, yet cost effective method of crunching more data. Floating point acceleration specifically offers huge increases in speed for scientific modeling, but comes at a significant cost in terms of design, implementation and execution. This NVIDIA fluff PR piece was trying to prove something to the effect of, "Don't use on-processor floating point, use our discrete solution!"
- extension 15y agoHow would you distribute the work of a virtual machine? It has to execute instructions in sequence, just like a non-virtual machine. Any parallelism needs to be extracted at a much higher level of algorithmic abstraction, i.e. by a programmer. Imagine trying to make a virtual machine that would rewrite any bubble sort as a quicksort. Parallelizing algorithms is much more difficult than even that.
- tambourine_man 15y agoBut we are already able to extract parallelism deep down in the instruction level with out of order execution. Imagine some layer in between an abstract syntax tree and micro-ops. Again, just thinking out loud.
- extension 15y agoWe can extract a little bit of parallelism that way, but nothing even close to the scale of what a GPU does.
- tambourine_man 15y agorelevant: http://news.ycombinator.com/item?id=3816771 http://news.ycombinator.com/item?id=3816771