Has anyone rated the performance of a virtual machine for build servers?

We tried to use virtual machines for build servers. Our build servers are running WinXP32, and we host them on a VMWare 2.0 server running on Ubuntu 9.10. We create a combination of C, C ++, python packages and other various deployment tasks (installers, 7z files, archives, etc.). Managing using VMWare build server servers is excellent. We can move them, share system resources on one large 8-core box, remotely access systems through a web interface and just basically manage things better.

But the problem is that performance compared to using a physical machine ranges from bad to horror depending on what day it is. It turned out to be very frustrating. Sometimes the system load for the host will exceed 20, and several times it will be below 1. It seems that it is not based on how much work is actually performed on the systems. I suspect there is a bottleneck in the system, but I can’t understand what it is. (the most recent suspect is I / O, but we have a dedicated 1TB 7200RPM SATA 2 drive with 32 MB of cache that does nothing but virtual machines. It seems to be enough for 1-2 machines. All other specifications also seem to be sufficient., 2 GB on VM, 8 cores, 1 on vm).

So, after exhausting all that I can think of, I wanted to turn to the Stack Overflow community.

  • Someone runs or sees someone else run benchmarks for building software in a virtual machine.
  • What should we expect from a physical system?
  • What kind of performance do we refuse?
  • What hardware / vm server configuration do people use?

Any help would be greatly appreciated.

+3
source share
1 answer

IO , - - . 32 SATA . Ubuntu, , (- 1 2- - , - ).

, 30-50 IOPS VM , , . , -, , - . , , , . , , ( SATA , , 70-100Meg/sec, - ), , , 70-100 IO 7,2 . SATA. , -, 2, , VMware Server , .

RAID 10 . 10k SAS 100-150 IOPs, 4 600 IOPS 300 IOP , . , , VMDK, , VM RAID-. , 20-30%. RAID 5 - , RAID 5 , 4 RAID-5, .

, , , VMware Server , Hypervisor Type 1 (, ESXi v4, ). , , , - , .

.
1) , Ubuntu.
, dstat, , , , , , . Iostat , - iostat - - http://bhavin.directi.com/iostat-and-disk-utilization-monitoring-nirvana/. Avgrq-sz avgwq-sz , . , , , , , RAID. , , - , IO , . (await-svctim)/await*100 , , 50%, IO , (), 100%, . , , VMware Server ( , Linux), , VirtualBox ESXi.

2) , .
IO , \ - Windows, IOPS - Disk Reads/sec Disk Writes/sec counters , < 1. , , , . , , , , . , -, , , , (IO , IOPS), , , . :

  • SATA 7.2k - 70-100 IOPS
  • 10k SAS- - 120-150 IOPS
  • 15k SAS- - 150-200 IOPS

, -. , , , .

RAID- - RAID- RAID- N N * (Base IOPS 1 ) IO. IO , RAID - RAID 0 , , . RAID 5 2 2 IO ( , , , ), 4. RAID 10 2 (2 IO). RAID 6 5. , IOPS RAID, IOPS, , IOPS , , .

3) RAID, , 4\5 IOPS, . , , - .

, 30 IOPS 20 IOPS , 8 . 240 IOPS 160 IOPS . , .

RAID 10 ( , RAID 10 , , , , , RAID5, IO- ). 560 IOPS (240 320 , RAID 10).
:
 - 4 SAS 15k
 - 6 10- SAS- ( , RAID 10 )
 - 8 SATA 7,2 .

RAID 5, , 880 IOPS.
:
 - 6 SAS 15k
 - 8 10k SAS
 - 14 SATA 7,2 .

, , , , . RAID 10, .

- SSD (, Intel X-25E, X-25M - ), . RAID 1, SSD , ( , X-25E) , , , , RAID 1 . - X-25E 6K IOPS , 30 15k SAS . SSD , , , -.

+7

Source: https://habr.com/ru/post/1732427/


All Articles