FileSystems – Use external logs on SSD

Some log file systems do suffer performance losses because they host the logs on the same drive as the file system itself. Using external logs can increase the writing speed. With the advent of SSDs , It is entirely possible that a single SSD can support multiple external logs of the file system hosted on traditional rotating magnetic media. Although Anandtech “SSD Anthology” does cover some of them, they do not cover the “multi-journal” test case.

Journals tend to be very small, so even a small, fast 32GB SSD can provide a lot of speed for multiple large file systems. It may be much faster than the general I/O mode , Which is why it’s a good idea to have a bigger device than the one you end up using.

Have you ever done something like this, or even just used an external journal? I am curious about real-world cases.

Since the amount of data written to the log is usually very compact, And most server systems (at least those where performance is important) have RAID controllers with battery-backed write cache, so the cost of using logs is usually not a problem. Increased complexity and external logging issues (think about settings , Maintenance, (disaster) recovery, increased error rate of less used code paths, etc.) can greatly offset the possible speed increase.

This may be people taking risks on this path One of the main reasons.

Now, for a novel that supports the use of SSD, when it comes to the file system, it will be ZFS L2ARC, but this is a completely different story.

Some log file systems do suffer performance losses because they host the logs on the same drive as the file system itself. Using external logs can increase the writing speed. With the advent of SSDs, I completely It is possible for a single SSD to support multiple external logs of the file system hosted on traditional rotating magnetic media. Although Anandtech “SSD Anthology” does cover some of them, they do not cover the “multi-journal” test case.

Journals tend to be very small, so even a small, fast 32GB SSD can provide a lot of speed for multiple large file systems. It may be much faster than the general I/O mode, this is Why is it a good idea to have a larger device than the one you end up using.

Have you ever done such a thing, or even just used an external journal? I am curious about real-world cases.

Given that the amount of data written to the log is usually very compact, and most server systems (at least those whose performance is important) System) are equipped with RAID controllers with battery backup write cache, so the cost of using logs is usually not a problem. Increased complexity and external log problems (thinking about setup, maintenance, (disaster) recovery, less frequently used The error rate of the code path, etc.) can greatly offset the possible speed increase.

This may be one of the main reasons people take risks on this path.

Now, for a novel that supports the use of SSD, when it comes to the file system, it will be ZFS L2ARC, but this is a completely different story.

Leave a Comment

Your email address will not be published.