Is an operating system responsible to making the best use of system resources?

1

Suppose I have a powerful desktop PC with a high performance CPU and GPU. Does my OS decide how it should use these resources? Can there be any notable differences between different operating systems when they run on this PC? For example if I install Windows on this PC and run Blender on it, can it be possible that Blender run better (faster, more efficient) than when I install Ubuntu on that PC? Has Windows fantastic 3D Games because it can interact better with these resources? Or it depends only on my Hardware? Please provide documentary evidence if possible.

Dante

Posted 2014-10-19T23:54:10.387

Reputation: 205

"Best" is subjective. Some OSes such as Linux allow configuration for the intended applications, e.g. Server or Desktop (preemptive) kernel, choice of scheduling algorithms, choice of memory allocators. – sawdust – 2014-10-20T00:32:04.170

Answers

1

If I was just answering to your headline, then answer is of course. The OS controls the hardware so definitely it is the only piece of software that is responsible.

If you consider the device drivers as separate from the OS then yes, it can get tricky as to which piece is controlling which resource. Now to your individual questions.

  1. Yes.
  2. Yes, always due to different algorithms of each OS.
  3. Definitely, due to the differences across OS's and how they allocate resources.
  4. Technically it's not windows that interacts better with resources, though with various technologies like DirectX, Direct3D, windows allowed device drivers to optimize many calls, hence leading to better performance. This is more of a market issue because windows market is big so device driver writers can put more time and energy into optimizing their hardware. Linux driver support can be somewhat limited. Also the game developers have a larger market in windows, so they are naturally going to put a lot more effort into windows. That doesn't mean windows is a better operating system.
  5. No. See above answer.

I'm not really sure what documentary evidence you'll need. Existence of lack of existence of some games is a market factor and you can simply confirm that by searching the web for Games by OS.

However I can suggest a bit of reading.. For questions #1 and #2 you may read uo Windows Architecture, an interesting "opinions" discussion Who has faster multi-tasking and finally a summarized write up on different OS's multi tasking v/s single tasking and other details

For question #3 and #4 you might read up on DirectX and Direct 3D and links those lead you do.

LMSingh

Posted 2014-10-19T23:54:10.387

Reputation: 807