2 ms·
I hadn't heard about f2fs before. Sounds useful even on a notebook with SSD.
by Tepix 10y ago
I hadn't heard about f2fs before. Sounds useful even on a notebook with SSD.
- puzzlingcaptcha 10y agoFWIW I've been using it for the past year for a root filesystem of a Debian NAS running off a USB stick and I didn't have any problems.
- pmontra 10y agoThabks. I was about to ask if Incould replace ext4 with f2fs on the SSD of my Ubuntu laptop. Fsyncs are still at the mercy of the SSD firmware AFAIK. I found this https://ubuntuforums.org/showthread.php?t=2326934 https://ubuntuforums.org/showthread.php?t=2326934 I'm going to study it. Any other first hand experience here on HN?
- peterwwillis 10y agoIt's been around since 2012, one of many Flash-specific filesystems. And sure, it can be helpful for flash disks, as other filesystems can too. But in some benchmarks f2fs performs worse than ext4, and in others shows it is not syncing to disk as often as it should be, putting data unnecessarily at risk. Oh, and the fsck program used to crash on any filesystem errors (hopefully they've fixed that by now (edit: they appear to have fixed it in March)) The performance boost in this case is mainly due to the nobarrier option, which is potentially dangerous unless you have something like a battery-backed RAID controller to act as a persistent disk cache. If you back up all your stuff, could be nice. (A similar hack I used to use to eliminate iops-related slowdown was to implement a tmpfs mount for small files that got written a lot, and just rsync them once a minute to disk) One of the benefits of f2fs is that you can select the allocation and cleaning algorithms that it uses based on the flash chip in use, so before using it on your system, you might want to tune it to your application. https://www.kernel.org/doc/Documentation/filesystems/f2fs.txt https://www.kernel.org/doc/Documentation/filesystems/f2fs.tx...