Comments (5)
the kernel version is 5.15.x... not sure how to upgrade to newer lvm tools
from kvdo.
For this particular type of thing, I would refer you to the linux-lvm mailing list [0] and lvm2 project [1] for guidance.
That being said, some additional information like which Distro you're using would be helpful to also provide.
[0] https://subspace.kernel.org/lists.linux.dev.html (find linux-lvm in the list and use the sub
link)
[1] https://gitlab.com/lvmteam/lvm2
from kvdo.
I have a related question. If we utilize lvm --type=vdo to create the logical volume how do we specify that we want to disable compression or deduplication. We want to measure VDO performance without any compression and deduplication to get a baseline and see how much performance is degraded by switching on the features.
Ideally we would take our RAID, create a single physical volume and volume group. Create one volume for data and one for logs and then decide whether to switch on compression or dedup or leave them off.
from kvdo.
Hi @akseg73, This is covered in the lvmvdo man page [0]. There are two ways to be able to specify particular options with the LVM-VDO type.
You can specify it via the command line:
3. Change the compression and deduplication of a VDOPoolLV
Disable or enable the compression and deduplication for VDOPoolLV
(the volume that maintains all VDO LV(s) associated with it).
lvchange --compression y|n --deduplication y|n VG/VDOPoolLV
Example
# lvchange --compression n vg/vdopool0
# lvchange --deduplication y vg/vdopool1
Or, you can specify it via a template:
4. Change the default settings used for creating a VDOPoolLV
VDO allows to set a large variety of options. Lots of these
settings can be specified in lvm.conf or profile settings. You
can prepare a number of different profiles in the
/etc/lvm/profile directory and just specify the profile file
name. Check the output of lvmconfig --type default
--withcomments for a detailed description of all individual VDO
settings.
Example
# cat <<EOF > /etc/lvm/profile/vdo_create.profile
allocation {
vdo_use_compression=1
vdo_use_deduplication=1
vdo_use_metadata_hints=1
vdo_minimum_io_size=4096
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_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"
vdo_max_discard=1
}
EOF
# lvcreate --vdo -L10G --metadataprofile vdo_create vg/vdopool0
# lvcreate --vdo -L10G --config 'allocation/vdo_cpu_threads=4' vg/vdopool1
With your testing, I would suggest that you destroy and re-create the volume with each test to ensure you're getting comparable data.
[0] https://man7.org/linux/man-pages/man7/lvmvdo.7.html
from kvdo.
Thanks for your response, based upon other's comments, it seems we would have to be brave to attempt mysql on vdo ... most comments indicate that it will not perform for performance intensive load ...
from kvdo.
Related Issues (20)
- Throughput is caped on VDO volume HOT 4
- Release 8.2.2.2 : Why ? HOT 3
- Make failed with clang built kernel 6.4.0 HOT 4
- Version 8.2.3.3 : changelog missing HOT 2
- kvdo builds just fine with kernel 6.6 but it fails to boot with vdo root device HOT 3
- Question: main differences between kvdo versions 8.x and 6.x HOT 2
- alternate scheduling HOT 3
- Question: VDO slow TRIM/Discard workaround HOT 2
- Zstd vs LZ4 HOT 1
- logging volume HOT 4
- Question: how to change lower priority options for an existing VDOPoolLV Ubuntu 22.04? HOT 6
- VDO error: assertion "metadata bio has no next bio" failed. HOT 2
- Is UDS no longer supported? HOT 2
- KVDO build error on Linux 6.8rc4: implicit declarations HOT 2
- Very Slow Write HOT 1
- VDO fails to auto add transparantly on my AlmaLinux 9.3 box HOT 5
- dkms.conf file for kvdo HOT 1
- Migrating to the in-kernel KVDO, or "Recovery journal is in the old format" HOT 12
- Snapshots for lvm-vdo HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kvdo.