pre-allocate all files

enOehTsIsihT
Site User
Posts: 393
Joined: Mon Apr 16, 2012 2:22 pm

pre-allocate all files

Postby enOehTsIsihT » Fri Jul 26, 2013 4:14 am

Neoloader may need the function.

And it let user choose that,append or not.

User avatar
DavidXanatos
Site Admin
Posts: 769
Joined: Wed Jun 30, 2010 7:54 pm

Postby DavidXanatos » Sat Jul 27, 2013 4:56 pm

I don't see the benefit in prealocating files, since neo uses a asynchronous IO there should be no problems allocating large files on the fly.
Live free or die trying!

User avatar
Neo26
Site User
Posts: 331
Joined: Sun Dec 09, 2012 1:53 pm

Postby Neo26 » Mon Jan 20, 2014 6:17 am

It seems that it's implemented instead... why did you changed idea ? It's even not switchable.

User avatar
DavidXanatos
Site Admin
Posts: 769
Joined: Wed Jun 30, 2010 7:54 pm

Postby DavidXanatos » Mon Jan 20, 2014 8:40 am

There is an major issue when writing to an empty many GB large file at the end.
such an action triggers windows to fill all the empty space before the written area with 0's and that takes a loooong time, so long infact that the buffer runs full and neo must stop downloading for many minutes for the write operations to finish.
Thats not good and the only proper fix is to preallocate the file.
Live free or die trying!


Return to “Feature Requests”

Who is online

Users browsing this forum: No registered users and 7 guests

cron
Fatal: Not able to open ./cache/data_global.php