LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Multithreading capability (https://www.linuxquestions.org/questions/linux-software-2/multithreading-capability-584195/)

bavondrake 09-12-2007 11:57 AM

Multithreading capability
 
How do you check whether your linux machine has multithreading capability?
thanks,
Bavon

Nylex 09-12-2007 12:12 PM

What exactly do you mean? Do you actually know what muti-threading is?

bavondrake 09-12-2007 12:17 PM

would like to know if my processor is multithreaded enabled.

AlucardZero 09-12-2007 12:17 PM

It does/It is.

Are you asking about taking advantage of dual cores or procressors?

jailbait 09-12-2007 12:18 PM

Quote:

Originally Posted by bavondrake (Post 2889813)
How do you check whether your linux machine has multithreading capability?
thanks,
Bavon

Do you mean software or hardware multithreading? Linux software always has multithreading capability. You might be able to find out whether your CPU has hardware multithreading with this command:

uname -p

But I am not sure of that.

---------------
Steve Stites

bavondrake 09-12-2007 12:19 PM

wanna test my application in the linux machine that is multithreaded enabled..but don know how to check that information in my linux machine.

AlucardZero 09-12-2007 12:21 PM

Yes, your Linux is multithreaded enabled.

DO you know what multithreading is? I guess not. Can you answer my question: Are you actually asking about taking advantage of multiple cores or processors, or not?

bavondrake 09-12-2007 12:26 PM

yes...but does that mean that if i have more than one processor in my machine and i'm using say RHEL3 then i have already have multithreading capibility?

AlucardZero 09-12-2007 12:30 PM

If you have an SMP enabled kernel, then multiple cores/processors are being used. Please note that this is not the same as using multiple threads, which is the sticking point here.

You can check if your kernel is SMP-ready by issuingthe uname -a command and looking for the word "SMP".

Nylex 09-12-2007 11:57 PM

Quote:

Originally Posted by bavondrake (Post 2889838)
yes...but does that mean that if i have more than one processor in my machine and i'm using say RHEL3 then i have already have multithreading capibility?

You'll have "multithreading capability" with even one processor. Please clarify what you're asking :/.


All times are GMT -5. The time now is 03:51 PM.