master - build: install VDO small allocation profile
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c66a960149ae28f057bc1a91d6974e92fc572c30 Commit: c66a960149ae28f057bc1a91d6974e92fc572c30 Parent: d8a41f22e9a68b0424ee18b1859fb6369c712622 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Jul 3 11:10:57 2018 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Jul 9 15:28:35 2018 +0200
build: install VDO small allocation profile
Profile shows all VDO configurables.
Usable with: lvcreate --metadataprofile vdo-small ...
--- conf/Makefile.in | 3 ++- conf/vdo-small.profile | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletions(-)
conf/Makefile.in +2 -1
@@ -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
conf/vdo-small.profile new file +25 -0
@@ -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" +}