Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Chances are you're running on a machine with Intel's HyperThreading if you know you have one CPU but Linux tells you you have two. Linux sees HT Processors as 2 CPUs. The only way to know for sure is to check your system's POST boot-up screen or assume that if you have a Pentium 4 with 3 GHz or more that it does.
You can look at the file /proc/cpuinfo and see if (going by memory here) the characters 'ht' are listed in the line called 'flags' for CPU0.
As a side note it's probably useful to disable hyper-threading while running Linux with Kernel version 2.4 (which you probably have) since the second CPU is 'not quite really' a second processor and the kernel may spend time scheduling work for the virtual processor when you really do not get the benefit from it.
As a side note it's probably useful to disable hyper-threading while running
Linux with Kernel version 2.4 (which you probably have) since the second CPU is 'not quite really' a second processor and the kernel may spend time scheduling work for the virtual processor when you really do not get the benefit from it.
My on this...
I have a dual processor with hyper-threading enabled. I was interested in whether hyper-threading actually increased performance and tested this by running two and four setiathome clients. With hyper-threading each of the four setiathome clients did run slower than the two unthreaded clients, but not half as slow. I didn't keep the figures but I think the gain in performance was about 50% with hyperthreading.
Originally posted by ashley75 thanks so much for the values input, by the way, what is hyper threading mean ????
Hyper-Threading is the hardware-level system in which the CPU emulates dual processors, thus spreading work over "two" processors or loading the program to either processor for seperate processing.
In theory, it's neat because if you have two 3.06 Intel Pentium-4 Based Xeons then you theoretically have 4 processors !
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.