Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
best file system for portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu Aug 05, 2004 6:18 pm    Post subject: best file system for portage Reply with quote

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
View user's profile Send private message
shivamohan
n00b
n00b


Joined: 19 Jul 2004
Posts: 39
Location: Ontario, Canada

PostPosted: Thu Aug 05, 2004 6:30 pm    Post subject: Reply with quote

I use reiserfs...have no probs with it.
Back to top
View user's profile Send private message
hensan
l33t
l33t


Joined: 26 Jun 2003
Posts: 868
Location: Sweden

PostPosted: Thu Aug 05, 2004 6:35 pm    Post subject: Reply with quote

Yea, I think reiserfs is better when it comes to handling a lot of small files.
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Thu Aug 05, 2004 7:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Thu Aug 05, 2004 7:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Thu Aug 05, 2004 7:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Chaosite
Guru
Guru


Joined: 13 Dec 2003
Posts: 540
Location: Right over here.

PostPosted: Thu Aug 05, 2004 8:46 pm    Post subject: Re: best file system for portage Reply with quote

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
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu Aug 05, 2004 10:05 pm    Post subject: Re: best file system for portage Reply with quote

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
View user's profile Send private message
Kraymer
Guru
Guru


Joined: 27 Aug 2003
Posts: 349
Location: Germany

PostPosted: Sun Sep 26, 2004 8:13 am    Post subject: do it! Reply with quote

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) :wink:
Sebastian

edit: I just notice your posting isn't that fresh.. Have you tried it yet?
Back to top
View user's profile Send private message
m0n5t3r
n00b
n00b


Joined: 21 Feb 2004
Posts: 10
Location: between the keyboard and the chair

PostPosted: Sun Sep 26, 2004 3:45 pm    Post subject: Reply with quote

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 :D...
_________________
[It is] best to confuse only one issue at a time.
-- K&R
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9555
Location: beyond the rim

PostPosted: Sun Sep 26, 2004 11:29 pm    Post subject: Reply with quote

tmpfs
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Mon Sep 27, 2004 9:46 am    Post subject: Reply with quote

Genone wrote:
tmpfs



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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9555
Location: beyond the rim

PostPosted: Mon Sep 27, 2004 9:58 am    Post subject: Reply with quote

carpman wrote:
Genone wrote:
tmpfs

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
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Mon Sep 27, 2004 10:00 am    Post subject: Reply with quote

carpman wrote:
Genone wrote:
tmpfs



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
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Mon Sep 27, 2004 10:44 am    Post subject: Reply with quote

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
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Mon Sep 27, 2004 12:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
chunderbunny
Veteran
Veteran


Joined: 31 May 2004
Posts: 1281
Location: 51°24'27" N, 0°57'15" W

PostPosted: Mon Sep 27, 2004 12:52 pm    Post subject: Reply with quote

Genone wrote:
tmpfs
Yeah, hard disks are overrated anyway.
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Mon Sep 27, 2004 10:17 pm    Post subject: Reply with quote

Genone wrote:
carpman wrote:
Genone wrote:
tmpfs

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
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9555
Location: beyond the rim

PostPosted: Mon Sep 27, 2004 10:45 pm    Post subject: Reply with quote

Code:
$EDITOR /usr/src/linux/Documentation/filesystems/tmpfs.txt
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Mon Sep 27, 2004 10:50 pm    Post subject: Reply with quote

If you put your whole portage treen in tmpfs, won't you lose it when you reboot?
Back to top
View user's profile Send private message
Genone
Retired Dev
Retired Dev


Joined: 14 Mar 2003
Posts: 9555
Location: beyond the rim

PostPosted: Mon Sep 27, 2004 11:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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