From owner-freebsd-virtualization@freebsd.org Sun Dec 3 03:59:00 2017 Return-Path: Delivered-To: freebsd-virtualization@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE420DEC767 for ; Sun, 3 Dec 2017 03:59:00 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6DE7368F4F; Sun, 3 Dec 2017 03:59:00 +0000 (UTC) (envelope-from jtubnor@gmail.com) Received: by mail-io0-x22e.google.com with SMTP id d21so15246478ioe.7; Sat, 02 Dec 2017 19:59:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VhQjoas4o8I8RSb+aCyaSr5V4XH7Lm/07xboJQC3Pbw=; b=eiUugssLMckzXZFflJ+ormgh7Q2roVM9RZyF58VTM6T4sqbUYRUvQRuzqjl9dC7BNU ihKq8cB7h0lH86AR5Dc5Lvs5UxamqrwLAgpWXY8ZTRN4TyrzTqZFm11ldOrz/5o2DsLW YT1TEMK1amOJphbGkgDodPwmGmD3g4SFo0r9CJgNimf9T2O+JCOBKo8ZXHRzlfM8lV3t kSuW1vfLmH8bbgRc8QUziQhZkmIeQ+84ormyy0QCFECVLiE+KIUq/R18/k+ZaPt0qZFL O0S7dreIEP6ZVcB/plMeurh831WOP8kQ/xMRXXv0nlGKj2Bz9V6YnpS8XPCQk1s1KWJ2 3R6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VhQjoas4o8I8RSb+aCyaSr5V4XH7Lm/07xboJQC3Pbw=; b=aJn8x2PzcVqeblngNnz/CtJVlYhHLMRKKnL/udO0VD+8LgVGKBJF+zRGBxkMN4XOFZ SC4SgIA2JLEEgWG1HhFa+SK3Caqel++wLR+Fx8+KnzzR2qS2/ajafnXWaUhXNUuoxOHw FGSv4bD4BCPZcuyrVvXa3eBXY3kJ69RQt8rXdc7MeLifg71VltxyGJagqm2WqFTtHWAZ 749cmkp7IV057wB6B1XSkNnn6aHwl3sbIjCuiNAv0NWzP1S+OflQGX4dL2QlR1oRKHgP htFhJrd4tl4X9uL4m9dMSsQAMAN74Oz79pRWmGIehj4yZ3M+e1RS6oO/PGfOstrWN67I +BIg== X-Gm-Message-State: AJaThX7uw9OxgSGlCBafETaUNjq90+e90TEyOQERTLnrx13k+qygUkNa DDzLmWfICCiQjWPoad86vo7lS5G0n3QafZQNPnCDRg== X-Google-Smtp-Source: AGs4zMaD0JGnoaikM8HyMt7Osljw8/Erj6OjWl7+rp4zUUesFDzyysTfTw7Omguz/9ELmd5DyIG/+hmJL3gosu3FhsA= X-Received: by 10.107.84.1 with SMTP id i1mr18771142iob.261.1512273539650; Sat, 02 Dec 2017 19:58:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.2.69.213 with HTTP; Sat, 2 Dec 2017 19:58:58 -0800 (PST) Received: by 10.2.69.213 with HTTP; Sat, 2 Dec 2017 19:58:58 -0800 (PST) In-Reply-To: References: <59DFCE5F-029F-4585-B0BA-8FABC43357F2@ebureau.com> <11e6e55d-9802-c9fc-859c-37c026eaba2b@freebsd.org> From: Jason Tubnor Date: Sun, 3 Dec 2017 14:58:58 +1100 Message-ID: Subject: Re: bhyve uses all available memory during IO-intensive operations To: "K. Macy" Cc: Allan Jude , freebsd-virtualization@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-virtualization@freebsd.org X-Mailman-Version: 2.1.25 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: Sun, 03 Dec 2017 03:59:00 -0000 On 3 Dec. 2017 12:21, "K. Macy" wrote: > > Storage amplification usually has to do with ZFS RAID-Z padding. If your > ZVOL block size does not make sense with your disk sector size, and > RAID-Z level, you can get pretty silly numbers. That's not what I'm talking about here. If your volblocksize is too small you end up using (vastly) more space for indirect blocks than data blocks. -M This. I experienced this with chyves and bumped the block size back to 8k. Fixed the issue. Be careful selecting 8k for Windows guests though. Anything over 4k and you can't use any mssql. With some tweaks, I've found vm-bhyve better suited if you can do totally UEFI. I'll be putting up some templates shortly. Cheers, Jason