LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Filesystem for SSD disk: BTRFS vs NILFS2 vs EXT4 (http://www.linuxquestions.org/questions/linux-general-1/filesystem-for-ssd-disk-btrfs-vs-nilfs2-vs-ext4-819240/)

ruppertus 07-11-2010 01:16 PM

Filesystem for SSD disk: BTRFS vs NILFS2 vs EXT4
 
Hi,

I've just bought a new SSD hard drive:
Kingston SSDNow V-Series SNV125-S2/128GB 2.5'' 128GB SATA/300

The question is which filesystem whould you recommand and why?
BTRFS vs NILFS2 or EXT4?
If you choose ext4 would you enable jurnalling?
I'm very close to choose Btrfs.
Any experience with running any of these on your SSD?

Regards
Robert

troop 07-11-2010 04:04 PM

BTRFS supports an SSD optimized mode (-o ssd mount option). I think BTRFS is best for SSD.
NILFS2 is Log-Structured File System
Quote:

If you choose ext4 would you enable jurnalling?
I wouldn't choose ext4.

ruppertus 07-11-2010 04:34 PM

Quote:

Originally Posted by troop (Post 4030153)
BTRFS supports an SSD optimized mode (-o ssd mount option). I think BTRFS is best for SSD.
NILFS2 is Log-Structured File System

I wouldn't choose ext4.

Some people says that ext2 is even better for SSD than ext4 but I agree that ext isn't a good filesystem for SSD.

I'm trying to visit
http://btrfs.wiki.kernel.org/
to get to know some more info about btrfs. Does anyone know what's happened with that site?

Regards

troop 07-11-2010 11:14 PM

Quote:

Originally Posted by ruppertus (Post 4030179)
Some people says that ext2 is even better for SSD than ext4 but I agree that ext isn't a good filesystem for SSD.

Ext4 without journal performs better then ext2.

Quote:

Originally Posted by ruppertus (Post 4030179)
I'm trying to visit
http://btrfs.wiki.kernel.org/
to get to know some more info about btrfs. Does anyone know what's happened with that site?

works for me.

by the way testing Out The SSD Mode In Btrfs.

syg00 07-11-2010 11:22 PM

The wiki can be slow on occasions.
btrfs as a "normal" filesystem seem stable enough - but you'd better be really current on kernel level. But it's not finished; last I looked (about 10 days ago) fsck still didn't work, and the RAID10 recovery is broken (normal disks, not SSD).
I use btrfs on test machines - when I'm happy some of the wrinkles are ironed out I'll look to move it onto other machines.

geekalpha 02-08-2011 12:56 AM

Are these results now irrelevant?
 
I read this thread after wondering which FS to use on my Intel X-25m and thought about going EXT4 after reading the the website that I'll post below (the forum won't let my first post include a website!)

---------- Post added 02-08-11 at 06:56 AM ----------

http://www.phoronix.com/scan.php?pag..._zfs_ssd&num=1

dimaqq 02-14-2011 05:53 PM

I'm quite interested in this too.

My primary concern though is not performance, but how long would flash last given the same workload, which is mostly sqlite atm.
I'm planning to run these on nbd to see the io patterns:
  • ext4 without journal with stride and stipe size equal to flash erase block size
  • btrfs with ssd_spread without treelog (?)
  • logfs
  • nilfs

Would be nice to hear an educated comment in this thread, or if not I guess I have to as on the mailing list.

silvyus_06 02-14-2011 06:33 PM

Quote:

Originally Posted by ruppertus (Post 4030179)
Some people says that ext2 is even better for SSD than ext4 but I agree that ext isn't a good filesystem for SSD.

I'm trying to visit
http://btrfs.wiki.kernel.org/
to get to know some more info about btrfs. Does anyone know what's happened with that site?

Regards

if you use google try google cache.
there;s also a firefox addon called ressurect that(this?) page.
that happened to me also.

Euph0ria 04-18-2012 11:10 PM

Bump!
 
Quote:

I'm quite interested in this too.

My primary concern though is not performance, but how long would flash last given the same workload, which is mostly sqlite atm.
I'm planning to run these on nbd to see the io patterns:
ext4 without journal with stride and stipe size equal to flash erase block size
btrfs with ssd_spread without treelog (?)
logfs
nilfs

Would be nice to hear an educated comment in this thread, or if not I guess I have to as on the mailing list.
I'd be quite interested your findings on this topic since this thread went cold. Or links to any other discussions with good info on the matter. Thanks!

TommyC7 04-18-2012 11:25 PM

Well, even though this thread is a bit dated might I suggest mounting /tmp to your RAM disk? I believe flash videos (while open) are placed somewhere in /tmp. If you have spare RAM to mount it in, you can use that.

jefro 04-19-2012 12:19 AM

http://www.phoronix.com/scan.php?pag...2_nilfs2&num=1


All times are GMT -5. The time now is 06:55 PM.