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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-06-2006, 07:13 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2006
Location: England
Distribution: Gentoo, RedHat, FreeBSD, OpenBSD
Posts: 6
Rep:
|
EXT3 parameters
need to make a fileystem for a cache used by our backup system. This cache will simply be 2 files of 2GB each.
My question is about the mkfs.ext3 parameters. I am assuming I need
1 - small number of inodes
2 - large block size
3 - large number of bytes per inode
Im thinking something along the lines of:
mkfs.ext3 -n -b 4096 -T largefile4 /dev/sda10 -v - block size of 4096 (max for ext3?) and 1 inode per 4MB (max for ext3?)
mke2fs 1.32 (09-Nov-2002)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1472 inodes, 1502069 blocks
75103 blocks (5.00%) reserved for the super user
First data block=0
46 block groups
32768 blocks per group, 32768 fragments per group
32 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736
Anybody have anything to say on this im not a filesystem expert? Also what to do about journaling? Can it be tuned to have as little overhead on the perfomance as possible?
The end result just needs to be the best performance possible writing (when backing up) and reading (when restoring) for the 2GB files. Journaling is not important as far as recovering data goes as they can just be re-created if there is a problem they do not contain any static data.
Thanks
|
|
|
|
12-07-2006, 09:07 AM
|
#2
|
|
Senior Member
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,006
Rep: 
|
Hi
I'd use ext2 for that - it's a lot faster than ext3. Sorry, I'm no expert either - I think the default values for mkfs.ext2 would probably be fine.
Using the mount option "noatime" speeds reading time up quite a lot in my experience. With the default "atime", every time a file is read, the time is written to disk.
Some programs also put a lot of files in one directory. With some thousand files in a directory, it tends to slow down to a crawl. If that is the case, use ReiserFS instead, it doesn't slow down like ext2/3 does.
|
|
|
|
| Thread Tools |
Search 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
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:16 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|