Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
reiserfs or ext3? (1mil files)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
Leachim
n00b
n00b


Joined: 25 Feb 2007
Posts: 66

PostPosted: Sat Aug 16, 2008 9:04 am    Post subject: reiserfs or ext3? (1mil files) Reply with quote

Hello,

I have one server, where is 50-60gb of pictures(1mil pictures).

Which type wil be better? reiserfs or ext3 or other?

Traffic is +-30mb/s

Ty.
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sat Aug 16, 2008 9:43 am    Post subject: Re: reiserfs or ext3? (1mil files) Reply with quote

Leachim wrote:
Hello,

I have one server, where is 50-60gb of pictures(1mil pictures).

Which type wil be better? reiserfs or ext3 or other?

Traffic is +-30mb/s

Ty.


Either will work. However, the cpu usage with ext3 should be way lower, overall if you don't disable the tail packing in reiserfs.. Also, reiserfs might not be a good option if the images will be read and written lots of times, because it will fragment badly. If they are going to be read-only then that shouldn't be a problem.

On big directory schemes tuning your ext3 fs with -O dir_index might help. I'd also study the different journal models, maybe one or another is more adequate to your workload. It depends on the degree of safety that you need, and your backup policies.
Back to top
View user's profile Send private message
Leachim
n00b
n00b


Joined: 25 Feb 2007
Posts: 66

PostPosted: Sat Aug 16, 2008 9:48 am    Post subject: Reply with quote

Ty for info...

And is there a better way then ext3 or reiserfs?
Back to top
View user's profile Send private message
manaka
Apprentice
Apprentice


Joined: 23 Jul 2007
Posts: 178
Location: Spain

PostPosted: Mon Aug 18, 2008 8:03 am    Post subject: Reply with quote

For large video files, XFS is said to outperform both ext3 and reiserfs. But for small files, ext3 would be OK.

Anyway, as i92guboj suggested, testing for your particular workload would be the definitive answer.
_________________
Javier Miqueleiz

"Listen to your heart. It knows all things, because it came from the Soul of the World, and it will one day return there."
Back to top
View user's profile Send private message
Akkara
Bodhisattva
Bodhisattva


Joined: 28 Mar 2006
Posts: 6702
Location: &akkara

PostPosted: Mon Aug 18, 2008 11:31 am    Post subject: Reply with quote

Xfs has an advantage that it comes with its own de-fragmenter, xfs_fsr. With so many files this could help reduce seeking, although, picture files aren't usually that large so I don't know how much of an effect it'll have.

But watch out for kernel bugs. I don't remember exactly which ones - I think one of the .18 kernels, and one of the .22's or .23's might have had a corruption bug. Most are safe, tho. I've been using xfs without loss several years now. As usual, keep backups to be sure.
Back to top
View user's profile Send private message
energyman76b
Advocate
Advocate


Joined: 26 Mar 2003
Posts: 2048
Location: Germany

PostPosted: Tue Aug 19, 2008 7:05 am    Post subject: Reply with quote

http://marc.info/?l=reiserfs-devel&m=121484256609183&w=2

you probably want reiserfs.
_________________
Study finds stunning lack of racial, gender, and economic diversity among middle-class white males

I identify as a dirty penismensch.
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
Page 1 of 1

 
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