LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-24-2008, 10:10 PM   #1
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Rep: Reputation: 30
Question ext3 performance -- very large number of files, large filesystems, etc.


Hello all,

I have a decent sized NFS cluster (18 TB) on RHEL5. It is spread out with 1-4 TB volumes of ext3 on top of LVM. I am seeing questionable performance. It is a backup application that uses the disks so it is 75% write. Each file system has a lot of files (>15,000,000). All that being said, I am curious how to further tune this system. The volumes were created and mounted with default options.

My first plan is to mount them with data=writeback. Any other ideas?
 
Old 11-25-2008, 12:31 AM   #2
thedonkdonk
Member
 
Registered: Oct 2005
Location: San Jose, CA
Distribution: Fedora, RHEL, CentOS
Posts: 136

Rep: Reputation: 16
you might try reducing the inode size.
 
Old 11-25-2008, 08:40 AM   #3
PEdroArthur_JEdi
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware | Debian
Posts: 17

Rep: Reputation: 1
Quote:
Originally Posted by td3201 View Post
Any other ideas?
http://linuxgazette.net/122/TWDT.html#piszcz

See the above link about a benchmark on filesystems. Maybe your answer is there!
 
Old 11-25-2008, 08:47 AM   #4
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Original Poster
Rep: Reputation: 30
Ya, that shows that ext3 performance sucks when created out of the box with no modifications. I've established that.
 
Old 11-25-2008, 09:09 AM   #5
td3201
Member
 
Registered: Jan 2002
Location: Omaha, NE US
Distribution: Red Hat/CentOS
Posts: 226

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by thedonkdonk View Post
you might try reducing the inode size.
It's currently set to 128 (default). There is no way to reduce the inode size on a live volume, no?
 
Old 11-25-2008, 09:28 AM   #6
PEdroArthur_JEdi
LQ Newbie
 
Registered: Jan 2008
Distribution: Slackware | Debian
Posts: 17

Rep: Reputation: 1
Quote:
Originally Posted by td3201 View Post
Ya, that shows that ext3 performance sucks when created out of the box with no modifications. I've established that.
I think the most important in the link I point you is try to figure out which is the most frequent operation in your server. If files are created all the time, then ext3 will suck. It's file permission and mactime mechanism is too overhead. You may read an official discussion about this topic at http://kerneltrap.org/node/14148 . But, if the files are just being updated (like if you have a large set of already created files), mounting the filesystem as relatime will handle ok.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Renaming large number of files. checkmate3001 Linux - General 16 06-20-2009 11:16 AM
Performance of ext3 file system with large files staham Red Hat 2 03-26-2007 07:06 AM
LXer: Ext3 for large filesystems and Time for ext4? LXer Syndicated Linux News 0 06-24-2006 06:21 AM
Deleting a large number of files msteudel Linux - General 4 01-26-2005 01:36 AM
Large Number of files? mikeshn Linux - Security 2 01-10-2004 06:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration