Date: Thu, 07 Aug 2014 17:05:24 -0400 From: Mike Tancsa <mike@sentex.net> To: Adam Vande More <amvandemore@gmail.com> Cc: "freebsd-emulation@freebsd.org" <emulation@freebsd.org> Subject: Re: Making disk IO place nicely in a guest (VirtualBox) Message-ID: <53E3EA14.2060902@sentex.net> In-Reply-To: <CA%2BtpaK2VzHWrDg1H0XFhEtFPpZ_Q77iCDOJDLBSBS_8YpWEN2Q@mail.gmail.com> References: <53E3C33E.5030004@sentex.net> <CA%2BtpaK2VzHWrDg1H0XFhEtFPpZ_Q77iCDOJDLBSBS_8YpWEN2Q@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 8/7/2014 4:53 PM, Adam Vande More wrote: > > > Is your swap device ZFS backed like a ZVOL or something? Hi Adam, The hypervisor does indeed have swap on zfs. I will try disabling swap in the guest. I am pretty sure the panic was due to the guest hitting and stalling on swap inside the VM. The guest dmesg is attached. There does not seem to be much memory pressure on the hypervisor. The hypervisor disk is a little slow, as I am experimenting with hast to sync across to another zfs box. However, thats only for a zfs volume that holds the VM disk images. The OS is not "hastified" In the hypervisor # pstat -T 284/514622 files 51M/16384M swap space CPU: 2.6% user, 0.0% nice, 6.6% system, 1.7% interrupt, 89.1% idle Mem: 191M Active, 277M Inact, 14G Wired, 25M Cache, 1618M Buf, 315M Free ARC: 7831M Total, 491M MFU, 6986M MRU, 83M Anon, 39M Header, 232M Other Swap: 16G Total, 51M Used, 16G Free The machine has 16G. Should I think of limiting ARC ? ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ [-- Attachment #2 --] # cat /var/run/dmesg.boot Copyright (c) 1992-2014 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. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-STABLE #0 r269271: Wed Jul 30 03:20:10 UTC 2014 root@grind.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 CPU: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (3092.78-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x206a7 Family = 0x6 Model = 0x2a Stepping = 7 Features=0x783fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE,SSE2> Features2=0x209<SSE3,MON,SSSE3> AMD Features=0x8100000<NX,RDTSCP> real memory = 1073676288 (1023 MB) avail memory = 1029672960 (981 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <VBOX VBOXAPIC> pnpbios: Bad PnP BIOS data checksum ioapic0 <Version 1.1> irqs 0-23 on motherboard kbd1 at kbdmux0 random: <Software, Yarrow> initialized acpi0: <VBOX VBOXXSDT> on motherboard acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) Timecounter "HPET" frequency 14318180 Hz quality 950 cpu0: <ACPI CPU> on acpi0 attimer0: <AT timer> port 0x40-0x43,0x50-0x53 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 vgapci0: <VGA-compatible display> mem 0xe0000000-0xe07fffff irq 18 at device 2.0 on pci0 vgapci0: Boot video device em0: <Intel(R) PRO/1000 Legacy Network Connection 1.0.6> port 0xd000-0xd007 mem 0xf0000000-0xf001ffff irq 19 at device 3.0 on pci0 em0: Ethernet address: 08:00:27:e6:2c:98 pci0: <bridge> at device 7.0 (no driver attached) em1: <Intel(R) PRO/1000 Legacy Network Connection 1.0.6> port 0xd040-0xd047 mem 0xf0820000-0xf083ffff irq 16 at device 8.0 on pci0 em1: Ethernet address: 08:00:27:be:d4:28 pcib1: <PCI-PCI bridge> at device 24.0 on pci0 pci1: <PCI bus> on pcib1 pcib2: <PCI-PCI bridge> at device 25.0 on pci0 pci2: <PCI bus> on pcib2 isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 ahci0: <Intel ICH8M AHCI SATA controller> port 0xe000-0xe007,0xe008-0xe00b,0xe010-0xe017,0xe018-0xe01b,0xe020-0xe02f mem 0xf0900000-0xf0901fff irq 23 at device 31.2 on pci0 ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier not supported ahcich0: <AHCI channel> at channel 0 on ahci0 ahcich1: <AHCI channel> at channel 1 on ahci0 ahcich2: <AHCI channel> at channel 2 on ahci0 ahcich3: <AHCI channel> at channel 3 on ahci0 acpi_acad0: <AC Adapter> on acpi0 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 pmtimer0 on isa0 orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ata0: <ATA channel> at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata1: <ATA channel> at port 0x170-0x177,0x376 irq 15 on isa0 ppc0: parallel port not found. smist0: <SpeedStep SMI> on cpu0 device_attach: smist0 attach returned 6 Timecounters tick every 10.000 msec ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: <VBOX HARDDISK 1.0> ATA-6 SATA 2.x device ada0: Serial Number VBa14c199d-4de8e2dc ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 20480MB (41943040 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 random: unblocking device. Timecounter "TSC-low" frequency 1546391396 Hz quality 800 Trying to mount root from ufs:/dev/gpt/rootfs [rw]...help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E3EA14.2060902>
