Defiance
Member
+438|6939

I've googled a bit, perhaps not enough, but I can't find a definitive answer to this question.

I know some applications are coded to run on multiple cores, but what about just many single-thread applications stacking on top of each other? What device sorts which core the programs are assigned to? Is this hardware level or done by the OS?
AussieReaper
( ͡° ͜ʖ ͡°)
+5,761|6420|what

I would have thought that multi-core processing is only used when an app has more than a single thread. If it's just single thread then they are cued.

If your talking about which processor runs the single thread out of the two, I think it's whichever one is not currently busy, and this is contolled by the processor on the hardware level.
https://i.imgur.com/maVpUMN.png
Defiance
Member
+438|6939

TheAussieReaper wrote:

If your talking about which processor runs the single thread out of the two, I think it's whichever one is not currently busy, and this is contolled by the processor on the hardware level.
'Twas indeed the question, and now I'm glad it's done in the hardware.
CrazeD
Member
+368|6940|Maine
I believe new apps go to the core with the least amount of load. AMD and Intel probably handle it differently, though. I'm not real sure.
mikkel
Member
+383|6869
It's not done in hardware. All access to CPU resources is governed by a scheduler, a low-level application that sorts and queues requests according to varying criteria, depending on the algorithms employed.

Last edited by mikkel (2008-08-23 02:22:01)

max
Vela Incident
+1,652|6835|NYC / Hamburg

mikkel wrote:

It's not done in hardware. All access to CPU resources is governed by a scheduler, a low-level application that sorts and queues requests according to varying criteria, depending on the algorithms employed.
once upon a midnight dreary, while i pron surfed, weak and weary, over many a strange and spurious site of ' hot  xxx galore'. While i clicked my fav'rite bookmark, suddenly there came a warning, and my heart was filled with mourning, mourning for my dear amour, " 'Tis not possible!", i muttered, " give me back my free hardcore!"..... quoth the server, 404.
Gooners
Wiki Contributor
+2,700|6900

mikkel wrote:

It's not done in hardware. All access to CPU resources is governed by a scheduler, a low-level application that sorts and queues requests according to varying criteria, depending on the algorithms employed.
...I knew that
Defiance
Member
+438|6939

mikkel wrote:

It's not done in hardware. All access to CPU resources is governed by a scheduler, a low-level application that sorts and queues requests according to varying criteria, depending on the algorithms employed.
+1s to new info.

Board footer

Privacy Policy - © 2025 Jeff Minard