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

I wonder how snzip handles IO. #34

Open
yuslee80 opened this issue Jun 13, 2024 · 0 comments
Open

I wonder how snzip handles IO. #34

yuslee80 opened this issue Jun 13, 2024 · 0 comments

Comments

@yuslee80
Copy link

We are compressing the data using snzip in a specific time zone. To explain more, we are compressing /dev/sdb's data into /dev/sdc.

If you look at the picture below, you can see the Read IO(r/s) and Write Sector Size (wKB/s) indicators of the device in /dev/sdb.
By the way, while /dev/sdb's data is being compressed to /dev/sdc, there is almost no disk I/O for /dev/sdc. If you are compressing data to /dev/sdb -> /dev/sdc, shouldn't w/s of /dev/sdc increase?

스크린샷 2024-06-13 오전 9 56 58

Periodically some Write IO occurs in /dev/sdc.

Device            r/s     w/s     rkB/s     wkB/s   rrqm/s   wrqm/s  %rrqm  %wrqm r_await w_await aqu-sz rareq-sz wareq-sz  svctm  %util
sdc              0.00   14.00      0.00   6812.00     0.00     0.00   0.00   0.00    0.00    9.07   0.13     0.00   486.57   1.93   2.70
sdc1             0.00   14.00      0.00   6812.00     0.00     0.00   0.00   0.00    0.00    9.07   0.13     0.00   486.57   1.93   2.70

My question is: if you are compressing to /dev/sdb -> /dev/sdc, /dev/sdb should be continuously outputting Read IO, /dev/sdc should be continuously outputting Write IO, but /dev/sdc should not be doing periodic Write IO. Why is that?

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

1 participant