From owner-freebsd-virtualization@FreeBSD.ORG Tue Sep 2 13:56:38 2014 Return-Path: Delivered-To: freebsd-virtualization@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF41B6B9 for ; Tue, 2 Sep 2014 13:56:38 +0000 (UTC) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8B7381A79 for ; Tue, 2 Sep 2014 13:56:38 +0000 (UTC) Received: from john by potato.growveg.org with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XOoJK-0005FP-HM for freebsd-virtualization@freebsd.org; Tue, 02 Sep 2014 14:39:50 +0100 Date: Tue, 2 Sep 2014 14:39:50 +0100 From: John To: freebsd-virtualization@freebsd.org Subject: bhyve and zfs and speed Message-ID: <20140902133950.GA19480@potato.growveg.org> Reply-To: freebsd-virtualization@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) Sender: John X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: john@potato.growveg.org X-SA-Exim-Scanned: No (on potato.growveg.org); SAEximRunCond expanded to false X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion of various virtualization techniques FreeBSD supports." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 13:56:38 -0000 Hello list, I'm thinking of re-doing a host server from virtualbox to bhyve in an effort to speed things up. The server is a Dell and the cpu is E5-2650L @ 1.80GHz with 32 CPUs and 192GB ram. It runs freebsd 10-stable r267848 generic kernel with ZFS throughout (10TB). Unfortunately there's no SSD. There will probably be 10 at the most websites on this server as guests, all needing MySQL. The problem I'm having is that with bhyve (and to a lesser extent, ZFS) the relevant advice for what I need is kind of scattered. Basically, I need to know: 0. any ballpark figures for zfs tunables? Right now, it's running with defaults. top shows this, with one freebsd and one ubuntu guest, on vbox: Mem: 50M Active, 784M Inact, 78G Wired, 6132K Cache, 108G Free ARC: 38G Total, 5778M MFU, 27G MRU, 16K Anon, 4540M Header, 1910M Other Swap: 192G Total, 192G Free 1. does zfs need tuning for bhyve? 2. does bhyve need tuning for zfs? 3. do either need tuning for MySQL (or even apache) ? many thanks for advice (or pointers to documentation) -- John