-
Notifications
You must be signed in to change notification settings - Fork 297
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
Poor Cache Hit Rate with Nydus + Dragonfly #3679
Comments
I found this config: prefetch. |
Please use rust client with helm chart(v2.1.64). |
Hi, |
@zf930530 How do you preheat? There are differences between the preheating of Nydus image and OCI image. |
curl --location --request POST 'http://dragonfly-manager-url/oapi/v1/jobs' --header 'Content-Type: application/json' |
@zf930530 Can you provide all of the seed client logs( |
Bug report:
I’ve noticed that when using Dragonfly to accelerate Nydus images, the cache hit rate is very poor, even after I preheat the images. During my investigation, I found that preheating caches the entire layer as a whole, and the generated taskID metadata does not include the Content-Range. However, when Nydus requests the image, its lazy-load mechanism causes each request to include a Content-Range. In this case, the calculated taskID does not match the preheated taskID, resulting in a cache miss.
What’s worse, even for the same image, the Content-Range in Nydus requests can vary between pulls, which further reduces the cache hit rate. Does the community have any plans to improve this situation? If so, could you share details about the proposed improvements?
Expected behavior:
Improving Cache Hit Rate for Nydus Images.
How to reproduce it:
Each time pulling Nydus images.
Environment:
The text was updated successfully, but these errors were encountered: