-
Notifications
You must be signed in to change notification settings - Fork 205
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
[WIP] Nydusd: introduce runtime streaming prefetching #1538
Draft
hangvane
wants to merge
6
commits into
dragonflyoss:master
Choose a base branch
from
hangvane:prefetch_stream_master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hangvane
requested review from
bergwolf,
power-more and
Desiki-high
and removed request for
a team
January 9, 2024 07:15
hangvane
force-pushed
the
prefetch_stream_master
branch
2 times, most recently
from
January 18, 2024 12:18
55cb4f7
to
aa354d7
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1538 +/- ##
==========================================
- Coverage 61.38% 60.17% -1.22%
==========================================
Files 144 145 +1
Lines 46962 47959 +997
Branches 44498 45495 +997
==========================================
+ Hits 28828 28858 +30
- Misses 16650 17612 +962
- Partials 1484 1489 +5
|
hangvane
force-pushed
the
prefetch_stream_master
branch
from
January 18, 2024 14:39
aa354d7
to
d230da9
Compare
Signed-off-by: Wenhao Ren <[email protected]>
hangvane
force-pushed
the
prefetch_stream_master
branch
from
January 20, 2024 18:34
d230da9
to
239b0a7
Compare
Signed-off-by: Wenhao Ren <[email protected]>
Signed-off-by: Wenhao Ren <[email protected]>
Signed-off-by: Wenhao Ren <[email protected]>
Signed-off-by: Wenhao Ren <[email protected]>
Signed-off-by: Wenhao Ren <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Relevant Issue (if applicable)
If there are Issues related to this PullRequest, please list it.
Details
Streaming prefetching allows to prefetch a blob by a single prefetching request, where the request is streaming processed the partially fetched data is processed immediately.
As a result, the number of requests for starting a Wordpress container can be reduced from~115 requests to ~36 requests.
It requires build-time prefetching to pre-organize the chunks.
Still working in progress.
Types of changes
What types of changes does your PullRequest introduce? Put an
x
in all the boxes that apply:Checklist
Go over all the following points, and put an
x
in all the boxes that apply.