Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How much free space does reiserfs require?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Devnn
n00b
n00b


Joined: 03 Oct 2006
Posts: 25

PostPosted: Tue Aug 21, 2007 9:51 pm    Post subject: How much free space does reiserfs require? Reply with quote

http://www.namesys.com/faq.html#full-disk says that reiser partitions shouldn't be filled more than 85%.

Does that really apply to a 500G partition?
I understand there should be some space available for keeping files defragged, but souldn't the space required to do that be related to the size of the files you have and not as a percentage of the whole disk? Else I have 70 worthless GB. :?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 9932
Location: almost Mile High in the USA

PostPosted: Tue Aug 21, 2007 10:46 pm    Post subject: Re: How much free space does reiserfs require? Reply with quote

Technically it could be filled to the gills but you'll suffer fragmentation and slowdown due to it. With free space the filesystem merely has more flexibility to resist fragmentation. But you may not actually get fragmentation if you write to the disk "carefully".

"Shouldn't" and not "Can't" ... All filesystems should realize the situation and still provide you with storage, though not optimal.

It sure is related to the size of files that you write and how often/what method you write to it, not percentage.

In my opinion, if it really needed 15% of the disk to be free, it should have marked that space unusable to begin with.
_________________
Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
RangerDude
Guru
Guru


Joined: 19 Apr 2003
Posts: 301

PostPosted: Wed Aug 22, 2007 6:36 am    Post subject: Reply with quote

I would expect reiserfs to require the same amount of free space on a 50G disk as on a 500G disk. That would make sense. Someone must know the actual truth. I suppose you could just check disk fragmentation and see how your disk is doing, then it should be obvious if yuo're using too much or not. But how do you check that and what value should it be? I know there is some 'background' fragmentation, so how much before it's too much? And how do you check it?
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 533
Location: Cardiff, UK

PostPosted: Wed Aug 22, 2007 2:58 pm    Post subject: Reply with quote

I'm guessing the percentage thing is because if you have more data on there (and hence more files) that's more opportunity for fragmentation to happen. But once your disk is at about 85% full, you should be thinking about buying more storage anyway - so if you ask me, it doesn't really matter.

...unless you plan to fill it with files, and then leave those files there without modifying or deleting them (for instance, a music or video library). If you do that (ie. treat it as effectively "write once") then you shouldn't get any fragmentation in the first place and this problem doesn't even apply, and it still doesn't matter :)
_________________
Ryzen 5600x; Asus TUF Gaming B550-Plus; Geforce 1660 Super
Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
drescherjm
Advocate
Advocate


Joined: 05 Jun 2004
Posts: 2792
Location: Pittsburgh, PA, USA

PostPosted: Wed Aug 22, 2007 3:18 pm    Post subject: Reply with quote

Quote:
In my opinion, if it really needed 15% of the disk to be free, it should have marked that space unusable to begin with.


I know for a fact that 15% is not needed as my 2TB images drive at work has around 100GB free and it is in good working order.

Quote:
I understand there should be some space available for keeping files defragged, but souldn't the space required to do that be related to the size of the files you have and not as a percentage of the whole disk?


Yes, It depends on how often you delete and how big the files are that you delete and create.
_________________
John

My gentoo overlay
Instructons for overlay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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