diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2018-07-03 11:10:57 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2018-07-09 15:28:35 +0200 |
commit | c66a960149ae28f057bc1a91d6974e92fc572c30 (patch) | |
tree | 85e5546b8818514c3589a35703b62fec993ae56a /conf | |
parent | d8a41f22e9a68b0424ee18b1859fb6369c712622 (diff) | |
download | lvm2-c66a960149ae28f057bc1a91d6974e92fc572c30.tar.gz |
build: install VDO small allocation profile
Profile shows all VDO configurables.
Usable with: lvcreate --metadataprofile vdo-small ...
Diffstat (limited to 'conf')
-rw-r--r-- | conf/Makefile.in | 3 | ||||
-rw-r--r-- | conf/vdo-small.profile | 25 |
2 files changed, 27 insertions, 1 deletions
diff --git a/conf/Makefile.in b/conf/Makefile.in index d47c7593a..e9068359a 100644 --- a/conf/Makefile.in +++ b/conf/Makefile.in @@ -1,5 +1,5 @@ # -# Copyright (C) 2004-2015 Red Hat, Inc. All rights reserved. +# Copyright (C) 2004-2018 Red Hat, Inc. All rights reserved. # # This file is part of LVM2. # @@ -25,6 +25,7 @@ PROFILES=$(PROFILE_TEMPLATES) \ $(srcdir)/cache-smq.profile \ $(srcdir)/thin-generic.profile \ $(srcdir)/thin-performance.profile \ + $(srcdir)/vdo-small.profile \ $(srcdir)/lvmdbusd.profile include $(top_builddir)/make.tmpl diff --git a/conf/vdo-small.profile b/conf/vdo-small.profile new file mode 100644 index 000000000..0bd47b566 --- /dev/null +++ b/conf/vdo-small.profile @@ -0,0 +1,25 @@ +# Demo configuration for 'VDO' using less memory. +# + +allocation { + vdo_use_compression = 1 + vdo_use_deduplication = 1 + vdo_emulate_512_sectors = 0 + vdo_block_map_cache_size_mb = 128 + vdo_block_map_period = 16380 + vdo_check_point_frequency = 0 + vdo_use_sparse_index = 0 + vdo_index_memory_size_mb = 256 + vdo_use_read_cache = 0 + vdo_read_cache_size_mb = 0 + vdo_slab_size_mb = 2048 + + vdo_ack_threads = 1 + vdo_bio_threads = 1 + vdo_bio_rotation = 64 + vdo_cpu_threads = 2 + vdo_hash_zone_threads = 1 + vdo_logical_threads = 1 + vdo_physical_threads = 1 + vdo_write_policy = "auto" +} |