Низкая производительность виртуалки 1С MS sql под kvm

Всем привет.
В компании провожу перевод 1С сервера на виртуалку. Ранее использовалась машина 4Gb памяти, 2x DualCore Intel Xeon 5120, 1866 MHz ), raid 10. Сейчас новый сервер 32 Gb, 2 проца AMD Opteron, raid 1 + raid 10.

Поставил kvm, поставил виртуалку win 2008 R2, на него win sql x64 + 1С 8.2 x32.
SQL Базы 1c лежат на отдельном raid 10 из 4-х WD 10000.
По тестам everest скорость выросла значительно, однако сама 1С работает заметно медленнее, примерно на 10-20% Хотя должна была бы ускориться раза в два. Вот конфиг виртуалки.

<code><domain type='kvm'>
  <name>WindowsServer2008_sql</name>
  <uuid>c0dc51f6-c435-6e81-512e-a6befd6f5c76</uuid>
  <memory unit='KiB'>14312000</memory>
  <currentMemory unit='KiB'>14312000</currentMemory>
  <vcpu placement='static'>12</vcpu>
  <os>
    <type arch='x86_64' machine='rhel6.4.0'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
    <pae/>
  </features>
  <cpu mode='custom' match='exact'>
    <model fallback='allow'>Opteron_G4</model>
    <vendor>AMD</vendor>
    <topology sockets='2' cores='6' threads='6'/>
    <feature policy='require' name='perfctr_core'/>
    <feature policy='require' name='skinit'/>
    <feature policy='require' name='ibs'/>
    <feature policy='require' name='mmxext'/>
    <feature policy='require' name='osxsave'/>
    <feature policy='require' name='vme'/>
    <feature policy='require' name='topoext'/>
    <feature policy='require' name='fxsr_opt'/>
    <feature policy='require' name='cr8legacy'/>
    <feature policy='require' name='ht'/>
    <feature policy='require' name='wdt'/>
    <feature policy='require' name='extapic'/>
    <feature policy='require' name='osvw'/>
    <feature policy='require' name='nodeid_msr'/>
    <feature policy='require' name='perfctr_nb'/>
    <feature policy='require' name='cmp_legacy'/>
    <feature policy='require' name='lwp'/>
    <feature policy='require' name='monitor'/>
  </cpu>
  <clock offset='localtime'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/libexec/qemu-kvm</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
      <source file='/data/guest_images/WindowsServer2008_sql.raw'/>
      <target dev='vda' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='none' io='native'/>
       <source file='/data2/WindowsServer2008sql_database.img'/>
      <target dev='vdb' bus='virtio'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </disk>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='usb' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:0d:ac:4b'/>
      <source bridge='br0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <interface type='direct'>
      <mac address='52:54:00:3a:8b:09'/>
      <source dev='eth1' mode='vepa'/>
      <model type='e1000'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target port='0'/>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <input type='tablet' bus='usb'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0' keymap='ru' passwd='asdFGH01'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='vga' vram='9216' heads='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </memballoon>
  </devices>
</domain>


Собственно, где проблема, почему скорость работы 1С может быть низкой? Может проблема в MS SQL?
  • Вопрос задан
  • 6720 просмотров
Решения вопроса 1
@alz
А что за сетевухи у вас в виртуалке? У первой (type='bridge') не указан model type='...', у второй (type='direct') — model type='e1000', почему не model type='virtio'?
Ответ написан
Пригласить эксперта
Ответы на вопрос 3
Vovanys
@Vovanys
попробуй вместо kmv чего нить другое.
этот образ скопируй и конвертни и попробуй запустить через другую виртуалку
и оперативы на базу больше
Ответ написан
Prilepsky
@Prilepsky
Программист 1C
А как ты определяешь скорость работы 1С?
Ответ написан
opium
@opium
Просто люблю качественно работать
Видимо как в ксене и вмваре надо ставить паравиртуальные дрова
habrahabr.ru/qa/47058/
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы