From owner-freebsd-arch@FreeBSD.ORG Sat Jan 3 14:37:00 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48F3816A4CE for ; Sat, 3 Jan 2004 14:37:00 -0800 (PST) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56ED843D46 for ; Sat, 3 Jan 2004 14:36:57 -0800 (PST) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.10/8.12.9) with ESMTP id i03MauET013735 for ; Sat, 3 Jan 2004 15:36:56 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 03 Jan 2004 15:36:44 -0700 (MST) Message-Id: <20040103.153644.107852018.imp@bsdimp.com> To: arch@freebsd.org From: "M. Warner Losh" X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Simple patch: Make DFLTPHYS an option X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Jan 2004 22:37:00 -0000 My brother was talking to me about the problems he was having with scanners. Turns out that he needed to incrase DFLTYPHYS to 128k to make it work. I'd like to make this a simple option, but wanted to ask people about it first, for both DFLTPHYS and MAXPHYS. This would be an experts only option, since you can do bad things with some drivers (eg, aha can't do more than 64k of physio at a time, and bad things may happen if you try > 128k). The folks on IRC cautioned that this is not for the feign of heart, since there's 'issues' with physio, MAXPHYS, etc. Comments? Warner P.S. Here's a trivial patch to implement this: ==== //depot/user/imp/newcard/conf/options#70 - /dell/imp/p4/newcard/src/sys/conf/options ==== @@ -470,10 +470,12 @@ DEBUG opt_global.h DEBUG_LOCKS opt_global.h DEBUG_VFS_LOCKS opt_global.h +DFLTPHYS opt_global.h DIAGNOSTIC opt_global.h INVARIANT_SUPPORT opt_global.h INVARIANTS opt_global.h LOOKUP_SHARED opt_global.h +MAXPHYS opt_global.h MCLSHIFT opt_global.h MSIZE opt_global.h REGRESSION opt_global.h