Results 1 to 12 of 12
Thread: Cores available
-
04-21-2011, 09:57 AM #1Junior Guru
- Join Date
- Sep 2010
- Location
- Ohio
- Posts
- 202
Cores available
So I have done some searching on Google and found some commands to find the cpu cores of a server. I am running a few VPS' and I wanted to know how to find out how many cores are there. One of the companies is tell me 8 cores is available but from what I read I don't see 8 cores. I do know from what I have read on searching that unless the kernal has SMP it won't show you multiple cores. So I checked each VPS and all have SMP in their kernel.
I have found the outputs using:
Code:cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 16
model : 8
model name : AMD Opteron(tm) Processor 4174 HE
stepping : 1
cpu MHz : 689.559
cache size : 512 KB
physical id : 1
siblings : 6
core id : 0
cpu cores : 6
apicid : 8
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc nonstop_tsc pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy altmovcr8 abm sse4a misalignsse 3dnowprefetch osvw
bogomips : 4600.04
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 48 bits physical, 48 bits virtual
power management: ts ttp tm stc 100mhzsteps hwpstate [8]
grep -ic ^processor /proc/cpuinfo
Since I have another VPS which the first cat command gives me this:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
stepping : 5
cpu MHz : 1466.714
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5866.85
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
stepping : 5
cpu MHz : 1466.714
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5866.66
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
stepping : 5
cpu MHz : 1466.714
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5866.67
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
stepping : 5
cpu MHz : 1466.714
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5866.74
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]
processor : 4
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
stepping : 5
cpu MHz : 1466.714
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5866.73
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]
processor : 5
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
stepping : 5
cpu MHz : 1466.714
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
apicid : 3
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5866.76
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]
processor : 6
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
stepping : 5
cpu MHz : 1466.714
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 2
cpu cores : 4
apicid : 5
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5866.74
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]
processor : 7
vendor_id : GenuineIntel
cpu family : 6
model : 30
model name : Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz
stepping : 5
cpu MHz : 1466.714
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 3
cpu cores : 4
apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 11
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips : 5866.65
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management: [8]
Thanks for any advise.
-
04-21-2011, 10:03 AM #2Web Hosting Master
- Join Date
- Jan 2011
- Location
- Varna, Bulgaria
- Posts
- 1,276
The first one only gives you access to one core.
The second one gives you access to 8 threads (the CPU has 4 real cores, each having 2 threads).
-
04-21-2011, 10:15 AM #3Web Hosting Master
- Join Date
- Jan 2011
- Location
- Varna, Bulgaria
- Posts
- 1,276
To clarify:
The first CPU is a 6 core AMD at 2300 MHz. They let you use 30% of 1 core (approx. 690MHz).
The second CPU is a 4 core Intel processor at 2933 MHz, with hyper threading, which makes it look like 8 core. They let you use 8 threads at 1466MHz each, which is half of the whole CPU power.
-
04-21-2011, 10:39 AM #4Junior Guru
- Join Date
- Sep 2010
- Location
- Ohio
- Posts
- 202
Your seeing that on the:
cpu MHz : 1466.714
Also that means on the first one I am being duped right ha ha??
-
04-21-2011, 10:46 AM #5Web Hosting Master
- Join Date
- Jan 2011
- Location
- Varna, Bulgaria
- Posts
- 1,276
Yes, you don't get even close to 6 cores on the first server. You get 30% of 1 core.
BUT !!! You might get better performance on the first server as compared to the second. The reason is this: for the first server every customer is being given some part of the CPU and can use only that part. So if a user runs some high CPU intensive tasks he cannot influence the performance of the other users on the same system.
On the second server if every customer gets access to half the CPU power available then it takes only two abusive clients to make the CPU very overloaded and everyone else will get very bad performance.
So the first one gives you a small CPU part, but more dedicated.
The second one gives you large CPU power, but more shared.
Which one is better depends on many things.
-
04-21-2011, 04:29 PM #6Junior Guru
- Join Date
- Sep 2010
- Location
- Ohio
- Posts
- 202
Well I can see your point and normally it would make more sense to me and I would agree. But for some reason since they made this change two months or so ago things have been going downhill and server has been really slow lately on some things.
In comparison to the other VPS I have at the other company I have it maxed out all the time and it runs pretty smooth. So I'm really thinking of switching since this seems to be constant with them for some reason.
Thanks for the advice and information, it's good to know how I measure this in the future.
Any ideas on how to benchmark these two to see what I'm getting in performance difference?
-
04-22-2011, 04:41 AM #7Web Hosting Master
- Join Date
- Jan 2011
- Location
- Varna, Bulgaria
- Posts
- 1,276
-
04-22-2011, 05:02 AM #8IOFLOOD.com -- We Love Servers
Phoenix, AZ Dedicated Servers in under an hour
★ Ryzen 9: 7950x3D ★ Dual E5-2680v4 Xeon ★
Contact Us: sales@ioflood.com ★
-
04-22-2011, 11:01 AM #9Junior Guru
- Join Date
- Sep 2010
- Location
- Ohio
- Posts
- 202
Ok so I ran the unixbench tests on each machine. VPS1 is the old 1 CPU machine. VPS2 is the new one I just purchased from the company that I showed the VPS2 processor info from. So VPS2 is empty granted.
Now, basic info. VPS2 I started it's benchmark 2 minutes after VPS1, it caught VPS1 and passed it by 5 tests! Then went on to 4x tests while as VPS1 only stayed at 1x, I guess because VPS1 only has one CPU core, yes? ha ha
But VPS2 did pass it up by the first TEST in the list and passed it by a total of 5! I do know that VPS1 maxed out load at 6 during 1x tests, while vps2 maxed out at 4 I think. During 4x the last test which is 8 shell scripts VPS2 maxed out at 22 load at the very end, test 3. While during all other tests in 4x it stayed at a steady 4 load.
So here are the results, VPS1:
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
OS: GNU/Linux -- 2.6.18-028stab070.14 -- #1 SMP Thu Nov 18 16:04:02 MSK 2010
Machine: i686 (i386)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: AMD Opteron(tm) Processor 4174 HE (4600.0 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, AMD virtualization, SYSCALL/SYSRET
09:58:16 up 13 days, 19:51, 1 user, load average: 0.42, 0.32, 0.23; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Fri Apr 22 2011 09:58:16 - 10:33:29
1 CPU in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 2343482.7 lps (10.0 s, 7 samples)
Double-Precision Whetstone 1476.0 MWIPS (10.0 s, 7 samples)
Execl Throughput 901.1 lps (30.0 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 130381.1 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 49406.9 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 263338.6 KBps (30.0 s, 2 samples)
Pipe Throughput 426144.7 lps (10.0 s, 7 samples)
Pipe-based Context Switching 97101.6 lps (10.0 s, 7 samples)
Process Creation 2600.4 lps (30.1 s, 2 samples)
Shell Scripts (1 concurrent) 1078.2 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 176.0 lpm (60.4 s, 2 samples)
System Call Overhead 423560.1 lps (10.1 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 2343482.7 200.8
Double-Precision Whetstone 55.0 1476.0 268.4
Execl Throughput 43.0 901.1 209.5
File Copy 1024 bufsize 2000 maxblocks 3960.0 130381.1 329.2
File Copy 256 bufsize 500 maxblocks 1655.0 49406.9 298.5
File Copy 4096 bufsize 8000 maxblocks 5800.0 263338.6 454.0
Pipe Throughput 12440.0 426144.7 342.6
Pipe-based Context Switching 4000.0 97101.6 242.8
Process Creation 126.0 2600.4 206.4
Shell Scripts (1 concurrent) 42.4 1078.2 254.3
Shell Scripts (8 concurrent) 6.0 176.0 293.3
System Call Overhead 15000.0 423560.1 282.4
========
System Benchmarks Index Score 274.4
========================================================================
BYTE UNIX Benchmarks (Version 5.1.3)
System: vps.microtronix-tech.com: GNU/Linux
OS: GNU/Linux -- 2.6.18-128.2.1.el5.028stab064.8 -- #1 SMP Fri Nov 6 12:26:59 MSK 2009
Machine: i686 (i386)
Language: en_US.utf8 (charmap="UTF-8", collate="UTF-8")
CPU 0: Dual Core AMD Opteron(tm) Processor 265 (3592.1 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 1: Dual Core AMD Opteron(tm) Processor 265 (3589.3 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 2: Dual Core AMD Opteron(tm) Processor 265 (3589.3 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
CPU 3: Dual Core AMD Opteron(tm) Processor 265 (3589.3 bogomips)
Hyper-Threading, x86-64, MMX, AMD MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET
09:59:05 up 1:18, 1 user, load average: 0.09, 0.04, 0.01; runlevel 3
------------------------------------------------------------------------
Benchmark Run: Fri Apr 22 2011 09:59:05 - 10:28:10
4 CPUs in system; running 1 parallel copy of tests
Dhrystone 2 using register variables 5654417.0 lps (10.0 s, 7 samples)
Double-Precision Whetstone 1487.8 MWIPS (9.9 s, 7 samples)
Execl Throughput 587.6 lps (29.7 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 152155.6 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 46102.3 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 347029.0 KBps (30.0 s, 2 samples)
Pipe Throughput 390588.6 lps (10.0 s, 7 samples)
Pipe-based Context Switching 91856.9 lps (10.0 s, 7 samples)
Process Creation 4838.0 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 1374.2 lpm (60.0 s, 2 samples)
Shell Scripts (8 concurrent) 308.3 lpm (60.1 s, 2 samples)
System Call Overhead 510584.2 lps (10.0 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 5654417.0 484.5
Double-Precision Whetstone 55.0 1487.8 270.5
Execl Throughput 43.0 587.6 136.7
File Copy 1024 bufsize 2000 maxblocks 3960.0 152155.6 384.2
File Copy 256 bufsize 500 maxblocks 1655.0 46102.3 278.6
File Copy 4096 bufsize 8000 maxblocks 5800.0 347029.0 598.3
Pipe Throughput 12440.0 390588.6 314.0
Pipe-based Context Switching 4000.0 91856.9 229.6
Process Creation 126.0 4838.0 384.0
Shell Scripts (1 concurrent) 42.4 1374.2 324.1
Shell Scripts (8 concurrent) 6.0 308.3 513.8
System Call Overhead 15000.0 510584.2 340.4
========
System Benchmarks Index Score 332.1
------------------------------------------------------------------------
Benchmark Run: Fri Apr 22 2011 10:28:10 - 10:58:46
4 CPUs in system; running 4 parallel copies of tests
Dhrystone 2 using register variables 13329379.0 lps (10.1 s, 7 samples)
Double-Precision Whetstone 5679.2 MWIPS (10.0 s, 7 samples)
Execl Throughput 1189.5 lps (30.5 s, 2 samples)
File Copy 1024 bufsize 2000 maxblocks 14781.7 KBps (30.0 s, 2 samples)
File Copy 256 bufsize 500 maxblocks 10968.8 KBps (30.0 s, 2 samples)
File Copy 4096 bufsize 8000 maxblocks 18998.6 KBps (30.0 s, 2 samples)
Pipe Throughput 1025681.4 lps (10.2 s, 7 samples)
Pipe-based Context Switching 245865.8 lps (10.0 s, 7 samples)
Process Creation 8590.8 lps (30.0 s, 2 samples)
Shell Scripts (1 concurrent) 2629.0 lpm (60.1 s, 2 samples)
Shell Scripts (8 concurrent) 385.9 lpm (60.3 s, 2 samples)
System Call Overhead 1000823.0 lps (10.1 s, 7 samples)
System Benchmarks Index Values BASELINE RESULT INDEX
Dhrystone 2 using register variables 116700.0 13329379.0 1142.2
Double-Precision Whetstone 55.0 5679.2 1032.6
Execl Throughput 43.0 1189.5 276.6
File Copy 1024 bufsize 2000 maxblocks 3960.0 14781.7 37.3
File Copy 256 bufsize 500 maxblocks 1655.0 10968.8 66.3
File Copy 4096 bufsize 8000 maxblocks 5800.0 18998.6 32.8
Pipe Throughput 12440.0 1025681.4 824.5
Pipe-based Context Switching 4000.0 245865.8 614.7
Process Creation 126.0 8590.8 681.8
Shell Scripts (1 concurrent) 42.4 2629.0 620.1
Shell Scripts (8 concurrent) 6.0 385.9 643.1
System Call Overhead 15000.0 1000823.0 667.2
========
System Benchmarks Index Score 340.5
Thanks for all the help.
-
04-23-2011, 11:45 AM #10Junior Guru
- Join Date
- Sep 2010
- Location
- Ohio
- Posts
- 202
Any ideas?
-
04-23-2011, 02:00 PM #11Web Hosting Master
- Join Date
- Jan 2011
- Location
- Varna, Bulgaria
- Posts
- 1,276
Well, the second VPS does show better overall score of the unixbench benchmark. However it is not like it is 2-3 times better than the first one... so i can't really tell you if you should switch. If you are not happy with the first VPS - yes, switch it. If however you aren't having problems and are satisfied with it and don't have better offers - i don't see reasons to switch?
By the way there was a very long thread somewhere in this forum where many people have posted their results from unixbench (but it was some wht-modified version if unixbench i think) - you can try to find it and compare your results.
-
04-24-2011, 09:13 AM #12Junior Guru
- Join Date
- Sep 2010
- Location
- Ohio
- Posts
- 202
Hmm ok I will search for the post, thanks. Well I did decide to switch. I moved one of my main pages that was very slow on the other one over and it seems to be running faster now than before. So I do think I am going to be switching. Plus I have been having loads of trouble with the old VPS company over the past 6 months and just don't want to deal with their junk anymore. So in the long run I think I am going to switch, until I can afford a dedicated sometime in the future.
I know the new VPS company is good, I have had a VPS with them now for almost a year, a few months shy. And I know that I have not had any trouble with them. The one single time that my VPS went offline, I sent in a ticket and in 3 minutes exactly it was back up and in 2 min. I had a ticket response.
So, even though first company has phone support, they suck ha ha. Second company doesn't have phone support but their ticket support is superb!!
So I think that speak a lot to me and the lack of problems over this past year with the new one and the LOADS of problems with the old one tell me I want a new company ha ha
Thanks for all your help, I learned a lot about system specs and how to read and use them during all of this.
Similar Threads
-
Gotekky: Quad cores: $174.95/mo. Single cores: $69.95/mo. limited quantities.
By GoTek-JP in forum Dedicated Hosting OffersReplies: 0Last Post: 02-11-2011, 01:48 AM -
XFACTORSERVERS - $139 Dual Cores, $169 Quad Cores + Free TCAdmin Game Panel
By XFactorServers in forum Dedicated Hosting OffersReplies: 0Last Post: 11-24-2009, 11:20 PM -
Dual Cores starting at $125 | Quad Cores - $180, quality support!
By kiler in forum Dedicated Hosting OffersReplies: 0Last Post: 07-17-2008, 09:45 PM -
Chicago Single Cores, Dual Cores, Quad Cores New Stock Awesome DEALS!
By ameen in forum Dedicated Hosting OffersReplies: 0Last Post: 08-30-2007, 07:11 PM