-
Notifications
You must be signed in to change notification settings - Fork 21
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
Profiling with PPE for Local #326
Conversation
Latest:
|
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.
Thank you for providing the base design. Overall, LGTM.
Several questions are following:
- Writing annotations in all FS seems complicated, is it possible to implement them in FS (interface) and then override them if necessary?
- How do you calculate the cache hit rate in this design? Count call rate of slow FS?
- How do you measure read/write performance?
@@ -4,6 +4,22 @@ | |||
import shutil | |||
from typing import Optional | |||
|
|||
try: |
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.
This implementation should be in pfio/v2/_profiler.py or pfio/_profiler.py because these noop implementation will be used in all FS.
Superseded by #340 . |
PR draft to discuss the base design for #258.
With a test script like below:
It yields a result like this: