diff options
author | alc <alc@FreeBSD.org> | 2005-02-13 21:51:50 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2005-02-13 21:51:50 +0000 |
commit | 13e88b41bac03367de7406f96648f28a64fc7322 (patch) | |
tree | 57ca8f35daa05acd6944cecccd9aaa5020281122 /usr.bin/makewhatis | |
parent | 4f2d08a3315df4cdc5b9cf342c6c8f3c29b1b181 (diff) | |
download | FreeBSD-src-13e88b41bac03367de7406f96648f28a64fc7322.zip FreeBSD-src-13e88b41bac03367de7406f96648f28a64fc7322.tar.gz |
Request a CPU private mapping from sf_buf_alloc(). If the swap-backed
memory disk is larger than the number of available sf_bufs, this improves
performance on SMPs by eliminating interprocessor TLB shootdowns. For
example, with 6656 sf_bufs, the default on my test machine, and a 256MB
swap-backed memory disk, I see the command
"dd if=/dev/md0 of=/dev/null bs=64k" achieve ~489MB/sec with the default,
shared mappings, and ~587MB/sec with CPU private mappings.
Diffstat (limited to 'usr.bin/makewhatis')
0 files changed, 0 insertions, 0 deletions