95ee03319d
improvement in the "cat /usr/share/misc/termcap" benchmark on 486/75 ttwrite queues data for us in OBUFSIZ chunks. If we only consume OBUFSIZ-1 bytes per call to wsdisplaystart(), we're *guaranteed* to fall behind when given maximum-sized reads (which will defer processing the leftovers until ttrstrt gets called, after a timeout) Note that OBUFSIZ*4 may be overkill; OBUFSIZ*3 may be sufficient to get maximal performance; OBUFSIZ*2 resulted in only about a 2.5x performance improvement, but it's 2am and I've done enough tweaking for the night. |
||
---|---|---|
bin | ||
distrib | ||
etc | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
regress | ||
sbin | ||
share | ||
sys | ||
usr.bin | ||
usr.sbin | ||
Makefile |