Why VMware Virtual disk so slow (da0: 3.300MB/s transfers) ?

Dongsheng Song dongsheng.song at gmail.com
Mon Aug 19 00:55:12 PDT 2013


Hi,

When I running DragonFlyBSD under VMware ESXi 5.1, with the following setting:

CPUs: 8
Memory: 4096 MB
SCSI controller: LSI Logic Paraller
SCSI disk size: 64G

I found this VM is very very slowly, then I check the dmesg output,
I'm very surprised:

da0: 3.300MB/s transfers


Thanks,
Dongsheng

# dmesg
Copyright (c) 2003-2013 The DragonFly Project.
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
DragonFly v3.5.0.781.gcffc5-DEVELOPMENT #1: Mon Aug 19 06:04:12 CST 2013
    root at CRM-NAGIOS:/usr/obj/usr/src/sys/X86_64_GENERIC
TSC invariant clock: 1999955366 Hz, i8254 clock: 1193191 Hz
CPU: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz (1999.78-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0x206d7  Stepping = 7
  Features=0x1fa3fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,DTS,MMX,FXSR,SSE,SSE2,SS,HTT>
  Features2=0x96982203<SSE3,PCLMULQDQ,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,AVX,VMM>
  AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM>
  AMD Features2=0x1<LAHF>
real memory  = 4294440960 (4095 MB)
avail memory = 3955388416 (3772 MB)
lapic: divisor index 0, frequency 32996825 Hz
SMI Frequency (worst case): 1000 Hz (1000 us)
Initialize MI interrupts
TSC testing MP synchronization ...
TSC is MP synchronized
TSC: cputimer freq 124986170, shift 4
FQ scheduler policy version 1.1 loaded
wdog: In-kernel automatic watchdog reset enabled
kbd1 at kbdmux0
disk scheduler: set policy of md0 to noop
md0: Malloc disk
ACPI: RSDP 0xf6b80 00024 (v02 PTLTD )
ACPI: XSDT 0xbfeefcee 0005C (v01 INTEL  440BX    06040000 VMW  01324272)
ACPI: FACP 0xbfefee98 000F4 (v04 INTEL  440BX    06040000 PTL  000F4240)
ACPI: DSDT 0xbfef0078 0EE20 (v01 PTLTD  Custom   06040000 MSFT 03000001)
ACPI: FACS 0xbfefffc0 00040
ACPI: BOOT 0xbfef0050 00028 (v01 PTLTD  $SBFTBL$ 06040000  LTP 00000001)
ACPI: APIC 0xbfeeff4e 000B2 (v01 PTLTD  ? APIC   06040000  LTP 00000000)
ACPI: MCFG 0xbfeeff12 0003C (v01 PTLTD  $PCITBL$ 06040000  LTP 00000001)
ACPI: SRAT 0xbfeefdea 00128 (v02 VMWARE MEMPLUG  06040000 VMW  00000001)
ACPI: HPET 0xbfeefdb2 00038 (v01 VMWARE VMW HPET 06040000 VMW  00000001)
ACPI: WAET 0xbfeefd8a 00028 (v01 VMWARE VMW WAET 06040000 VMW  00000001)
cryptosoft0: <software crypto> on motherboard
acpi0: <INTEL 440BX> on motherboard
ACPI FADT: SCI testing interrupt mode ...
ACPI FADT: SCI select level/low
objcache_reclaimlist
objcache_reclaimlist
objcache_reclaimlist
objcache_reclaimlist
acpi0: Power Button (fixed)
Warning: ACPI is disabling APM's device.  You can't run both
[ACPI Debug]  Buffer [0x06]
  0000: 23 00 02 18 79 00                                #...y.
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
acpi_hpet0: frequency 14318180
[ACPI Debug]  Buffer [0x06]
  0000: 23 00 02 18 79 00                                #...y.
[ACPI Debug]  Buffer [0x06]
  0000: 23 00 02 18 79 00                                #...y.
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
[ACPI Debug]  Buffer [0x06]
  0000: 23 00 02 18 79 00                                #...y.
[ACPI Debug]  Buffer [0x06]
  0000: 23 00 02 18 79 00                                #...y.
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port
0x10c0-0x10cf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on
pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
disk scheduler: set policy of acd0 to noop
acd0: DVDR <VMware Virtual IDE CDROM Drive/00000001> at ata1-master UDMA33
pci0: <bridge> (vendor 0x8086, dev 0x7113) at device 7.3
pci0: <base peripheral> (vendor 0x15ad, dev 0x0740) at device 7.7 irq 9
vgapci0: <VGA-compatible display> port 0x10d0-0x10df mem
0xd0800000-0xd0ffffff,0xd8000000-0xdbffffff irq 9 at device 15.0 on
pci0
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x1400-0x14ff mem
0xd0020000-0xd003ffff,0xd0040000-0xd005ffff irq 11 at device 16.0 on
pci0
mpt0: MPI Version=1.2.0.0
pcib2: <PCI-PCI bridge> at device 17.0 on pci0
pci2: <PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection 82545EM_COPPER 7.3.4> port
0x2000-0x203f mem 0xd1000000-0xd100ffff,0xd1020000-0xd103ffff irq 10
at device 1.0 on pci2
em0: MAC address: 00:0c:29:23:59:df
pcib3: <PCI-PCI bridge> at device 21.0 on pci0
pci3: <PCI bus> on pcib3
pcib4: <PCI-PCI bridge> at device 21.1 on pci0
pci4: <PCI bus> on pcib4
pcib5: <PCI-PCI bridge> at device 21.2 on pci0
pci5: <PCI bus> on pcib5
pcib6: <PCI-PCI bridge> at device 21.3 on pci0
pci6: <PCI bus> on pcib6
pcib7: <PCI-PCI bridge> at device 21.4 on pci0
pci7: <PCI bus> on pcib7
pcib8: <PCI-PCI bridge> at device 21.5 on pci0
pci8: <PCI bus> on pcib8
pcib9: <PCI-PCI bridge> at device 21.6 on pci0
pci9: <PCI bus> on pcib9
pcib10: <PCI-PCI bridge> at device 21.7 on pci0
pci10: <PCI bus> on pcib10
pcib11: <PCI-PCI bridge> at device 22.0 on pci0
pci11: <PCI bus> on pcib11
pcib12: <PCI-PCI bridge> at device 22.1 on pci0
pci12: <PCI bus> on pcib12
pcib13: <PCI-PCI bridge> at device 22.2 on pci0
pci13: <PCI bus> on pcib13
pcib14: <PCI-PCI bridge> at device 22.3 on pci0
pci14: <PCI bus> on pcib14
pcib15: <PCI-PCI bridge> at device 22.4 on pci0
pci15: <PCI bus> on pcib15
pcib16: <PCI-PCI bridge> at device 22.5 on pci0
pci16: <PCI bus> on pcib16
pcib17: <PCI-PCI bridge> at device 22.6 on pci0
pci17: <PCI bus> on pcib17
pcib18: <PCI-PCI bridge> at device 22.7 on pci0
pci18: <PCI bus> on pcib18
pcib19: <PCI-PCI bridge> at device 23.0 on pci0
pci19: <PCI bus> on pcib19
pcib20: <PCI-PCI bridge> at device 23.1 on pci0
pci20: <PCI bus> on pcib20
pcib21: <PCI-PCI bridge> at device 23.2 on pci0
pci21: <PCI bus> on pcib21
pcib22: <PCI-PCI bridge> at device 23.3 on pci0
pci22: <PCI bus> on pcib22
pcib23: <PCI-PCI bridge> at device 23.4 on pci0
pci23: <PCI bus> on pcib23
pcib24: <PCI-PCI bridge> at device 23.5 on pci0
pci24: <PCI bus> on pcib24
pcib25: <PCI-PCI bridge> at device 23.6 on pci0
pci25: <PCI bus> on pcib25
pcib26: <PCI-PCI bridge> at device 23.7 on pci0
pci26: <PCI bus> on pcib26
pcib27: <PCI-PCI bridge> at device 24.0 on pci0
pci27: <PCI bus> on pcib27
pcib28: <PCI-PCI bridge> at device 24.1 on pci0
pci28: <PCI bus> on pcib28
pcib29: <PCI-PCI bridge> at device 24.2 on pci0
pci29: <PCI bus> on pcib29
pcib30: <PCI-PCI bridge> at device 24.3 on pci0
pci30: <PCI bus> on pcib30
pcib31: <PCI-PCI bridge> at device 24.4 on pci0
pci31: <PCI bus> on pcib31
pcib32: <PCI-PCI bridge> at device 24.5 on pci0
pci32: <PCI bus> on pcib32
pcib33: <PCI-PCI bridge> at device 24.6 on pci0
pci33: <PCI bus> on pcib33
pcib34: <PCI-PCI bridge> at device 24.7 on pci0
pci34: <PCI bus> on pcib34
acpi_acad0: <AC Adapter> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
cpu0: <ACPI CPU> on acpi0
Turbo mode enabled in BIOS
cpu_cst0: <ACPI CPU C-State> on cpu0
cpu1: <ACPI CPU> on acpi0
cpu_cst1: <ACPI CPU C-State> on cpu1
cpu2: <ACPI CPU> on acpi0
cpu_cst2: <ACPI CPU C-State> on cpu2
cpu3: <ACPI CPU> on acpi0
cpu_cst3: <ACPI CPU C-State> on cpu3
cpu4: <ACPI CPU> on acpi0
cpu_cst4: <ACPI CPU C-State> on cpu4
cpu5: <ACPI CPU> on acpi0
cpu_cst5: <ACPI CPU C-State> on cpu5
cpu6: <ACPI CPU> on acpi0
cpu_cst6: <ACPI CPU C-State> on cpu6
cpu7: <ACPI CPU> on acpi0
cpu_cst7: <ACPI CPU C-State> on cpu7
orm0: <Option ROMs> at iomem
0xc0000-0xc7fff,0xca000-0xcafff,0xdc000-0xdffff,0xe0000-0xe7fff on
isa0
pmtimer0 on isa0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
ppc1: cannot reserve I/O port range
hpt27xx: no controller detected.
CAM: Configuring 3 busses
Waiting 5 seconds for SCSI devices to settle
CAM: finished configuring all busses
no B_DEVMAGIC (bootdev=0)
disk scheduler: set policy of cd0 to noop
disk scheduler: set policy of da0 to noop
cd0 at ata1 bus 0 target 0 lun 0
cd0: <NECVMWar VMware IDE CDR10 1.00> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at mpt0 bus 0 target 0 lun 0
da0: <VMware Virtual disk 1.0> Fixed Direct Access SCSI-2 device
da0: 3.300MB/s transfers
da0: 65536MB (134217728 512 byte sectors: 255H 63S/T 8354C)
Mounting root from ufs:/dev/da0s1a
DMA space used: 432k, remaining available: 16384k
Mounting devfs



More information about the Users mailing list