From owner-freebsd-current@FreeBSD.ORG Mon Jan 19 12:13:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B500C16A4CE for ; Mon, 19 Jan 2004 12:13:38 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88EEB43D31 for ; Mon, 19 Jan 2004 12:13:37 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i0JKDaCf098337 for ; Mon, 19 Jan 2004 21:13:36 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: current@freebsd.org From: Poul-Henning Kamp Date: Mon, 19 Jan 2004 21:13:36 +0100 Message-ID: <98336.1074543216@critter.freebsd.dk> Subject: Is BUFSIZ too small ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2004 20:13:38 -0000 I noticed that we still have BUFSIZ in stdio.h defined to only 1024, and wonder if that should be increased these days. Is there anybody who could devise and run some benchmarks to find out what effect it would have to increase it to for instance 4096 ? -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.