From owner-freebsd-stable@FreeBSD.ORG Fri Dec 23 22:21:08 2011 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1DED106564A for ; Fri, 23 Dec 2011 22:21:08 +0000 (UTC) (envelope-from crmartin@sgi.com) Received: from relay.sgi.com (relay1.sgi.com [192.48.179.29]) by mx1.freebsd.org (Postfix) with ESMTP id 8BE4F8FC0C for ; Fri, 23 Dec 2011 22:21:08 +0000 (UTC) Received: from xmail.sgi.com (pv-excas1-dc21-nlb.corp.sgi.com [137.38.102.126]) by relay1.corp.sgi.com (Postfix) with ESMTP id E405A8F8084; Fri, 23 Dec 2011 14:21:07 -0800 (PST) Received: from [10.3.0.220] (10.3.0.220) by xmail.sgi.com (137.38.102.30) with Microsoft SMTP Server (TLS) id 14.1.339.1; Fri, 23 Dec 2011 16:21:07 -0600 Message-ID: <4EF4FED2.6020909@sgi.com> Date: Fri, 23 Dec 2011 15:21:06 -0700 From: Charlie Martin Organization: Silicon Graphics, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Lightning/1.0b2 Thunderbird/3.1.16 MIME-Version: 1.0 To: References: <4EF3B790.5050509@sgi.com> <20111223000705.GA6242@icarus.home.lan> In-Reply-To: <20111223000705.GA6242@icarus.home.lan> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.3.0.220] Cc: Eric Richards , Larry Fenske , crmartin@sgi.com, "Peter W. Morreale" , Jeremy Chadwick Subject: PRINTF_BUFR_SIZE=4096? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Dec 2011 22:21:08 -0000 In the course of looking at Jeremy's reponse to my query about a mystery panic, I noted his recommendation that PRINTF_BUFR_SIZE be set to 256. Ever-obedient, I went to set the value, and discovered instead that the conf file already has it set to 4096. As he says below, there are concerns about setting the value too high causing "major issues". I being Christmas and all I hate to ask Jeremy to dig up the post he mentioned, but wonder if anyone can clue me in on what the major issues might be? Thanks, and regards Charlie Martin On 12/22/2011 05:07 PM, Jeremy Chadwick wrote: > Also, be aware that the above stack trace is interspersed. Ultimately > you get to clean up the output yourself. This is a long-standing > problem with FreeBSD which can be helped but only slightly/barely by > using "options PRINTF_BUFR_SIZE=256" in your kernel configuration (the > default configs have a value of 128. Do not increase the value too > high, there are concerns about it causing major issues; I can dig up the > post that says that, but I'd rather not). -- Charles R. (Charlie) Martin Senior Software Engineer SGI logo 1900 Pike Road Longmont, CO 80501 Phone: 303-532-0209 E-Mail: CRMartin@sgi.com Website: www.sgi.com