MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Preallocate all needed space

 
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet)
View previous topic :: View next topic  
Author Message
Inkus
user


Joined: 27 Jun 2005
Posts: 56
Location: Other

PostPosted: Fri Aug 05, 2005 8:08 pm    Post subject: Preallocate all needed space Reply with quote

Hi!

When I download a file, mldonkey does not preallocate all the space it will need for it. Is there any way to preallocate all the space from the start? I do not use sparse files (emulate_sparsefiles = false).
Back to top
View user's profile Send private message
Inkus
user


Joined: 27 Jun 2005
Posts: 56
Location: Other

PostPosted: Wed Aug 10, 2005 1:30 pm    Post subject: Re: Preallocate all needed space Reply with quote

Inkus wrote:
Hi!

When I download a file, mldonkey does not preallocate all the space it will need for it. Is there any way to preallocate all the space from the start? I do not use sparse files (emulate_sparsefiles = false).


5 days and no answer. I am starting to think that there is no possibility to preallocate the space needed for download. Too bad.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Wed Aug 10, 2005 1:42 pm    Post subject: Re: Preallocate all needed space Reply with quote

Inkus wrote:
When I download a file, mldonkey does not preallocate all the space it will need for it.

This is a feature of your filesystem, not of MLDonkey. There are filesystems like FAT
or NTFS where MLDonkey allocates the complete space when the download starts.
These filesystems in mind b8_bavard wrote the emulate_sparsefiles option.

If you want to disable this feature on your system you have to tweak your filesystem,
if this is possible, and if yes, how it can be done is a different story which you should
investigate yourself for your system.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Inkus
user


Joined: 27 Jun 2005
Posts: 56
Location: Other

PostPosted: Thu Aug 11, 2005 9:14 am    Post subject: Re: Preallocate all needed space Reply with quote

spiralvoice wrote:
Inkus wrote:
When I download a file, mldonkey does not preallocate all the space it will need for it.

This is a feature of your filesystem, not of MLDonkey. There are filesystems like FAT
or NTFS where MLDonkey allocates the complete space when the download starts.
These filesystems in mind b8_bavard wrote the emulate_sparsefiles option.

If you want to disable this feature on your system you have to tweak your filesystem,
if this is possible, and if yes, how it can be done is a different story which you should
investigate yourself for your system.


Thank you for your answer. I am running mldonkey on HP-UX 11.0 with filesystem VxFS. I thought that mldonkey uses some kind of generic system functions for allocating space for the file. Looks like VxFS has some tunning possibilities, but I will not touch them, since this is risky. Thanks again.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Sat Jan 30, 2010 7:33 pm    Post subject: Re: Preallocate all needed space Reply with quote

Inkus wrote:
Is there any way to preallocate all the space from the start?

Please test this patch which is supposed to support optional preallocation on Unix-style systems:
http://savannah.nongnu.org/patch/index.php?7076
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Problems with MLDonkey Client (in general, and ed2k, kad, overnet) 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


Sourceforge.net Logo