From owner-freebsd-emulation@freebsd.org Wed Sep 23 19:23:54 2015 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 6921EA07E36 for ; Wed, 23 Sep 2015 19:23:54 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: from smtpout-fallback.aon.at (smtpout-fallback.aon.at [195.3.96.119]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3BBA1CC5 for ; Wed, 23 Sep 2015 19:23:53 +0000 (UTC) (envelope-from la5lbtyi@aon.at) Received: (qmail 316 invoked from network); 23 Sep 2015 19:23:43 -0000 Received: from unknown (HELO smtpout.aon.at) ([172.18.1.199]) (envelope-sender ) by fallback44.highway.telekom.at (qmail-ldap-1.03) with SMTP for ; 23 Sep 2015 19:23:43 -0000 Received: (qmail 367 invoked from network); 23 Sep 2015 19:23:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on WARSBL605.highway.telekom.at X-Spam-Level: Received: from 91-115-164-12.adsl.highway.telekom.at (HELO gandalf.xyzzy) ([91.115.164.12]) (envelope-sender ) by smarthub79.res.a1.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP; 23 Sep 2015 19:23:36 -0000 X-A1Mail-Track-Id: 1443036216:338:smarthub79:91.115.164.12:1 Received: from mizar.xyzzy (mizar.xyzzy [192.168.1.19]) by gandalf.xyzzy (8.15.2/8.15.2) with ESMTP id t8NJNYHW024815; Wed, 23 Sep 2015 21:23:34 +0200 (CEST) (envelope-from la5lbtyi@aon.at) Subject: Re: VirtualBox mangles memory To: Michael Butler References: <55FE9662.7000406@aon.at> <1442866256.1127084.389759513.29E96282@webmail.messagingengine.com> <56017026.6040809@aon.at> <5601AB71.9000003@aon.at> <5601C0B8.4000905@protected-networks.net> <5602ED01.20202@aon.at> Cc: =?UTF-8?Q?Bernhard_Fr=c3=b6hlich?= , "freebsd-emulation@freebsd.org" From: Martin Birgmeier X-Enigmail-Draft-Status: N1110 Organization: MBi at home Message-ID: <5602FC36.1070805@aon.at> Date: Wed, 23 Sep 2015 21:23:34 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5602ED01.20202@aon.at> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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: Wed, 23 Sep 2015 19:23:54 -0000 In https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195970, Larry Rosenman suggested setting net.graph.maxdata=8192. I set it to 4096, and the problem seems to have gone away (I am currently testing, and it has not failed so far). This is actually mentioned in https://wiki.freebsd.org/VirtualBox/Tuning, but I would never have guessed that the standard network stack is affected by setting this tunable: I am not copying anything in/out of the VB client, but rather run a completely independent regular IPv4 transfer alongside it. Maybe the description there could be expanded accordingly. Anyway, thanks to Larry for pointing me in the right direction. -- Martin