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

arcstat and arc_summary report impossible value for L2 cache size #16792

Open
clhedrick opened this issue Nov 21, 2024 · 1 comment
Open

arcstat and arc_summary report impossible value for L2 cache size #16792

clhedrick opened this issue Nov 21, 2024 · 1 comment
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)

Comments

@clhedrick
Copy link

System information

Type Version/Name
Distribution Name Ubuntu
Distribution Version 22.04
Kernel Version 6.6.44
Architecture x64
OpenZFS Version 2.2.6

Describe the problem you're observing

arc_summary shows

L2ARC size (adaptive): 44.5 TiB
Compressed: 12.5 % 5.6 TiB
Header size: 0.1 % 33.1 GiB
MFU allocated size: 10.5 % 601.1 GiB
MRU allocated size: 89.4 % 5.0 TiB
Prefetch allocated size: 0.1 % 7.1 GiB
Data (buffer content) allocated size: 100.1 % 5.6 TiB
Metadata (buffer content) allocated size: < 0.1 % 214.9 MiB

We have a little under 6 TB of disk assigned, so the 44 TB size seems impossible.

Looking at the last few months, I see values as high as 85 TB.

The same data appears in arcstat.

Describe how to reproduce the problem

n.a

Include any warning/errors/backtraces from the system logs

@clhedrick clhedrick added the Type: Defect Incorrect behavior (e.g. crash, hang) label Nov 21, 2024
@imwhocodes
Copy link

I'm not a dev but as far I understand OpenZFS you have a lot of highly compressible data, the actual on-disk-size of L2ARC is around 5.6TB (second line) that when decompressed will inflate to 44TB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Defect Incorrect behavior (e.g. crash, hang)
Projects
None yet
Development

No branches or pull requests

2 participants