Re: BUFSIZ = 1024, still ?

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Sat, 18 Aug 2012 21:36:46 +0000
In message <50300540.9060906_at_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_at_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.
Received on Sat Aug 18 2012 - 19:36:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC