-
Notifications
You must be signed in to change notification settings - Fork 72
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
what is the benefit for using aio in bcache? #20
Comments
Hi You need to compare with different number of devices. If you have very low number of devices that are very fast (i.e. nearly zero latency NVMe) - there will be close to 0 benefit of aio (or even it may get slightly slower due to extra expensive syscalls). But once you start to work with hundreds of disks which also do have some seek time - there should be measurable improvement of scanning time. If there is not - that there is bug somewhere in code - i.e. some regression - adding extra reads... in all case it would be then worth to report as bug - be sure to provide reproducible test and trace (-vvvv) with timestamps in this case then. |
In my environment
time lvs
real 0m0.093s
user 0m0.017s
sys 0m0.009s
time lvs
real 0m0.026s
user 0m0.007s
sys 0m0.019s
I wonder why adding aio feature to lvm? It takes much time when call io_setup io_destroy. Actually, it doesn't make scanning faster.
Thanks
The text was updated successfully, but these errors were encountered: