2 ms·
Are you considering the resources it took to create the chip itself? If you’re running a single threaded process on a multi core machine and nothing else, the r
by nindalf 3y ago
Are you considering the resources it took to create the chip itself? If you’re running a single threaded process on a multi core machine and nothing else, the rest of the processor is being wasted.
Further, the way modern processors conserve power is by the “race to sleep”. If it can complete the task quickly, the processor enters a lower power sleep mode. Therefore a language that allows us to easily write multithreaded code will reach this state quicker and consume less power. It’ll be “greener”.
- gpderetta 3y agoSurely part of conserving resources is matching your hardware to the load. In the same way you wouldn't reserve a datacenter for a job that can be done on a single machine, you wouldn't reserve a large machine for a single-threaded load. You either pick a smaller, more efficient machine or do more work on that machine. Also if you are single threaded you do not have to race to sleep on all the other cores. They are already sleeping.