BUFSIZ = 1024, still ?
Poul-Henning Kamp
phk at phk.freebsd.dk
Sat Aug 18 21:36:49 UTC 2012
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.
More information about the freebsd-current
mailing list