Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2012 21:36:46 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Matt Jacob <mjacob@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: BUFSIZ = 1024, still ?
Message-ID:  <6882.1345325806@critter.freebsd.dk>
In-Reply-To: Your message of "Sat, 18 Aug 2012 14:12:32 MST." <50300540.9060906@feral.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message <50300540.9060906@feral.com>, Matthew Jacob writes:

>[...] that there might be a measurable 
>difference for having to copy 4K (unaligned) than 1K (unaligned) to 
>kernel space for disposition.

Actually, as far as I'm aware, the 4K would be page-aligned by
default due to our malloc(3) implementation.

>Wasn't there just a recent discussion about running 1.x binaries? 

1.x binaries wouldn't notice and wouldn't be able to tell
if BUFSIZ is different in 10.x

>If you're going to talk about making a change to defaults, the default 
>MAXPHYS and DLFTPHYS have been undersized for years now.

Indeed, but as I understand it, those require device driver changes ?

-- 
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6882.1345325806>