-
Notifications
You must be signed in to change notification settings - Fork 53
Remove a branch with pl.when in fetching bkv #1239
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: rupengliu-meta <rupengliu@meta.com>
| sem, | ||
| wait, | ||
| ) | ||
| size = lax.select(bkv_sz_frm_new > 0, bkv_sz_frm_new, 0) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so if size==0, then the dma will be a no-op?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, exactly
kyuyeunk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm but requires approval from @bythew3i
|
Also, can you do a rebase instead of merge to update the branch? There's a weird bug where pre merge ci doesn't run if you do merge. |
Description
Discussed with @bythew3i offline! This commit removes one control flow branch in path of prefetching bkv. Around 3% kernel speedup before tuning! (since I don't have tuning script, so unable to report updated speedup)
If the change fixes a bug or a Github issue, please include a link, e.g.,:
FIXES: b/123456
FIXES: #123456
Tests
E2E tests



Integration tests:
Please describe how you tested this change, and include any instructions and/or
commands to reproduce.
Checklist
Before submitting this PR, please make sure: