how to find out how many processors on the server
when I do command: top
I saw : CPU0 states: 0.0% user, 0.1% system, 0.0% nice, 99.0% idle CPU1 states: 0.0% user, 0.0% system, 0.0% nice, 100.0% idle does it mean that I have two porcessors???? but the person who ordered the server told me thathe order only one processor. I just want to confirm |
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. |
Is it P4? Hyperthreading will make it show up as two processors.
|
Quote:
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. John |
thanks so much for the values input, by the way, what is hyper threading mean ????
|
The easyest way to tell is to open your box and have a look.
|
Quote:
In theory, it's neat because if you have two 3.06 Intel Pentium-4 Based Xeons then you theoretically have 4 processors ! :eek: |
just to add, you can see cpu info in /proc/cpuinfo.
so: cat /proc/cpuinfo |
All times are GMT -5. The time now is 05:14 PM. |