• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 390
  • Last Modified:

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:
0
anamarif
Asked:
anamarif
  • 5
  • 5
  • 2
  • +1
1 Solution
 
SandyCommented:
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
0
 
anamarifAuthor Commented:
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.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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?
0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
anamarifAuthor Commented:
how do I check presence of intel vT?

My question is particularly about dediserve.com and it's cloud hosting solution, most probably hypervisor.
0
 
gheistCommented:
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)
0
 
anamarifAuthor Commented:
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?
0
 
gheistCommented:
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.
0
 
SandyCommented:
Their are several tools which can be used.

TurboStat
cpufreq
cpupowerutils

TY/SA
0
 
gheistCommented:
That does not bypass virtualisation....
One has to run some CPU benchmark continuously to get the idea of CPU resource part they can get.
0
 
anamarifAuthor Commented:
@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....
0
 
gheistCommented:
time dd conv=sync bs=4k of=/home/bench count=1024 ; rm -f /home/bench
divide 4G by time spent and get MB/s
divide 4G by IO count get IO/s

Now double blocksize and halve count
...

Now paste that in some table processor....
MB/s graph will grow until bandwidth is reached
OR IO/s will be steady until it starts to lower when it reaches disk bandwidth
Once you have IO/s and MB/s you can make "cleaner" graph and say 128K blocks are best for DB IO (it really depends, sweet spot can be anywhere between 4K (local disk) and 4M on high latency NAS)

For common disk it is 4K, maybe 8K for Advanced format disk, few stripes per RAID, varies for network storage (usually not less than 8K given size of jumbo frame, for high latency much more)
0
 
gheistCommented:
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.
0
 
anamarifAuthor Commented:
Thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now