From owner-freebsd-net@FreeBSD.ORG Thu Jul 17 02:41:42 2014 Return-Path: Delivered-To: freebsd-net@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 3D774F5 for ; Thu, 17 Jul 2014 02:41:42 +0000 (UTC) Received: from gpo3.cc.swin.edu.au (gpo3.cc.swin.edu.au [136.186.1.32]) (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 C831E2EEF for ; Thu, 17 Jul 2014 02:41:41 +0000 (UTC) Received: from [136.186.229.154] (nwilliams-laptop.caia.swin.edu.au [136.186.229.154]) by gpo3.cc.swin.edu.au (8.14.3/8.14.3) with ESMTP id s6H2fdx3018271 for ; Thu, 17 Jul 2014 12:41:39 +1000 Message-ID: <53C737DB.4030804@swin.edu.au> Date: Thu, 17 Jul 2014 12:41:31 +1000 From: Nigel Williams User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-net@freebsd.org Subject: Re: Multipath TCP for FreeBSD v0.4 References: <513CB9AF.3090409@swin.edu.au> <53BF8945.3000802@swin.edu.au> <20140711102535.7613DBE5@hub.freebsd.org> <53C341FC.4060307@swin.edu.au> <20140714063019.876218DD@hub.freebsd.org> In-Reply-To: <20140714063019.876218DD@hub.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2014 02:41:42 -0000 Just a quick note for anyone else that might be trying out the patch... > > and I've built the whole system on both nodes without WITNESS and other debug- > ging functionalities: > =============================================================================== > Index: /usr/src/sys/amd64/conf/GENERIC > =================================================================== > --- /usr/src/sys/amd64/conf/GENERIC (revision 265307) > +++ /usr/src/sys/amd64/conf/GENERIC (working copy) > @@ -76,14 +76,14 @@ > options KDB # Enable kernel debugger support. > options KDB_TRACE # Print a stack trace for a panic. > # For full debugger support use (turn off in stable branch): > -options DDB # Support DDB. > -options GDB # Support remote GDB. > -options DEADLKRES # Enable the deadlock resolver > -options INVARIANTS # Enable calls of extra sanity checking > -options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS > -options WITNESS # Enable checks to detect deadlocks and cycles > -options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed > -options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones > +#options DDB # Support DDB. > +#options GDB # Support remote GDB. > +#options DEADLKRES # Enable the deadlock resolver > +#options INVARIANTS # Enable calls of extra sanity checking > +#options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS > +#options WITNESS # Enable checks to detect deadlocks and cycles > +#options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed > +#options MALLOC_DEBUG_MAXZONES=8 # Separate malloc(9) zones > > # Make an SMP-capable kernel by default > options SMP # Symmetric MultiProcessor Kernel > =============================================================================== I'd recommend leaving debugging options on (at minimum INVARIANTS and INVARIANT_SUPPORT). This will slow network performance but will allow a number of assertions to run that can make it a little easier to debug some issues. cheers, nigel