diff options
author | Alan Cox <alc@FreeBSD.org> | 2005-02-13 21:51:50 +0000 |
---|---|---|
committer | Alan Cox <alc@FreeBSD.org> | 2005-02-13 21:51:50 +0000 |
commit | e340fc602be23c05a35f023bb91e70b4148c2ad9 (patch) | |
tree | 57ca8f35daa05acd6944cecccd9aaa5020281122 /sbin/mount_cd9660 | |
parent | a66e65f5a94242a56fcfe2671c48c9926cf8121e (diff) |
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.
Notes
Notes:
svn path=/head/; revision=141845
Diffstat (limited to 'sbin/mount_cd9660')
0 files changed, 0 insertions, 0 deletions