#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    28
    Rep Power
    0

    +1 core bases CPU and multitasking


    Hello,

    Suppose I've got a computer machine with +1 core based CPU. Does this mean that my machine runs multiple processes or excutes more than one instruction at the same time?

    Thanks n advance,
    Ch.
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,317
    Rep Power
    7170
    If a processor has more than one core then it is possible to run more than one instruction at the same time. However, some resources are shared between the cores, and it would not be possible to run two instructions at the same time if both require that resource.

    The way in which processor time is shared between processes is determined by the operating system. However, in almost all systems you could not split a single thread of execution across more than one core.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  4. #3
  5. Lord of the Dance
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Oct 2003
    Posts
    3,663
    Rep Power
    1945
    Yes.
    Originally Posted by http://en.wikipedia.org/wiki/Multi-core_processor
    A multi-core processor is a single computing component with two or more independent actual central processing units (called "cores"), which are the units that read and execute program instructions.[1] The instructions are ordinary CPU instructions such as add, move data, and branch, but the multiple cores can run multiple instructions at the same time, increasing overall speed for programs amenable to parallel computing.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    28
    Rep Power
    0
    Originally Posted by MrFujin
    Yes.
    Yes, but as E-Oreo explained, that is possible on some conditions:
    1 - What an OS determines.
    2 - Whether the cores share the same resource or not.
    3 - Design of threads (included in 1).

    But as long as we have one memory and one screen (as Output resource), our machines can't run multiple instruction at the same time, and this possibly doesn't go for the computer of government or scientific institutes.

    Thx for the replies

IMN logo majestic logo threadwatch logo seochat tools logo