1 |
Hi all, |
2 |
First of all I'm sorry for not replying to this thread as I |
3 |
was busy with my exams. |
4 |
|
5 |
Anyway thanks for all your replies, I just want to present the |
6 |
my file system requirements in more elaborate way. I'll be using many |
7 |
partitions for different types of files to get maximum performance. As |
8 |
said earlier it's a Home Desktop System. From what I've read I'll be |
9 |
using the following file systems.. |
10 |
|
11 |
/dev/BOOT /boot ext2 noauto,noatime 1 2 |
12 |
|
13 |
No changes to /boot partition I guess.. |
14 |
|
15 |
/dev/ROOT / reiserfs noatime,notail 0 1 |
16 |
|
17 |
Since ROOT partition hold many small files I guess ReiserFS suits it |
18 |
best, but the problem is of fragmentation. Turning notail off solves it? |
19 |
|
20 |
/dev/SWAP none swap sw 0 0 |
21 |
|
22 |
Here's a fstab entry whose options I don't know at all.. Any options that |
23 |
can increase the performance.. I'm having 512MB System RAM and my Swap |
24 |
partition is 2000MB.. I hope RAM to Swap ratio doesn't effect |
25 |
performance (I've read somewhere that SWAP should be twice the amount |
26 |
of RAM, I don't remember where) |
27 |
|
28 |
/dev/PORTAGE /mnt/portage reiserfs noatime,nodev,nosuid,noexec,notail 0 2 |
29 |
|
30 |
This partition will hold the portage tree (lots of small sized files) so |
31 |
again ReiserFS, again the fragmentation issue.. Pointers? |
32 |
|
33 |
/dev/SRC /mnt/src XXX noatime,nodev,nosuid,noexec,xxx 0 2 |
34 |
|
35 |
This partition will hold the downloaded source code of packages.. I've |
36 |
not made any decision as to which FS to use.. This partition will hold |
37 |
files of variable size (100K - 200MB). Which file system to use? And |
38 |
what options to pass? |
39 |
|
40 |
/dev/MUSIC /mnt/music XXX noatime,nodev,nosuid,noexec,xxx 0 2 |
41 |
|
42 |
As name suggest it'll hold all my MP3's/OGG's.. File size averages |
43 |
around 3-5 MB.. File system and options to use.. I'm thinking bout |
44 |
ReiserFS.. Am I right? |
45 |
|
46 |
/dev/VIDEO /mnt/video xfs noatime,nodev,nosuid,noexec,xxx 0 2 |
47 |
|
48 |
File size of videos varies form 50 - 800 MB.. XFS, as I've read offers |
49 |
great performance when dealing with large files.. What options to pass to |
50 |
get max performance? |
51 |
|
52 |
/dev/OTHER /mnt/other XXX noatime,nodev,nosuid,noexec,xxx 0 2 |
53 |
|
54 |
This partition will hold e-books (size: 1 - 100 MB), pictures ( < 1 MB) |
55 |
and some other stuff ( all less than < 5 MB).. File system and options? |
56 |
|
57 |
/dev/HOME /home reiserfs noatime,nodev,nosuid,notail 0 2 |
58 |
|
59 |
This is the /home partition, again small files but also e-mails stored |
60 |
in mbox format.. File size will vary from extremely small to unknown |
61 |
(courtesy mbox).. Is ReiserFS good for this or should I choose ext3? |
62 |
|
63 |
/dev/OPT /opt XXX noatime,nodev,xxx 0 2 |
64 |
|
65 |
This partition holds, as you all know java, and many of my games (DOOM3, |
66 |
QUAKE4 at present).. The games have large *.PK4 files.. What FS and |
67 |
options to choose? |
68 |
|
69 |
/dev/TMP /tmp ext2 noatime,nodev,nosuid,noexec 0 2 |
70 |
|
71 |
For /tmp partition I think I'll stick with ext2.. Any suggestions? |
72 |
|
73 |
/dev/USR /usr reiserfs noatime,nodev,notail 0 2 |
74 |
|
75 |
Variable file size (no idea how much they vary).. ext3 or reiserfs? |
76 |
|
77 |
/dev/VAR /var reiserfs noatime,nodev,nosuid,noexec,notail 0 2 |
78 |
|
79 |
Again same dillemma as that of /usr.. I guess it'll hold many small |
80 |
files (courtesy portage), also some mid sized files (courtesy logs).. |
81 |
Mail is not a problem here as no mail is stored in this partition.. |
82 |
|
83 |
At present all my partitions have ext3 as their FS (except /boot |
84 |
and /tmp).. This is how I passed the mke2fs command: |
85 |
|
86 |
mke2fs -j -m 1 -O dir_index,filetype,sparse_super /dev/*** |
87 |
|
88 |
What options should I pass to get the max performance in ex3 (other than |
89 |
the above written), ReiserFS, XFS? |
90 |
|
91 |
Thanks in Advance and sorry for such a long post, |
92 |
Farhan Ahmed |
93 |
|
94 |
-- |
95 |
Place : Bangalore, Karnataka, India |
96 |
GPG Key : 8BE90E98 |
97 |
WengoPhone ID : farhanahmed |
98 |
IRC Nick : farhanahmed / farhanahmed06 (irc.freenode.net) |