Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
The Filesystem choice thread - Part 2
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
pigeon768
l33t
l33t


Joined: 02 Jan 2006
Posts: 683

PostPosted: Thu May 28, 2009 4:21 pm    Post subject: Reply with quote

DigitalCorpus wrote:
I currently have an odd setup where I server some very large files, i.e. 3GB and up, and down to regular tiny ones under 512KiB or even regularly under 4KiB. I use XFS because it has provided the best performance for the above giant files, but it's latency when doing seeking operations kills small file performance. I need some suggestions. I'm not sure what to benchmark to test Ext4, btrfs, Reiser4, ext3 and XFS.
The reason XFS is considered best for large files is because it has the combination of extents, delayed allocation, and an online defrag - the net result is noticeably reduced fragmentation. Ext4, reiser4, and btrfs all have extents, and ext4 and reiser4 have delayed allocation. btrfs and ext4 are scheduled to get an online defrag, but afaik they're not ready yet.

Basically, if you're concerned about latency issues in xfs and using reiser4 or ext4 is an option for you, by all means use one of them.
Back to top
View user's profile Send private message
DigitalCorpus
Apprentice
Apprentice


Joined: 30 Jul 2007
Posts: 283

PostPosted: Thu May 28, 2009 9:00 pm    Post subject: Reply with quote

I'm using kernel 2.6.28 patched with Reiser4. I've had two crashes in 2.6.29 so I never made the jump with it on my server. I'm considering waiting until 2.6.30 becomes stable due to revisions in Ext4 and Btrfs and CFQ. I remember reading that Reiser4 will go mainline in late summer too but that will probably be 2.6.31.

I'm at a technical limitation due to the fact that I have nearly 1.4TB of data that I need a place to store it on. I have 2x1.5TB drives, a 1TB drive and a 500GiB partition on my boot drive. I haven't moved to LVM because I haven't committed to a filesystem to use. I'm not sure if I should commit and on just two of my drives and then shuffle everything over when 2.6.30 becomes stable or just wing it on regular partitions/disks until it goes stable.

Aside from bonnie++, are there any other benchmark programs that can give me latency readings?
_________________
Atlas (HDTV PVR, HTTP & Media server)
http://mobrienphotography.com/
Back to top
View user's profile Send private message
ferrelas
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2008
Posts: 109

PostPosted: Sun Jun 07, 2009 7:30 pm    Post subject: Probelms with journaled file systems and software raid? Reply with quote

I've built a software RAID array and I'll be doing it again in the future, but I have one question tho. I read a thread about sw RAID not getting along with ext3, so I formatted the array with xfs. Is the problem still there or is it solved? And what about ext4 btrfs and nilfs?
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Mon Jun 08, 2009 8:48 am    Post subject: Reply with quote

which thread ?
i´ve been using sw raid and ext3 (and xfs too) for years now and had no troubles at all.

cheers
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1118
Location: Rep. of Ireland

PostPosted: Mon Jun 08, 2009 9:51 am    Post subject: Re: Probelms with journaled file systems and software raid? Reply with quote

ferrelas wrote:
I've built a software RAID array and I'll be doing it again in the future, but I have one question tho. I read a thread about sw RAID not getting along with ext3, so I formatted the array with xfs. Is the problem still there or is it solved? And what about ext4 btrfs and nilfs?

ext3's problems with md are chunk related, other filesystems like reiserfs and xfs autostride correctly. This doesn't effect reliability, only performance.
_________________
juniper wrote:
you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault.
Back to top
View user's profile Send private message
ferrelas
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2008
Posts: 109

PostPosted: Mon Jun 08, 2009 11:34 pm    Post subject: Reply with quote

Are the performance issues there in ext4 as well?

I first found out about this from a warning on the gentoo wiki article on software raid and it linked to this thread.

While on the topic of raid, can you add disks to an array (raid5) that's formated and has data on the file systems?
Back to top
View user's profile Send private message
aidanjt
Veteran
Veteran


Joined: 20 Feb 2005
Posts: 1118
Location: Rep. of Ireland

PostPosted: Thu Jun 11, 2009 1:36 am    Post subject: Reply with quote

ferrelas wrote:
Are the performance issues there in ext4 as well?

Shouldn't be, one of the key improvements ext4 make over ext3 is it's more dynamic nature. But it's rather unproven (in fact, it's started off with a bad track record) on the reliability front.

ferrelas wrote:
While on the topic of raid, can you add disks to an array (raid5) that's formated and has data on the file systems?

Yup, "mdadm --add /dev/mddevice /dev/sdXn && mdadm --grow --raid-devices=new_num_of_devices && resize_helperforyourfilesystem /dev/mddevice" will usually do it. Where sdXn is the partition you want to add to your mdraid5 device. The same applies to enlarging mdraid1 devices.
_________________
juniper wrote:
you experience political reality dilation when travelling at american political speeds. it's in einstein's formulas. it's not their fault.
Back to top
View user's profile Send private message
Captain Newbie
Apprentice
Apprentice


Joined: 22 Dec 2006
Posts: 182
Location: Socal

PostPosted: Thu Jun 11, 2009 2:16 am    Post subject: Re: Probelms with journaled file systems and software raid? Reply with quote

AidanJT wrote:
ferrelas wrote:
I've built a software RAID array and I'll be doing it again in the future, but I have one question tho. I read a thread about sw RAID not getting along with ext3, so I formatted the array with xfs. Is the problem still there or is it solved? And what about ext4 btrfs and nilfs?

ext3's problems with md are chunk related, other filesystems like reiserfs and xfs autostride correctly. This doesn't effect reliability, only performance.

ext3...and all filesystems...have generic performance problems on x86-64, although said issues are ostensibly rectified in 2.6.30.

(2.6.30-rc7 here. Not yet, although I haven't pulled the release proper.)
_________________
/* Nobody will ever see this message :-) */
panic("Cannot initialize video hardware\n");
"As much as it pains me, we hope that developers know what they're doing." - wolf31o2
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Fri Jun 12, 2009 8:49 am    Post subject: Reply with quote

Merged the six preceding posts.
Back to top
View user's profile Send private message
keola
n00b
n00b


Joined: 22 Feb 2005
Posts: 53

PostPosted: Sat Jun 13, 2009 1:02 am    Post subject: File System advice Reply with quote

Hey... I'm not going to bore you all with how I ended up with a 1tb NTFS partition, but I have 800gb of data on it. I think between cleaning and all my other hd's I can back it up temporarily...

The system is a PowerEdge 2850 (Dual Xeon 3ghz, 4gb ram 6x300gb u320 scsi) - The 1tb part is a raid5 and this is where I store all of my important stuff. I currently use ntfs3g and it works great, well better than a virtual xp machine sharing the drive via cifs!

Since ntfs3g is a usermode driver, I know I will get better performance with ext3 or another native file system. I have kept this as NTFS because it is easy to undelete stuff from it - this does not happen that often anymore though. The partition is constantly used to access HD video and hi-res pictures and cd images with about 2 clients average. Performance is ok I guess.

I would like to ask if this was your setup, would you stick with ntfs3g or would you convert it and if so, what filesystem would you use? This machine also has a hefty ups unit and does shutdown when things get critical.

Thanks!
Back to top
View user's profile Send private message
drwook
Veteran
Veteran


Joined: 30 Mar 2005
Posts: 1324
Location: London

PostPosted: Sat Jun 13, 2009 6:58 am    Post subject: Reply with quote

I'd consider XFS personally. But TBH if it ain't broke and there are no complaints I might be inclined to save the move for hardware refresh - how long are you going to have that box around?

Assuming an alternative redundant box with enough storage (or a SAN) hanging around is an over-optimistic thought....
Back to top
View user's profile Send private message
keola
n00b
n00b


Joined: 22 Feb 2005
Posts: 53

PostPosted: Sat Jun 13, 2009 6:33 pm    Post subject: Reply with quote

Well I am moving the data off the drive now. I plan to keep this box as my gentoo server until it dies lol.. it's about 5 years old already but it has only had a good three years of use. It's a dell PE2850 btw. So it should work as my router / firewall / web server for many years.

Once my unemployment streak ends, I plan to get an single 1tb external to do nightly backups on.

You are the first to mention xfs - I see a lot of buzz about it in #gentoo. I was going to go with ext3 just because we know it is solid, but I will look into xfs while I am waiting for my data to copy over.

Thanks!
Back to top
View user's profile Send private message
Sysa
Apprentice
Apprentice


Joined: 16 Mar 2005
Posts: 161
Location: Europe

PostPosted: Sat Jun 13, 2009 7:03 pm    Post subject: Reply with quote

keola wrote:
Well I am moving the data off the drive now. I plan to keep this box as my gentoo server until it dies lol.. it's about 5 years old already but it has only had a good three years of use. It's a dell PE2850 btw. So it should work as my router / firewall / web server for many years.

Once my unemployment streak ends, I plan to get an single 1tb external to do nightly backups on.

You are the first to mention xfs - I see a lot of buzz about it in #gentoo. I was going to go with ext3 just because we know it is solid, but I will look into xfs while I am waiting for my data to copy over.

Thanks!


I suggest you to evaluate the ReiserFS (v3!). The ext3 has near the same features but also a very unpleasant one - after unclean reboot and sometimes after clean reboots it starts fsck and it can take very long time for 1TB! ;)
_________________
RedHat -> SuSE -> Debian -> Gentoo
Back to top
View user's profile Send private message
keola
n00b
n00b


Joined: 22 Feb 2005
Posts: 53

PostPosted: Sat Jun 13, 2009 8:38 pm    Post subject: Reply with quote

I have had horrible experiences with reiserfs (v3) never used v4 for this reason. I did a lot of google and decided to go with xfs, it looks best for my applications. For some reason I thought XFS was new - but then I remember seeing it in the kernel for quite a while now. I still have a few hours, many hours it looks before I get the data off. So until then, I am still open to comments and suggestions.

Thanks!
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Sat Jun 13, 2009 8:45 pm    Post subject: Reply with quote

If you go with XFS, make sure you defrag regularly. I use XFS on my media drive on my MythTV box and it fragments as bad as any Windows filesystem.

Defragging is easily handled, though. Just make it a cron job. The volume doesn't even need to be umounted.
_________________
--Aaron
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Sun Jun 14, 2009 6:59 am    Post subject: Reply with quote

Merged the six preceding posts.
Back to top
View user's profile Send private message
Sysa
Apprentice
Apprentice


Joined: 16 Mar 2005
Posts: 161
Location: Europe

PostPosted: Sun Jun 14, 2009 8:51 am    Post subject: Reply with quote

keola wrote:
I have had horrible experiences with reiserfs (v3) never used v4 for this reason. I did a lot of google and decided to go with xfs, it looks best for my applications. For some reason I thought XFS was new - but then I remember seeing it in the kernel for quite a while now. I still have a few hours, many hours it looks before I get the data off. So until then, I am still open to comments and suggestions.

Thanks!


The only rule is mandatory (IMHO) - NEVER use ReiserFS as a root FS!
Usually I have a small (256Mb) root FS (ext3) built on RAID1 and mount other (mainly ReiserFS) based on LVM with or without RAIDs as necessary (/usr, /var, /home, /opt, /tmp etc). Sometimes I'm using specific FS for some directories (e.g. tmpfs for /tmp).
_________________
RedHat -> SuSE -> Debian -> Gentoo
Back to top
View user's profile Send private message
tnt
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1222

PostPosted: Wed Dec 02, 2009 5:32 pm    Post subject: Reply with quote

I've started a new thread, but it was marked as duplicate of this one, so...
https://forums.gentoo.org/viewtopic.php?p=6080670#6080670

Quote:
I'm going to make slow network storage powered by gentoo.
it will be made of SATA disks in linux software RAID5 or 6.
it will be accessed through couple of linux software iSCSI targets and NFS servers hosted on multiple 1Gbps NICs.
guess that single storage partiton would be about 10TB large.

and, here I have a question: which filesystem to use?

ability to grow filesystem after expanding RAID would be a must.
ability to shrink filesystem would be nice, but not mandatory.

performance are welcome, but reliability is more important.

any advice about filesystem?

any advice about anything else? :)


there were two replies by users:

djdunn wrote:
if you want reliability id go ext3, its very mature and stable.


Kollin wrote:
xfs is expandable but not shrinkable, and you should use xfs ONLY if you have very, VERY reliable UPS !!!
lvm ?
Currently I'm using reiser4 on my raid10 (lost data few times with xfs - power outage and my ups did not come on line fast enough) :wink:


and one by me:

Quote:
I have APC SmartUPS SUA750I and had no problems so far using XFS, but it was not RAID and it was not so big partition.

ext3 is the most mature and stable.

how about ext4?
it's quite new, but considering it's in stable kernel tree now, guess it will stabilize quite fast...

I would skip reiser4 because I don't need such a level of performance and I would like something more supported/tested.

I would skip reiserfs because I've read it doesn't scale too well with parallel request/processing/disk access.

about LVM, I don't know what could I get from it. I have RAID5/6 expansion with linux kernel RAID and I don't need snapshoting.
any other adventage of LVM?



so, just ignore this LVM-related part and give your oppinions about filesystem... ;)
_________________
gentoo user
Back to top
View user's profile Send private message
Colt45
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2007
Posts: 122
Location: Central Washington

PostPosted: Tue Dec 15, 2009 11:43 am    Post subject: Reply with quote

I have a 10GB HD Im going to add to my home server for caching proxy storage. What would be the best FS for this? Obviously a lot of random reads/writes and data reliability is not too important. Also, Im running CFQ I/O scheduler, would deadline or anticipatory be better?
Back to top
View user's profile Send private message
regomodo
Guru
Guru


Joined: 25 Mar 2008
Posts: 445

PostPosted: Tue Dec 15, 2009 12:42 pm    Post subject: Reply with quote

Colt45 wrote:
I have a 10GB HD Im going to add to my home server for caching proxy storage. What would be the best FS for this? Obviously a lot of random reads/writes and data reliability is not too important. Also, Im running CFQ I/O scheduler, would deadline or anticipatory be better?


Are you talking about squid? My server is very underpowered so I went with jfs for my squid cache partition. Previously it was ext4. Honestly, if there's a difference I can't see it. I switched to jfs because of it's lower CPU utilisation.
Back to top
View user's profile Send private message
myceliv
Apprentice
Apprentice


Joined: 29 Nov 2007
Posts: 178

PostPosted: Tue Dec 15, 2009 6:40 pm    Post subject: Reply with quote

Still hard to beat for so many purposes... is good old not so sexy ext3. (link is some recent Phoronix benchmarks)
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Tue Dec 15, 2009 8:36 pm    Post subject: Reply with quote

myceliv wrote:
Still hard to beat for so many purposes... is good old not so sexy ext3. (link is some recent Phoronix benchmarks)


didn't you read in the comments section ? the results seem to be flawed - in favor of ext3
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
Colt45
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2007
Posts: 122
Location: Central Washington

PostPosted: Tue Dec 15, 2009 9:30 pm    Post subject: Reply with quote

regomodo wrote:
Colt45 wrote:
I have a 10GB HD Im going to add to my home server for caching proxy storage. What would be the best FS for this? Obviously a lot of random reads/writes and data reliability is not too important. Also, Im running CFQ I/O scheduler, would deadline or anticipatory be better?


Are you talking about squid? My server is very underpowered so I went with jfs for my squid cache partition. Previously it was ext4. Honestly, if there's a difference I can't see it. I switched to jfs because of it's lower CPU utilisation.

Yes, squid. Lower cpu utilization is a good idea. Ill keep that in mind.
Back to top
View user's profile Send private message
lord_sesshomaru
n00b
n00b


Joined: 19 Sep 2007
Posts: 3
Location: Prague

PostPosted: Sun Jun 27, 2010 8:33 pm    Post subject: Filesystem for data archiving Reply with quote

Hi,
I have a new 1,5 TB extrernal hard drive and I am not sure what fs to put on it. Any ideas?

The disk is mainly for archiving - putting a lot of files there (typically with sizes from hundreds megabytes to several gigabytes), and reading them from time to time. Intensive usage or many parallel access are not planned. I don't see usage for any fancy features in this setup so even basic filesystem could do the work. My concerns are about overhead - I don't want to spend my precious disk space on fs datastructures.

What is good fs for this use case? Does anybody know of some benchmarks how much space does different fs take?
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Sun Jun 27, 2010 8:37 pm    Post subject: Reply with quote

Well, I know that there's a lot of people here that use this :

ext3,ext4 and reiserfs4.

If you want to be safe, you can go with ext3, it's an old fs that proved to be good.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 6 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum