Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-17-2007, 02:21 AM   #1
Ceiling cat is watching!
 
mojo's Avatar
 
Join Date: Feb 2006
Location: Iowa
Posts: 1,283
Best filesystem for large files

Hey rhysox, (and anyone else with a knowledgeable opinion) after reading your 16 posts, I've come to immediately respect you. Any recommendations on the file system for my linux box? I have about 1.8 TB of space there across 7 different drives. It's an AthlonXP 2500+ Barton core with 768 MB of DDR 400. Although it's a full install of slackware 10.2, most of it's life it's just a really nice NAS. The files I'm storing are all quite large, ranging in size from 500 MB to multiple GB. I connect to it over jumbo frame (9k) gigabit. I've been just using EXT3 for everything, but I keep thinking it might be better to go with maybe reiser or XFS. Performance is pretty important to me, but data integrity and file system recoverability is also very important and why I've been so leery of the newer filesystems in the past.
__________________
~Matt
CCNA
mojo is offline   Reply With Quote
Old 04-17-2007, 08:42 AM   #2
Member (7 bit)
 
Join Date: Mar 2007
Location: Cardiff, UK
Posts: 73
Send a message via MSN to rhysox
Hi mojo, thanks for your respect! Appreciate it, only here to help! =)

ext filesystems are usually the norm for the everyday person, however if you're using that much disk space and require performance, you might want to look at reiserfs. Reiserfs takes up a LOT less disk space due to the block sizes, and you will notice significant speed/performance increases as well as faster searches.

I personally still use ext3, it's very stable, not saying that reiserfs isn't, I just have never had the need for more performance.

Hmm, such a hard thing to give advice about really, it usually comes down to personal preference, I would probably stick to ext3 unless its causing you a problem. Or maybe use different file systems on different partitions/disks? Say for example you wanted performance on a storage disk, use reiserfs/xfs on it, but keep things like the main OS libs/bin on an ext3 drive. Not too sure to be honest, let me know what you think of this.

-rhys
rhysox is offline   Reply With Quote
Old 04-17-2007, 04:52 PM   #3
Ceiling cat is watching!
 
mojo's Avatar
 
Join Date: Feb 2006
Location: Iowa
Posts: 1,283
Yeah, every time I think about switching I'm disuaded by the proven stability of ext3. It's not really giving me any problems, I just feel like the "cool kids" are all using one of the newer filesystems.
mojo is offline   Reply With Quote
Old 04-17-2007, 06:15 PM   #4
Member (7 bit)
 
Join Date: Mar 2007
Location: Cardiff, UK
Posts: 73
Send a message via MSN to rhysox
"cool kids" haha, how long you been a linux user?
rhysox is offline   Reply With Quote
Old 04-17-2007, 08:00 PM   #5
Ceiling cat is watching!
 
mojo's Avatar
 
Join Date: Feb 2006
Location: Iowa
Posts: 1,283
About 3 years now I guess. I started out with Mandrake but it was too limited and I wanted to actually know what was going on, so I moved to slackware and have been pretty happy with that. It's a nice middle ground between Ubuntu and Gentoo.
mojo is offline   Reply With Quote
Old 04-18-2007, 12:24 AM   #6
Member (11 bit)
 
Join Date: Apr 2003
Posts: 1,505
I would stay away from reiserfs for TB size partitions. Reiserfs has many advantages, but one big disadvantage is it takes forever to mount TB size reiserfs partitions; we're talking several minutes here. See this discussion for more info:

http://kerneltrap.org/node/6089

If you don't boot up a lot or mount and umount the large partition often this wouldn't be that big an issue. But if you do it's a real pain.

XFS is suppose to be superior for large files, better than reiserfs and ext3, at least that's its claim to fame. However, there are a lot of reports of XFS getting easily corrupted to the point of losing all data, particularly on hard shutdowns. Nonetheless, XFS was developed by SGI for large multimedia files like those used in movie animation and the benchmark articles generally confirm its superiority for dealing with large files.

All that being said, you are not likely to see that significant a speedup to justify the hassle of changing your filesystem from ext3 IMHO.
kilgoretrout is offline   Reply With Quote
Old 04-18-2007, 05:17 PM   #7
Ceiling cat is watching!
 
mojo's Avatar
 
Join Date: Feb 2006
Location: Iowa
Posts: 1,283
Well once again then, it looks like I'll just stick with ext3. Thanks for all your thoughts, I'll be sending each of you a penny for them.
mojo is offline   Reply With Quote
Old 04-18-2007, 05:36 PM   #8
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally Posted by mojo
About 3 years now I guess. I started out with Mandrake but it was too limited and I wanted to actually know what was going on, so I moved to slackware and have been pretty happy with that. It's a nice middle ground between Ubuntu and Gentoo.
That is the path that I took except that I ended up with FreeBSD. I personally would take UFS over Ext any day but that isn't a knock on Ext.
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 04-18-2007, 05:42 PM   #9
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Quote:
Originally Posted by mairving
That is the path that I took except that I ended up with FreeBSD. I personally would take UFS over Ext any day but that isn't a knock on Ext.
Similar story.. got tired of Linux and went back to FreeBSD & NetBSD .. 'cept I'm running UFS2. I've had some unpleasant experiences with ext to ever go back to it.
Statica is offline   Reply With Quote
Old 04-19-2007, 01:33 AM   #10
Ceiling cat is watching!
 
mojo's Avatar
 
Join Date: Feb 2006
Location: Iowa
Posts: 1,283
Grr, issues started happening that I thought I had all sorted, but at least I think i know why it's happening now. Most of my linux box is for storage, but one of the 250 GB drives I use exclusively to record TV on from my homebrew DVR. It has it's own 200 GB drive, and I let it use up to 150 GB on the linux drive through a samba share. Recently files started to become well, scrambled. They will randomly freeze, and if you fast forward or rewind you end up in a completely different spot. This only happens on files that happen to get recorded to the linux box, not the local windows drive for the DVR. I took a look at the files and tried to move them around and they went really slow, leading me to think they are pretty fragmented. So I moved them all to a different directory and copied them back. No more fragmentation and problem solved. Or so I thought.

So tonight it started happening again. I've just now realized that it started happening when I added a 3rd tuner, allowing the recording of 3 shows simultaneously. Since the software I use is pretty smart about balancing data loads, with the 2 tuners in the past any one of the 2 possible data locations was only recording one show at a time, but now my linux box can end up recording 2 shows at the same time, which I'm pretty sure is what is causing the problem.

The recordings take up about 2GB per hour, which works out to about 4.5 megabits/s. I have a gigabit network connecting everything, so I'm pretty sure it's not a network issue.

If I changed the one drive in linux from ext3 to XFS you think it would solve the problem, or should I set up a 3rd data location on another drive? One last thing to think about is that the makers of the DVR software (SageTV) recommend a 64K block size, which I have followed for its local drive, but the max for ext3 is 4k, which I've been using thus far.
mojo is offline   Reply With Quote
Old 04-21-2007, 02:17 AM   #11
Ceiling cat is watching!
 
mojo's Avatar
 
Join Date: Feb 2006
Location: Iowa
Posts: 1,283
Well, I've moved to XFS and it's working absolutely great for me. The drive that couldn't handle 2 simultaneous recordings before handles 3 now with no problem. I used to move files across the network to my linux box at 30 MB/s, now I get 45. I'm liking this filesystem a lot.
mojo is offline   Reply With Quote
Old 04-26-2007, 07:50 PM   #12
Member (7 bit)
 
Join Date: Mar 2007
Location: Cardiff, UK
Posts: 73
Send a message via MSN to rhysox
Glad you like it.

Best way to learn about linux in my honest opinion is to use a distribution like gentoo or try linux from scratch.

You have to get into it to get it to work properly, but the amount you'll learn is amazing.

I love bsd myself, and that's why i really like gentoo, due to the similar portage system. It allows me to combine the functionality of portage with the large userbase & following of linux.
rhysox is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Common file dialog arranges icon by date! WinXP ReBeL Windows Legacy Support (XP and earlier) 4 07-02-2005 04:02 PM
Confused Siberian Bear Distributed Computing 15 06-16-2005 07:42 AM
Unable to rename Files in XP Thebranded Windows Legacy Support (XP and earlier) 5 04-18-2005 08:58 PM
Temporary internet files wont delete. needhelp Windows Legacy Support (XP and earlier) 5 04-16-2005 04:10 PM
Hide files depending on file extensions jotto84 Windows Legacy Support (XP and earlier) 4 11-07-2001 10:02 PM


All times are GMT -5. The time now is 03:37 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0