mirror_zfs/tests/zfs-tests/tests/functional
Serapheim Dimitropoulos c853f382db Change target size of metaslabs from 256GB to 16GB
= Old behavior

For vdev sizes 100GB to 50TB we keep ~200 metaslabs per
vdev and the metaslab size grows from 512MB to 256GB.
For vdev's bigger than that we start increasing the
number of metaslabs until we hit the 128K limit.

= New Behavior

For vdev sizes 100GB to 3TB we keep ~200 metaslabs per
vdev and the metaslab size grows from 512MB to 16GB.
For vdev's bigger than that we start increasing the
number of metaslabs until we hit the 128K limit.

= Reasoning

The old behavior makes metaslabs grow in size when
the vdev range is between 3TB (ms_size 16GB) and
32PB (ms_size 256GB). Even though keeping the number
of metaslabs is good in terms of potential number of
I/Os per TXG, these bigger metaslabs take longer
to be loaded and after they are loaded they can
take up a lot of memory because of their range trees.

This change tries to put a boundary in memory and
loading time for the specific range of vdev sizes.

Reviewed-by: Matt Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Don Brady <don.brady@delphix.com>
Signed-off-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Closes #8324
2019-01-25 16:38:27 -08:00
..
acl ZTS: Fix posix ACL tests that should pass 2018-10-31 18:58:43 -05:00
alloc_class Disable 'zfs remap' command 2019-01-15 15:46:58 -08:00
arc pyzfs: python3 support (build system) 2019-01-06 10:39:41 -08:00
atime Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
bootfs OpenZFS 9213 - zfs: sytem typo 2018-04-15 10:59:13 -07:00
cache ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
cachefile Clean up (k)shlib and cfg file shebangs 2018-04-08 19:37:22 -07:00
casenorm Fix ENOSPC in "Handle zap_add() failures in ..." 2018-04-18 14:19:50 -07:00
channel_program ZTS: fix "not found" errors 2018-11-27 09:39:37 -08:00
chattr ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
checksum ZTS: Fix parsing of zpool status in checksum test 2018-11-20 09:51:42 -08:00
clean_mirror ZTS: clean_mirror and scrub_mirror cleanup 2018-07-09 12:46:14 -07:00
cli_root Change target size of metaslabs from 256GB to 16GB 2019-01-25 16:38:27 -08:00
cli_user arc_summary: consolidate test case 2019-01-06 10:39:41 -08:00
compression Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
cp_files Fix ENOSPC in "Handle zap_add() failures in ..." 2018-04-18 14:19:50 -07:00
ctime Fedora 28: Fix misc bounds check compiler warnings 2018-08-26 12:55:44 -07:00
deadman Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
delegate Update zfs_admin_snapshot value (disabled) 2018-11-08 16:17:12 -08:00
devices ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
events ZTS: events path cleanup 2018-08-18 21:19:41 -07:00
exec Enable remaining tests 2017-05-22 12:34:32 -04:00
fault ZTS: fix wait_scrubbed() 2018-12-14 10:06:49 -08:00
features OpenZFS 7614, 9064 - zfs device evacuation/removal 2018-04-14 12:16:17 -07:00
grow ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
history ZTS: path cleanup 2018-08-30 13:46:55 -07:00
hkdf Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
inheritance Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
inuse ZTS: inuse_004 path cleanup 2018-08-13 08:16:55 -07:00
io Direct IO support 2018-08-27 10:04:21 -07:00
large_files ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
largest_pool ZTS: largest_pool_001 path cleanup 2018-08-18 21:18:31 -07:00
libzfs Add basic zfs ioc input nvpair validation 2018-09-02 12:14:01 -07:00
limits zfs receive and rollback can skew filesystem_count 2019-01-08 10:17:46 -08:00
link_count Enable remaining tests 2017-05-22 12:34:32 -04:00
migration Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
mmap deadlock between mm_sem and tx assign in zfs_write() and page fault 2018-10-16 11:11:24 -07:00
mmp Skip import activity test in more zdb code paths 2018-08-20 10:05:23 -07:00
mount Enable remaining tests 2017-05-22 12:34:32 -04:00
mv_files ZTS: path cleanup 2018-08-30 13:46:55 -07:00
nestedfs OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
no_space zfs filesystem skipped by df -h 2019-01-13 10:06:13 -08:00
nopwrite ZTS: path cleanup 2018-08-30 13:46:55 -07:00
online_offline Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
pool_checkpoint Update vdev_is_spacemap_addressable() for new spacemap encoding 2019-01-16 15:06:20 -08:00
pool_names Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
poolversion Fix some ZFS Test Suite issues 2017-09-25 10:32:34 -07:00
privilege ZTS: change $(cat) to $(<) for speedup 2018-10-31 12:00:06 -05:00
procfs ZTS: change $(cat) to $(<) for speedup 2018-10-31 12:00:06 -05:00
projectquota ZTS: Update project quota tests 2018-10-23 19:53:14 -07:00
pyzfs pyzfs: python3 support (build system) 2019-01-06 10:39:41 -08:00
quota Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
raidz OpenZFS 7290 - ZFS test suite needs to control what utilities it can run 2017-04-06 09:25:36 -07:00
redundancy ZTS: path cleanup 2018-08-30 13:46:55 -07:00
refquota OpenZFS 9213 - zfs: sytem typo 2018-04-15 10:59:13 -07:00
refreserv Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
removal Disable 'zfs remap' command 2019-01-15 15:46:58 -08:00
rename_dirs Enable remaining tests 2017-05-22 12:34:32 -04:00
replacement ZTS: Test case reliability 2018-08-12 09:38:53 -07:00
reservation ZTS: Fix reservation_001_pos 2018-08-17 10:01:47 -07:00
rootpool ZTS: path cleanup 2018-08-30 13:46:55 -07:00
rsend Fix issues with raw receive_write_byref() 2018-08-20 11:03:56 -07:00
scrub_mirror ZTS: clean_mirror and scrub_mirror cleanup 2018-07-09 12:46:14 -07:00
slog OpenZFS 9112 - Improve allocation performance on high-end systems 2018-07-31 10:52:33 -07:00
snapshot Update zfs_admin_snapshot value (disabled) 2018-11-08 16:17:12 -08:00
snapused Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
sparse ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
threadsappend ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
tmpfile ZTS: Update O_TMPFILE support check 2018-05-14 20:36:30 -07:00
truncate ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
upgrade ZTS: path cleanup 2018-08-30 13:46:55 -07:00
user_namespace Fix "file is executable, but no shebang" warnings 2018-04-06 16:34:21 -07:00
userquota ZTS: path cleanup 2018-08-30 13:46:55 -07:00
vdev_zaps ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
write_dirs ZTS: Adopt OpenZFS test analysis script 2018-06-20 14:03:13 -07:00
xattr ZTS: path cleanup 2018-08-30 13:46:55 -07:00
zvol ZTS: zvol_swap_003 path cleanup 2018-08-30 13:53:06 -07:00
Makefile.am zfs receive and rollback can skew filesystem_count 2019-01-08 10:17:46 -08:00