diff options
author | mav <mav@FreeBSD.org> | 2016-10-28 18:24:05 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2016-10-28 18:24:05 +0000 |
commit | 748b013188753a4b409720c333b6786231ac801f (patch) | |
tree | 2bdde3022f15002f864f9bcf53e4f226e38e80a4 /contrib/libc++/src/exception.cpp | |
parent | a47105ffc325fb82a5ff322d83c2459cbe1a6ab5 (diff) | |
download | FreeBSD-src-748b013188753a4b409720c333b6786231ac801f.zip FreeBSD-src-748b013188753a4b409720c333b6786231ac801f.tar.gz |
MFC r300059 (by asomers): Speed up vdev_geom_open_by_guids
Speedup is hard to measure because the only time vdev_geom_open_by_guids
gets called on many drives at the same time is during boot. But with
vdev_geom_open hacked to always call vdev_geom_open_by_guids, operations
like "zpool create" speed up by 65%.
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c
* Read all of a vdev's labels in parallel instead of sequentially.
* In vdev_geom_read_config, don't read the entire label, including
the uberblock. That's a waste of RAM. Just read the vdev config
nvlist. Reduces the IO and RAM involved with tasting from 1MB to
448KB.
Diffstat (limited to 'contrib/libc++/src/exception.cpp')
0 files changed, 0 insertions, 0 deletions