LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-11-2010, 01:16 PM   #1
ruppertus
Member
 
Registered: Jun 2007
Location: Poland
Distribution: Arch (used to Debian, Ubuntu)
Posts: 43

Rep: Reputation: 15
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
 
Old 07-11-2010, 04:04 PM   #2
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
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.
 
Old 07-11-2010, 04:34 PM   #3
ruppertus
Member
 
Registered: Jun 2007
Location: Poland
Distribution: Arch (used to Debian, Ubuntu)
Posts: 43

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by troop View Post
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
 
Old 07-11-2010, 11:14 PM   #4
troop
Member
 
Registered: Feb 2010
Distribution: gentoo, arch, fedora, freebsd
Posts: 379

Rep: Reputation: 96
Quote:
Originally Posted by ruppertus View Post
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 View Post
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.

Last edited by troop; 07-11-2010 at 11:18 PM.
 
Old 07-11-2010, 11:22 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,271

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
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.
 
Old 02-08-2011, 12:56 AM   #6
geekalpha
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
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
 
Old 02-14-2011, 05:53 PM   #7
dimaqq
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 02-14-2011, 06:33 PM   #8
silvyus_06
Member
 
Registered: Oct 2010
Distribution: Ubuntu 10.04 , Linux Mint Debian Edition , Microsoft Windows 7
Posts: 386

Rep: Reputation: 49
Quote:
Originally Posted by ruppertus View Post
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.
 
Old 04-18-2012, 11:10 PM   #9
Euph0ria
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Lightbulb 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!
 
Old 04-18-2012, 11:25 PM   #10
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 437

Rep: Reputation: Disabled
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.
 
Old 04-19-2012, 12:19 AM   #11
jefro
Guru
 
Registered: Mar 2008
Posts: 11,521

Rep: Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404Reputation: 1404
http://www.phoronix.com/scan.php?pag...2_nilfs2&num=1
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Permanent filesystem corruption on reiserfs, ext3 and ext4 - disk failure? trumpet_tom Linux - Hardware 9 02-11-2010 05:29 AM
LXer: Btrfs Battles EXT4 With The Linux 2.6.33 Kernel LXer Syndicated Linux News 0 01-21-2010 05:31 PM
LXer: EXT4, Btrfs, NILFS2 Performance Benchmarks LXer Syndicated Linux News 0 06-29-2009 02:50 AM
LXer: Testing Out The SSD Mode In Btrfs LXer Syndicated Linux News 0 05-29-2009 08:41 AM
LXer: Ext4 to be standard for Fedora 11, Btrfs also included LXer Syndicated Linux News 0 01-23-2009 01:01 AM


All times are GMT -5. The time now is 10:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration