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

random read cause repeat prefetch same blocks #5134

Closed
sjp00556 opened this issue Sep 3, 2024 · 1 comment
Closed

random read cause repeat prefetch same blocks #5134

sjp00556 opened this issue Sep 3, 2024 · 1 comment

Comments

@sjp00556
Copy link
Contributor

sjp00556 commented Sep 3, 2024

What happened:
random read will cause repeat prefetch same blocks,which will case bandwidth amplification

How to reproduce it (as minimally and precisely as possible):
fio -filename=./f1 -direct=1 -iodepth 1 -thread -rw=randread -ioengine=psync -bs=128K -size=100m -numjobs=1 -group_reporting -name=mytest

the same key may be prefetched repeatedly

screenshot-20240903-000450

@sjp00556 sjp00556 added the kind/bug Something isn't working label Sep 3, 2024
@davies davies removed the kind/bug Something isn't working label Sep 4, 2024
@SandyXSD
Copy link
Contributor

Fixed by #4947.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants