Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writeboost on top of vdo doing nothing? #258

Open
jvinolas opened this issue Oct 2, 2024 · 0 comments
Open

Writeboost on top of vdo doing nothing? #258

jvinolas opened this issue Oct 2, 2024 · 0 comments
Assignees
Labels

Comments

@jvinolas
Copy link

jvinolas commented Oct 2, 2024

Hi again,

We finally resized an mounted the cache on a raid0 over an vdo lvm. This where de secuential write results:

WRITE: bw=247MiB/s (259MB/s), 247MiB/s-247MiB/s (259MB/s-259MB/s), io=4947MiB (5187MB), run=20004-20004msec  

While directly on the raid0 being used as cache we got this:

WRITE: bw=1610MiB/s (1688MB/s), 1610MiB/s-1610MiB/s (1688MB/s-1688MB/s), io=13.6GiB (14.6GB), run=8661-8661msec

The cache was created like this:

wbcreate cache /dev/mapper/vgtest-vdo_test /dev/md999p1 --reformat --writeback_threshold=70 --read_cache_threshold=127

Where md999p1 is a 800G partition and underlying vdo is of 4T and virtually 500T (that's what writeboost will see, just doing tests, don't expect that much deduplication).

Is this difference expected?

This is the dmsetup:

cache: 0 1073741824000 writeboost 0 213042754 1677502 1 0 0 0 0 261 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10 writeback_threshold 70 nr_cur_batched_writeback 0 sync_data_interval 0 update_sb_record_interval 0 read_cache_threshold 0
``
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants