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

How to emulate GC impact with FEMU #130

Open
yanbozyb opened this issue Nov 16, 2023 · 2 comments
Open

How to emulate GC impact with FEMU #130

yanbozyb opened this issue Nov 16, 2023 · 2 comments

Comments

@yanbozyb
Copy link

yanbozyb commented Nov 16, 2023

Hi Huaicheng,

When I try FEMU Black box SSD, the write throughput is always around 1180MB/s.

I use default FEMU configuration and FIO tool to measure raw block device. Although I change fio configuration to sequential writes (128KB) and random writes (4KB) multiple times, the throughput remain same (1180MB/s). And I when continue to randomly write entire device, I didn't see any performance degradation as real NAND SSDs.

I'm wondering how can I reproduce GC influence with FEMU? The Black box SSD is expected to show lower write throughput when GC is triggered.

Thanks

@huaicheng
Copy link
Contributor

Try enabling FEMU logs, did you observe GC being triggered?

@yanbozyb
Copy link
Author

Thanks for your help.

When I enable FEMU debug log, I find GC is indeed triggered. It seems like GC has visible influence on tail latency, but it hasn't too much visible influence on throughput (around 1-2% throughput degradation for writes).

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