-
Notifications
You must be signed in to change notification settings - Fork 232
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
Add option to subtract ARC/ZFS cache from total memory usage #1297
Comments
Also could you run |
Hm, was just checking around, and noticed that |
yeah should be something like this because my computer doesn't make me feel like i'm using 26gb ram lol. there should be something because even free -mh says I'm using over 20gb |
Thanks! And yeah, it... actually looks like I do notice you're running VMs, I wonder if that's causing something weird to happen. But yeah let me get that sysinfo bump out and run a nightly build. |
btw i closed vm and tried again. still same. and actually even if it running i just gave it to 2gb ram |
Thanks, that rules that out at least. Some other questions:
|
Ah, yeah, that explains it - tools like If you don't mind, I can turn this report to a feature request to add a config option to allow you to enable/disable this. Wouldn't be too hard... I think. |
yeah sure, actually this makes me happy. |
but as a question, technically which one is right. included zfs cache or not ? I mean if countinue to allocate memory with some heavy programs, am i going to be allowed or my system going to crash / kill process |
From what I remember (my understanding of ZFS is only rudimentary though!) if memory is needed by the rest of the system then the memory used by the ZFS cache ends up getting reclaimed as needed, so it shouldn't affect your system. And as for which one is correct, they're... well, kinda both right in this case. It depends what the program creator wants to represent. |
OOM killer may be invoked if ARC does not free memory fast enough. If your workload allocates a lot of RAM quickly (vms/games/etc) some zfs properties like I am unsure of how the UI will handle the arc max changes if it is done dynamically with respect to the time scrolling... (htop can also be setup to display ARC meters. Apologizes if this is off topic) |
Checklist
What operating system and version are you using?
Linux Mint 21.2 Cinnamon
What architecture are you using?
x86_64 / AMD64
What terminal(s) are you running bottom on?
alacritty
What version of bottom are you running?
0.9.6
How did you install bottom?
Cargo
Describe the issue
I don't know which one is right, but htop and bottom show different ram usages.
What is the expected behaviour?
They should be same.
What is the actual behaviour?
They are not same.
How can we reproduce this?
I don't know
Additional information
No response
The text was updated successfully, but these errors were encountered: