Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In terms of speed, which filesystem would be the best? I would imagine ext4 and XFS would be sufficient, but how about btrfs? Is there any filesystem somewhat designed to be better for SSDS?
ButterFS with ssd and discard mount options. F2FS might be good too, never tested it
I didnt know btrfs was butterfs and thought you were joking at first lol. Yeah I looked at some benchmarks of F2FS and it seems to be performing the fastest http://www.phoronix.com/scan.php?pag...x-40-ssd&num=3 only other thing I need to lookup is if its stable. I think I am leaning toward F2FS at the momemnt. Apprently F2FS is designed more for SD cards...so probably to replace ext4 on android devices. Hmm, maybe I will look at btrfs instead.
First off, what's the interface to your SSD? Unless it's PCIe, you'll never notice a difference. Even with PCIe you'll probably never notice a difference. FWIW I get 1.5 GB/s writes and 1.3 GB/s reads on my PCIe x4 SSD in my laptop formatted as ext4.
First off, what's the interface to your SSD? Unless it's PCIe, you'll never notice a difference. Even with PCIe you'll probably never notice a difference. FWIW I get 1.5 GB/s writes and 1.3 GB/s reads on my PCIe x4 SSD in my laptop formatted as ext4.
Why use EXT4 if you're going to disable journaling, why not just use EXT3? I agree with things like noatime but, then, I set that on my spinning rust also as atime is of no use to me.
First off, what's the interface to your SSD? Unless it's PCIe, you'll never notice a difference. Even with PCIe you'll probably never notice a difference. FWIW I get 1.5 GB/s writes and 1.3 GB/s reads on my PCIe x4 SSD in my laptop formatted as ext4.
Outside of speed, would F2FS be a better choice than ext4?
I've been looking into it but there isn't a lot of information about it, like whether it has journaling or whether I need to enable anything special, I guess I don't since it is designed for this stuff?
Why use EXT4 if you're going to disable journaling, why not just use EXT3? I agree with things like noatime but, then, I set that on my spinning rust also as atime is of no use to me.
I think you meant ext2; ext3 fs does have journaling too and, more important, is no more developed (in a near future will be dropped away). You don't need to disable journaling, but you must know that it means a lot of writes on the disk. While trim is a must-have, no journal is an option.
Quote:
Originally Posted by Altiris
I've been looking into it but there isn't a lot of information about it, like whether it has journaling or whether I need to enable anything special, I guess I don't since it is designed for this stuff?
Never tried f2fs, I once followed that wiki for an ext4 partition; I think f2fs would be more ready-to-use.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
Quote:
Originally Posted by gengisdave
I think you meant ext2; ext3 fs does have journaling too and, more important, is no more developed (in a near future will be dropped away). You don't need to disable journaling, but you must know that it means a lot of writes on the disk. While trim is a must-have, no journal is an option
I meant EXT3 and turn off journaling since EXT3 ought to be supported longer...
Sorry I was being cheeky and suggesting that part of the reason for using EXT4 in the first place is that the journaling helps recovery from unclean shutdown. OK, so it has things like extents but, surely, journaling is one of the things improved in EXT3 over EXT3?
As I said above, my ext4 PCIe SSD in my laptop gets 1.5 GB/s writes (GB, not Gb). SATA-III tops out around 550 MB/s regardless of the drive or the filesystem used.
Ext4 is fine, you have to turn off some features (like journaling) to reduce writes on the disk
That is bad advice...it's one of those crappy suggestions that became prominent in the chaos of FUD that surrounded SSDs and write limits when they were very first introduced.
The SSD write limit is a non-issue in all but the most extreme of corner cases, with or without journaling. Under normal circumstances, literally every other piece of hardware in the computer would die before you hit the SSD's write limit. Would you rather replace your drive in 30 years due to the write limit (vs say 32 years without journaling), or have to deal with a block of corrupt files every time you have an unclean shutdown?
Last edited by suicidaleggroll; 08-14-2015 at 04:00 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.