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

Cloudphysic block trace origin format #54

Closed
haomactracy opened this issue Jan 19, 2024 · 5 comments
Closed

Cloudphysic block trace origin format #54

haomactracy opened this issue Jan 19, 2024 · 5 comments

Comments

@haomactracy
Copy link

Hi,can you provide Cloudphysic block trace origin format, i want to analyze it, but i cannot find the way to download a Cloudphsic block trace with offset and length.
Thank you so much!

@1a1a11a
Copy link
Owner

1a1a11a commented Jan 19, 2024

@1a1a11a 1a1a11a closed this as completed Jan 19, 2024
@1a1a11a
Copy link
Owner

1a1a11a commented Jan 19, 2024

Hi @haomactracy , since you study the offset and length, there is another dataset from Meta that you might be interested
https://cachelib.org/docs/Cache_Library_User_Guides/Cachebench_FB_HW_eval/#list-of-traces

@haomactracy
Copy link
Author

Thank you so much,i download the trace with vscsitrace Binary file,can you give me some information about how to get the offset and length from the trace?Thanks

@haomactracy haomactracy mentioned this issue Jan 22, 2024
Closed
@1a1a11a
Copy link
Owner

1a1a11a commented Jan 22, 2024

libCacheSim does not have the tool to print it, but take a look at vscsi.c and https://man.openbsd.org/vscsi.4

@haomactracy
Copy link
Author

Thanks,but i have one question,that is,when i find the data structure of vscsi and print the trace(length and offset),
typedef struct {
uint32_t sn;
uint32_t len;
uint32_t nSG;
uint16_t cmd;
uint16_t ver;
uint64_t lbn;
uint64_t ts;
} trace_v1_record_t;
which element represents read or write
i found that the simulator do not use the op(w or r), thanks for explaination!

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

2 participants