From owner-freebsd-emulation@freebsd.org Thu Jan 18 02:25:30 2018 Return-Path: Delivered-To: freebsd-emulation@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 0638EE73E1C for ; Thu, 18 Jan 2018 02:25:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CE07D6FFC1 for ; Thu, 18 Jan 2018 02:25:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CD644E73E1B; Thu, 18 Jan 2018 02:25:29 +0000 (UTC) Delivered-To: emulation@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 CD045E73E1A for ; Thu, 18 Jan 2018 02:25:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 994026FFC0 for ; Thu, 18 Jan 2018 02:25:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by freefall.freebsd.org (Postfix) id E3DA88283; Thu, 18 Jan 2018 02:25:28 +0000 (UTC) Delivered-To: vbox@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by freefall.freebsd.org (Postfix) with ESMTPS id A21B68282 for ; Thu, 18 Jan 2018 02:25:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FCE26FFBC for ; Thu, 18 Jan 2018 02:25:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 2C9291C98C for ; Thu, 18 Jan 2018 02:25:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w0I2PRT3098020 for ; Thu, 18 Jan 2018 02:25:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w0I2PRqi098018 for vbox@FreeBSD.org; Thu, 18 Jan 2018 02:25:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: vbox@FreeBSD.org Subject: [Bug 221294] emulators/virtualbox-ose 5.1.26 r117224 Win7 VM Creation Fails Date: Thu, 18 Jan 2018 02:25:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: papowell@astart.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: vbox@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 18 Jan 2018 03:54:39 +0000 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2018 02:25:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221294 --- Comment #3 from papowell@astart.com --- After reporting this problem, I got several suggestions. Here is the one = that appeared to reduce the problem. The following was added to /etc/sysctl.con= f: # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212128 # # On FreeBSD-11 and on older versions using AIO VirtualBox can lose # disk access when the disk is heavily loaded. # # The symptoms are either the guest locking up with the guest's system # "disk" showing continuous access while the host system shows no # disk activity or by a crash on the guest. # # This can be fixed by adjusting the AIO sysctls to allow added # capacity before disk requests are lost. # # While I have no fix and this issue has existed for a long time, I # suggest that pkg-message have an added warning Here is a first-cut # that could use some word-smithing: #=20 # If AIO is enabled (always in FreeBSD-11.0 and newer), guests may # lose disk access. This can be mitigated by adjusting AIO sysctls # as follows: # # Current 11.0 Settings: # vfs.aio.max_buf_aio: 16 # vfs.aio.max_aio_queue_per_proc: 256 # vfs.aio.max_aio_per_proc: 32 # vfs.aio.aiod_lifetime: 30000 # vfs.aio.num_buf_aio: 0 # vfs.aio.num_queue_count: 0 # vfs.aio.max_aio_queue: 1024 # vfs.aio.target_aio_procs: 4 # vfs.aio.num_aio_procs: 0 # vfs.aio.max_aio_procs: 32 # vfs.aio.unsafe_warningcnt: 1 # vfs.aio.enable_unsafe: 0 # Set: # default # vfs.aio.aiod_lifetime=3D30000 # (30000) # vfs.aio.max_aio_procs=3D4 # (32) # vfs.aio.max_aio_queue=3D65536 # (1024) # vfs.aio.max_aio_queue_per_proc=3D65536 # (256) # vfs.aio.max_aio_per_proc=3D8192 # (32) # vfs.aio.max_buf_aio=3D8192 # (16) # # Alternative: # # From my sysctl.conf Default # vfs.aio.aiod_lifetime=3D30000 # (30000) # vfs.aio.max_aio_procs=3D4 # (32) # vfs.aio.max_aio_queue=3D8192 # (1024) # vfs.aio.max_aio_queue_per_proc=3D1024 # (256) # vfs.aio.max_aio_per_proc=3D128 # (32) # vfs.aio.max_buf_aio=3D64 # (16) # vfs.aio.aiod_lifetime=3D30000 vfs.aio.max_aio_procs=3D4 vfs.aio.max_aio_queue=3D8192 vfs.aio.max_aio_queue_per_proc=3D1024 vfs.aio.max_aio_per_proc=3D128 vfs.aio.max_buf_aio=3D64 --=20 You are receiving this mail because: You are the assignee for the bug.=