3 ms·
A ZIL and a SLOG are the exact same thing. God I love getting downvoted by people have no freaking clue what they’re talking about. They are both a record of wr
by water8 4y ago
A ZIL and a SLOG are the exact same thing. God I love getting downvoted by people have no freaking clue what they’re talking about. They are both a record of writes that are in memory that have yet to be written in the desk. No super cache is going to make your drive write any faster than it can physically write. You were merely cashing data on a nonvolatile storage medium in the event of a power failure were you lose ECC protected ram data. More often than not adding a slog will make your system slower because 1) ram faster than NVMe, and 2) It only applies to synchronous writes which are not that common compared to say rsync which is all asynchronous writes. Remember a synchronous write needs to return to the kernel that it has successfully written the data onto the drive. it is not a fire and forget like asynchronous is.
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
- mtlynch 4y ago>A ZIL and a SLOG are the exact same thing. God I love getting downvoted by people have no freaking clue what they’re talking about. They are both a record of writes that are in memory that have yet to be written in the desk. 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 https://www.truenas.com/docs/references/slog/#slog-use-case