- Joined
- Nov 25, 2013
- Messages
- 7,776
I have become a bit obsessed with Grafana lately and noticed a pattern that made me look twice in my disk I/O.
For all my disks a typical graph at any particular time looks like this:
This is true for my spinning disks where I store "stuff" as well as for my SSDs where all my VMs and jails reside. I was so irritated by the completely flat line for "read" that I quickly fired up
My system is expanded almost to the max for a home server, see below for specs. With 64G of RAM there's a lot of space for ARC. And after some thinking I came up with this explanation:
Just wanted to share an "heureka" moment.
Kind regards,
Patrick
For all my disks a typical graph at any particular time looks like this:
This is true for my spinning disks where I store "stuff" as well as for my SSDs where all my VMs and jails reside. I was so irritated by the completely flat line for "read" that I quickly fired up
dd if=/dev/ada0 of=/dev/null bs=1m
for a minute to check if I had not misconfigured my graphing and was missing on all the read operations that surely must take place. No?My system is expanded almost to the max for a home server, see below for specs. With 64G of RAM there's a lot of space for ARC. And after some thinking I came up with this explanation:
- everything that is read is in ARC already
- so all visible disk access is writes
- blocks that are written are kept in ARC, because subsequent reads are common
- so even then we still see no reads
Just wanted to share an "heureka" moment.
Kind regards,
Patrick