Page 1 of 1

question about preallocation and skipping files...

Posted: Fri Jul 24, 2009 3:38 am
by cutcopypaste
i'm not 100% certain but as far as I can tell, if I download the first and last files of a 10 file torrent totalling 1gig (100 mbs each file) then it ends up using up 1 full gig rather than 200 mb?
i'm not really sure because the files in question were randomly removed from transmission for some reason and i can't find the original torrent files.. but i think i have incomplete downloads taking up the full amount of disc space.

Re: question about preallocation and skipping files...

Posted: Fri Jul 24, 2009 9:28 am
by x190
i'm not 100% certain but as far as I can tell, if I download the first and last files of a 10 file torrent totalling 1gig (100 mbs each file) then it ends up using up 1 full gig rather than 200 mb
Should work like this, I believe.

File 1 100MB

File 2 A few MB because of overlapping pieces

File 9 A few MB because of overlapping pieces

File 10 100MB

Total 200MB + <10MB

Re: question about preallocation and skipping files...

Posted: Sat Aug 01, 2009 2:50 am
by roderick
yes this is annoying, especially when dealing with large files.

Re: question about preallocation and skipping files...

Posted: Mon Dec 26, 2016 10:49 am
by dukdukgoos
Sorry to resurrect this thread from the dead, but I'm wondering if there's any way to resolve this? Unlike what x190 said above, it would actually be 400mb used in the above example, as if even a tiny part of the skipped file overlaps torrent 'pieces' it will allocate the entire file. I have many torrents where multi GB skipped files are taking up space on the disk due to preallocation of the entire file size of a partially downloaded skipped file. I could turn off preallocation entirely, but won't that lead to excessive fragmentation? Hoping there's a sane solution to this...

Re: question about preallocation and skipping files...

Posted: Mon Dec 26, 2016 3:46 pm
by x190