Building My First Home Storage Server with 22 TB of Capacity
mtlynch.io
mtlynch.io
I'm admittedly a ZFS newcomer, but what you're describing sounds closer to my understanding of the ZFS intent log than the SLOG.
From the TrueNAS documentation[0]:
>A ZIL alone does not improve performance. Every ZFS data pool uses a ZIL that is stored on disk to log synchronous writes before flushing to a final location in the storage. This means synchronous writes operate at the speed of the storage pool and must write to the pool twice or more (depending on disk redundancy).
>A separate high-speed SLOG device provides the performance improvements so ZIL-based writes are not limited by pool input/outputs per second (IOPS) or penalized by the RAID configuration.
I was also under the impression that most I/O for consumer applications is synchronous rather than asynchronous. Like if I open an image in Photoshop, crop it, and save the result, those are all going to be synchronous I/O operations, no?
[0] https://www.truenas.com/docs/references/slog/#slog-use-case
That said having a Zil is important if you’re going to run virtual machines off of your ZFS file share and you want those machines to be fault tolerant to power outages
Do you have a source for that? The TrueNAS documentation[0] I shared above says that the ZIL is on disk, not in memory. It also says that a SLOG is a type of ZIL, but not all ZILs are SLOGs.
Am I misunderstanding that documentation or are you asserting that the documentation is wrong?
I'm not downvoting you, by the way.
[0] https://www.truenas.com/docs/references/slog/#slog-use-case