summaryrefslogtreecommitdiff
path: root/usr.bin/telnet/network.c
diff options
context:
space:
mode:
authorGrigoriy Orlov <gluk@cvs.openbsd.org>2001-09-17 19:17:31 +0000
committerGrigoriy Orlov <gluk@cvs.openbsd.org>2001-09-17 19:17:31 +0000
commit558d8397d514aacccc830c86d8533565610b739f (patch)
tree388011bdec4da74850a23b53d4077fe017f45d53 /usr.bin/telnet/network.c
parent250b3197be83ce0b4ae75c5b80df4b3fde30dea3 (diff)
The first implementation of the buffer flushing daemon. It solves our
problem when syncer can't do its work because of vnode locks (PR1983). This also solves our problem where bigger number of buffers results in a much worse perfomance. In my configuration (i386, 128mb, BUFCACHEPERCENT=35) this speedup tar -xzf ports.tar.gz in 2-4 times. In configuration with low number of buffers and softupdates this may slowdown some operations up to 15%. The major difference with current buffer cache is that new implementation uses separate queues for dirty and clean buffers. I.e. BQ_LRU and BQ_AGE replaced by BQ_CLEAN and BQ_DIRTY. This simplifies things a lot and doesn't affect perfomance in a bad manner. Thanks to art and costa for pointing on errors. Tested by brad, millert, naddy, art, jj, camield art, millert ok.
Diffstat (limited to 'usr.bin/telnet/network.c')
0 files changed, 0 insertions, 0 deletions