summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-04-03 04:09:53 +0000
committerrwatson <rwatson@FreeBSD.org>2001-04-03 04:09:53 +0000
commit6805eb2bf49821e6cba726451d9ebe646bdb69cf (patch)
treec265b3f467cb46e5fa4822db43b5f4577c1c197c /games
parentfbfd25aee922032513e4e04dfb16464be003a1b6 (diff)
downloadFreeBSD-src-6805eb2bf49821e6cba726451d9ebe646bdb69cf.zip
FreeBSD-src-6805eb2bf49821e6cba726451d9ebe646bdb69cf.tar.gz
o Change the default from using IO_SYNC on EA set and delete operations
to not using IO_SYNC. Expose a sysctl (debug.ufs_extattr_sync) for enabling the use of IO_SYNC. - Use of IO_SYNC substantially degrades ACL performance when a default ACL is set on a directory, as there are four synchronous writes initiated to define both supporting EAs for new sub-directories, and to set the data; two for new files. Later, this may be optimized to two writes for sub-directories, one for new files. - IO_SYNC does not substantially improve consistency properties due to the poor consistency properties of existing permissions (which ACLs are a superset of), due to interaction with soft updates, and due to differences in handling consistency for data and file system meta-data. - In macro-benchmarks, this reduces the overhead of setting default ACLs down to the same overhead as enabling ACLs on a file system and not using them. Enabling ACLs still introduces a small overhead (I measure 7% on a -j 2 buildworld with pre-allocated EA backing store, but this is not rigorous testing, nor in any way optimized). - The sysctl will probably change to another administration method (or at least, a better name) in the near future, but consistency properties of EAs are still being worked out. The toggle is defined right now to allow easier performance analysis and exploration of possible guarantees. Obtained from: TrustedBSD Project
Diffstat (limited to 'games')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud