Link to home
Start Free TrialLog in
Avatar of anamarif
anamarif

asked on

Benchmarking cloud hosting

Hi,

I want to ask how do  know if I am getting desired resources commited by webhosting provider,

How do I know if I am getting cpu core with full access without any priority assignment or if I am sharing cpu cores on my cloud?

I have asked dediserve if they assign any priority / share limits, they claim to give full access to cores, however I need to authenticate and verify their claims.

the output for cat /proc/cpuinfo {But I am not satisfied with the server performance }, would appreciate help


processor      : 0
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 1
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 2
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 3
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 4
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 5
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 6
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 7
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 8
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 9
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 10
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 11
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 12
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 13
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 14
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 15
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:

processor      : 16
vendor_id      : GenuineIntel
cpu family      : 6
model            : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping      : 7
cpu MHz            : 2200.050
cache size      : 20480 KB
fpu            : yes
fpu_exception      : yes
cpuid level      : 13
wp            : yes
flags            : fpu de tsc msr pae cx8 sep cmov pat clflush mmx fxsr sse sse2 ss ht syscall nx lm rep_good aperfmperf unfair_spinlock pni pclmulqdq ssse3 cx16 sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ida arat epb xsaveopt pln pts dts
bogomips      : 4400.10
clflush size      : 64
cache_alignment      : 64
address sizes      : 46 bits physical, 48 bits virtual
power management:
Avatar of Sandy
Sandy
Flag of India image

this is just processor listing.. to check the exact utilization configure any small app and try to inject from outside.

for benchmark testing you can also refer below link.

https://wiki.archlinux.org/index.php/benchmarking

TY/SA
Avatar of anamarif
anamarif

ASKER

sandy, what I want to know is if cpu cores are operating at their rated GHZ and are all functioning as they should, the server is already in production, having a wordpress blog with some visitors as well.
However, the cpu load seems that server is not performing as it should.

I don't know if unixbench is something good to go.
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Are you hosted on a Dedicaterd Server, or are you operating under a hypervisor?

The issue you have is most hypervisor pass the instruction directly to the Host CPU, e.g. the CPU is not emulated, your instructions are being executed directly on a physical Core of the Host CPU.

and it would be difficult to detect, unless you run the same benchmark, against a physical processor.

One possibility, can you check for the precense of Intel VT?
how do I check presence of intel vT?

My question is particularly about dediserve.com and it's cloud hosting solution, most probably hypervisor.
Actually you run under a hypervisor.
Since you mention wordpress - it is single-threaded and very latency-sensitive. Thowing 2x more 2x faster CPUs at it will not make it any faster.
FYI - cloud means virtualisation.

Do you need help with tuning wordpress or you will google it out yourself?
Fairly responsive wordpress site can run on free amazon instance.... (i.e 600MBRRAM + sub-standard CPU & disk)
wordpress site may not be faster but the server load shouldn't be higher as well? also mysql performance shouldnt be degraded as the traffic increases or decreases, right?
Wordpress use is not exactly "no load" for server.
Lets tune from ground up:
how many IO/s your disk does
what is the throughput?
?-> what is the optimal blocksize in the end?

mysql -> mysqltuner, tuning-primer (at least one shouls be with system packages)
make sure it does not deviate too much from optimal blocksize when accessing the disk
large-pages !!! you are under virtualisation, you get much better memory performance from them.

apache+php
If you run apache prefork and php in-process each parallel connection keepd DB connection open.
If you switch to apache-worker or nginx and php via fcgid that connection number falls 10x

Now wordpress - toss the coin which of super-duper optimizer plugin you want...

On hosting: consider you have 10-20 VMs of similar size in same computer, normally you get at least fair share of CPU time at any given moment, it sums up quite well for all.
Their are several tools which can be used.

TurboStat
cpufreq
cpupowerutils

TY/SA
That does not bypass virtualisation....
One has to run some CPU benchmark continuously to get the idea of CPU resource part they can get.
@gheist, thank you for your feedback, I highly appreciate it, you seems quite good in all.
could you please tell me how do I monitor/test/benchmark IO, THROUHPUT,OPTIMAL BLOCKSIZE.
my question basically surrounds about benchmarking resources like cpu/ram/hdd like performance test, unix bench etc....
ASKER CERTIFIED SOLUTION
Avatar of gheist
gheist
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Since you are on the webserver
Benchmark RAM using same method as disk (using tmpfs i.e mount -t tmpfs -o noatime /mnt /mnt)
Benchmark CPU using openssl (but since you have no reference...) as only high CPU use may be https:// on a web server
If you focus on wordpress it has some benchmark plugins - you may wish to compare with simlar class CPUs.
Thanks