View previous topic :: View next topic |
Author |
Message |
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Thu Aug 05, 2004 6:18 pm Post subject: best file system for portage |
|
|
hello, i am buildig a local server which will provide network print/scanner plus nfs export of /usr/portage
what is best file system for /usr/portage?
have narrowed it down to reiserfs or xfs
cheers _________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
|
shivamohan n00b
Joined: 19 Jul 2004 Posts: 39 Location: Ontario, Canada
|
Posted: Thu Aug 05, 2004 6:30 pm Post subject: |
|
|
I use reiserfs...have no probs with it. |
|
Back to top |
|
|
hensan l33t
Joined: 26 Jun 2003 Posts: 868 Location: Sweden
|
Posted: Thu Aug 05, 2004 6:35 pm Post subject: |
|
|
Yea, I think reiserfs is better when it comes to handling a lot of small files. |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Thu Aug 05, 2004 7:00 pm Post subject: |
|
|
hensan wrote: | Yea, I think reiserfs is better when it comes to handling a lot of small files. | /agree
XFS is good for a lot of really big files. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Thu Aug 05, 2004 7:12 pm Post subject: |
|
|
I currently have a partition for "/" and "/home". I recently copied "/" from reiserfs to ext3 and the disk usage went from 12 GB to just over 13 GB. So reiserfs seems well suited for storing many large files.
The reason I went from reiserfs to ext3 is because I've had problems with reiserfs in the past, and now there's reiser4, which I'm sure will have bugs. If you want to be 100% sure of avoiding headaches in the future, I'd stick with good ol' ext3. |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Thu Aug 05, 2004 7:19 pm Post subject: |
|
|
nahpets wrote: | I currently have a partition for "/" and "/home". I recently copied "/" from reiserfs to ext3 and the disk usage went from 12 GB to just over 13 GB. So reiserfs seems well suited for storing many large files.
The reason I went from reiserfs to ext3 is because I've had problems with reiserfs in the past, and now there's reiser4, which I'm sure will have bugs. If you want to be 100% sure of avoiding headaches in the future, I'd stick with good ol' ext3. | Probably becuase Resier uses a smaller default block size (1024 or 512, iirc) than ext3 (4096 bytes), so even if a file or inode is smaller than 4K, it still uses up that entire block...I hope I make sense... _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
Chaosite Guru
Joined: 13 Dec 2003 Posts: 540 Location: Right over here.
|
Posted: Thu Aug 05, 2004 8:46 pm Post subject: Re: best file system for portage |
|
|
carpman wrote: | hello, i am buildig a local server which will provide network print/scanner plus nfs export of /usr/portage
what is best file system for /usr/portage?
have narrowed it down to reiserfs or xfs
cheers |
Actually, the best FS for /usr/portage is Reiser4. Lightning fast.
Yes, I know that Reiser4 isn't really stable yet - but consider this. Its /usr/portage.
`emerge sync` and its back there in all its glory. Stability is pretty much a moot point here. |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Thu Aug 05, 2004 10:05 pm Post subject: Re: best file system for portage |
|
|
Chaosite wrote: | carpman wrote: | hello, i am buildig a local server which will provide network print/scanner plus nfs export of /usr/portage
what is best file system for /usr/portage?
have narrowed it down to reiserfs or xfs
cheers |
Actually, the best FS for /usr/portage is Reiser4. Lightning fast.
Yes, I know that Reiser4 isn't really stable yet - but consider this. Its /usr/portage.
`emerge sync` and its back there in all its glory. Stability is pretty much a moot point here. |
did think about reieser4 and as it will have own partition it does not really matter if it does dies, though as i am trying to get this and couple of other partition running on raid5 via evms i am not sure if reiserfs will work.
Just thinking though, could set /usr/portage as raid 0 which would also make it faster _________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
|
Kraymer Guru
Joined: 27 Aug 2003 Posts: 349 Location: Germany
|
Posted: Sun Sep 26, 2004 8:13 am Post subject: do it! |
|
|
I don't think reiserfs on raid0/1/5 will be a problem. I'm using it for long on a raid1 device.. Theoretically of course, software raid should work with any filesystem..
Getting on new Reiser4.. From what I read, it's faster than the current Reiserfs but it also uses more cpu because of the advanced algorithms that are used.. So if you are going to use software raid and Reiser4 together, have a look at your cpu with the highest datarates. I guess a slowdown through cpu is not impossible, of course depending very much on you PC..
Anyway, if you don't care about the data and a possible loss, Hans Reiser might be very thankful for you to try it (and to send bug reports if it doesn't work out)
Sebastian
edit: I just notice your posting isn't that fresh.. Have you tried it yet? |
|
Back to top |
|
|
m0n5t3r n00b
Joined: 21 Feb 2004 Posts: 10 Location: between the keyboard and the chair
|
Posted: Sun Sep 26, 2004 3:45 pm Post subject: |
|
|
I've been using reiser4 since March (2.6.4-love3) with no problems, and a month or so ago I moved /usr/portage from xfs to reiser4, works fine and a bit faster, too ... _________________ [It is] best to confuse only one issue at a time.
-- K&R |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Sun Sep 26, 2004 11:29 pm Post subject: |
|
|
tmpfs |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Mon Sep 27, 2004 9:46 am Post subject: |
|
|
Like nothing better then a cryptic post _________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Mon Sep 27, 2004 9:58 am Post subject: |
|
|
carpman wrote: |
Like nothing better then a cryptic post |
Cryptic ? You asked a question, I posted an answer, I don't see anything cryptic about that. |
|
Back to top |
|
|
nevynxxx Veteran
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Mon Sep 27, 2004 10:00 am Post subject: |
|
|
carpman wrote: |
Like nothing better then a cryptic post |
Why's that cryptic? Its a filesystem that would make a good choice. Assuming you have lots of RAM, and arn't bothered about rebuilding your portage tree from scratch every time you reboot. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Mon Sep 27, 2004 10:44 am Post subject: |
|
|
So how to move from a "normal" reiser filesystem to a new reiser4? _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
nevynxxx Veteran
Joined: 12 Nov 2003 Posts: 1123 Location: Manchester - UK
|
Posted: Mon Sep 27, 2004 12:15 pm Post subject: |
|
|
Phlogiston. wrote: | So how to move from a "normal" reiser filesystem to a new reiser4? |
Copy the data, wipe the partition, create the reiser4 partition, move the data back.
Only way AFAIK.
Since it's /usr/portage, I'd just copy the distfiles elsewhere, if your bothered about them that is.
Going back to Genone's post, I assume it's possible to have mount points withing a tempfs.
I.e. keep /usr/portage on tempfs and /usr/portage/distfiles on say reiser?
That would be quite nice. _________________ My Public Key
Wanted: Instructor in the art of Bowyery |
|
Back to top |
|
|
chunderbunny Veteran
Joined: 31 May 2004 Posts: 1281 Location: 51°24'27" N, 0°57'15" W
|
Posted: Mon Sep 27, 2004 12:52 pm Post subject: |
|
|
Yeah, hard disks are overrated anyway. |
|
Back to top |
|
|
carpman Advocate
Joined: 20 Jun 2002 Posts: 2202 Location: London - UK
|
Posted: Mon Sep 27, 2004 10:17 pm Post subject: |
|
|
Genone wrote: | carpman wrote: |
Like nothing better then a cryptic post |
Cryptic ? You asked a question, I posted an answer, I don't see anything cryptic about that. |
As you are Gentoo god (dev) it may not be but for a mere mortal it is, i have seen this tmpfs in fstab and thought it was a tempory filesystem but never thought it could be used for anything such as portage!!
A little more info with your post as to why it would be best may have been more helpful.
Thanks for your post though, _________________ Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Mon Sep 27, 2004 10:45 pm Post subject: |
|
|
Code: | $EDITOR /usr/src/linux/Documentation/filesystems/tmpfs.txt |
|
|
Back to top |
|
|
nahpets Veteran
Joined: 05 Oct 2003 Posts: 1178 Location: Montreal, Canada
|
Posted: Mon Sep 27, 2004 10:50 pm Post subject: |
|
|
If you put your whole portage treen in tmpfs, won't you lose it when you reboot? |
|
Back to top |
|
|
Genone Retired Dev
Joined: 14 Mar 2003 Posts: 9555 Location: beyond the rim
|
Posted: Mon Sep 27, 2004 11:20 pm Post subject: |
|
|
yes, but at least you know that it will be gone (compared to the uncertain state with reiser4). Also if it's a server (or in general isn't rebooted regulary) it doesn't matter. And finally you can always recreate it without problems (put `emerge sync` or something similar in local.start).
Point is: there is no "best" filesystem, it all depends on your needs and environment. |
|
Back to top |
|
|
|