Re: BUFSIZ = 1024, still ?

看板FB_current作者時間13年前 (2012/08/19 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/12 (看更多)
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. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1GC12VaV (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1GC12VaV (FB_current)