Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------030603020707090405040702
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit

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/

--------------030603020707090405040702
Content-Type: text/plain; charset=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YsIFBJTyA4MTkyYnl0ZXMpCmFkYTA6IENvbW1hbmQgUXVl
dWVpbmcgZW5hYmxlZAphZGEwOiAyMDQ4ME1CICg0MTk0MzA0MCA1MTIgYnl0ZSBzZWN0b3Jz
OiAxNkggNjNTL1QgMTYzODNDKQphZGEwOiBQcmV2aW91c2x5IHdhcyBrbm93biBhcyBhZDQK
cmFuZG9tOiB1bmJsb2NraW5nIGRldmljZS4KVGltZWNvdW50ZXIgIlRTQy1sb3ciIGZyZXF1
ZW5jeSAxNTQ2MzkxMzk2IEh6IHF1YWxpdHkgODAwClRyeWluZyB0byBtb3VudCByb290IGZy
b20gdWZzOi9kZXYvZ3B0L3Jvb3RmcyBbcnddLi4uCg==
--------------030603020707090405040702--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53E3EA14.2060902>