Имеется выделенный сервер на supermicro X9SCL-F c Xeon(R) CPU E3-1240 V2 и 8 Гб ОЗУ. На этот сервер установлена
Код: Выделить всё
uname -av
FreeBSD server 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul 8 06:37:44 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Код: Выделить всё
pkg info | grep virtual
virtualbox-ose-4.3.12_1 General-purpose full virtualizer for x86 hardware
virtualbox-ose-kmod-4.3.12 VirtualBox kernel module for FreeBSD
создана 1 виртуальная машинаmake showconfig
===> The following configuration options are available for virtualbox-ose-4.3.12_1:
DBUS=on: D-Bus IPC system support
DEBUG=off: Debug symbols, additional logs and assertions
GUESTADDITIONS=on: Build with Guest Additions
MANUAL=off: Build with user manual
NLS=off: Native Language Support
PULSEAUDIO=off: PulseAudio sound server support
PYTHON=off: Python bindings or support
QT4=off: Build with QT4 Frontend
UDPTUNNEL=off: Build with UDP tunnel support
VDE=off: Build with VDE support
VNC=on: Build with VNC support
VPX=off: Use vpx for video capturing
WEBSERVICE=off: Build Webservice
X11=off: X11 (graphics) support
Код: Выделить всё
Name: W2012
Groups: /
Guest OS: Windows 2012 (64 bit)
UUID: d6190c7c-95a4-4320-a681-f8aa4da2ded9
Config file: /usr/virtual/w2012/W2012/W2012.vbox
Snapshot folder: /usr/virtual/w2012/W2012/Snapshots
Log folder: /usr/virtual/w2012/W2012/Logs
Hardware UUID: d6190c7c-95a4-4320-a681-f8aa4da2ded9
Memory size: 6144MB
Page Fusion: off
VRAM size: 256MB
CPU exec cap: 100%
HPET: off
Chipset: piix3
Firmware: BIOS
Number of CPUs: 6
PAE: on
Long Mode: on
Synthetic CPU: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): HardDisk
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: on
Time offset: 0ms
RTC: local time
Hardw. virt.ext: on
Large Pages: on
VT-x VPID: on
VT-x unr. exec.: on
State: running (since 2014-07-19T16:58:02.174000000)
Monitor count: 1
3D Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0): SATA Controller
Storage Controller Type (0): IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 30
Storage Controller Port Count (0): 30
Storage Controller Bootable (0): on
SATA Controller (0, 0): /usr/virtual/w2012/TS.VHD (UUID: 6a22924d-b6b4-420c-9efd-b56ccbd511dc)
NIC 1: MAC: 08002706E85F, Attachment: Bridged Interface 'em1', Cable connected: on, Trace: off (file: none), Type: virtio, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
LPT 1: disabled
LPT 2: disabled
Audio: disabled
Clipboard Mode: disabled
Drag'n'drop Mode: disabled
Video mode: 1024x768x32 at 0,0
VRDE: enabled (Address 0.0.0.0, Ports 5900, MultiConn: off, ReuseSingleConn: off, Authentication type: null)
VRDE port: 5900
Video redirection: disabled
VRDE property: TCP/Ports = "5900"
VRDE property: TCP/Address = <not set>
USB: disabled
EHCI: disabled
USB Device Filters:
<none>
Available remote USB devices:
<none>
Currently Attached USB Devices:
<none>
Bandwidth groups: <none>
Shared folders: <none>
VRDE Connection: not active
Clients so far: 0
Video capturing: not active
Capture screens: 0
Capture file: /usr/virtual/w2012/W2012/W2012.webm
Capture dimensions: 1024x768
Capture rate: 512 kbps
Capture FPS: 25
Guest:
Configured memory balloon size: 0 MB
OS type: Windows8_64
Additions run level: 3
Additions version: 4.3.12 r93733
Guest Facilities:
Facility "VirtualBox Base Driver": active/running (last update: 2014/07/19 16:58:09 UTC)
Facility "VirtualBox System Service": active/running (last update: 2014/07/19 16:58:17 UTC)
Facility "VirtualBox Desktop Integration": active/running (last update: 2014/07/20 09:40:33 UTC)
Facility "Seamless Mode": not active (last update: 2014/07/19 16:58:09 UTC)
Facility "Graphics Mode": not active (last update: 2014/07/19 16:58:09 UTC)
Для виртуальной машины отданы 6 процессорных ядер из 8 и 6 Гб ОЗУ из 8.
На W2012 поднят терминальный сервер в котором работают 2 сотрудника. Винда показывает нагрузку по CPU 30-60% ОЗУ 40-60%.
TOP показывает нагрузку
Код: Выделить всё
last pid: 17766; load averages: 2.83, 2.62, 2.51 up 6+03:32:48 16:35:01
27 processes: 1 running, 26 sleeping
CPU: 3.6% user, 0.0% nice, 26.9% system, 0.1% interrupt, 69.4% idle
Mem: 36M Active, 123M Inact, 7585M Wired, 125M Cache, 825M Buf, 44M Free
Swap: 6669M Total, 56M Used, 6613M Free
PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND
2301 root 25 20 0 6745M 6469M uwait 4 213.4H 238.87% VBoxHeadless
2296 root 10 20 0 139M 5032K uwait 4 2:43 0.00% VBoxSVC
2294 root 1 20 0 81140K 1252K select 6 0:54 0.00% VBoxXPCOMIPCD
1114 root 1 20 0 25328K 976K select 2 0:11 0.00% ntpd
1173 root 1 20 0 23980K 1028K select 5 0:04 0.00% sendmail
...
На данном сервере в настоящее время никакие дополнительные сервисы кроме виртуалбокса не запущены, ядро женерик. Знаю что виртуализация снижает производительность по сравнению с реальной машиной. Но ни в винде ни на freebsd загрузки ни процессора ни ОЗУ не видно.
Кто-нибудь использует виртаулбокс на freebsd в качестве хоста? Подскажите, какие есть возможности для оптимизации?