question about preallocation and skipping files...

Discussion of Transmission that doesn't fit in the other categories
Post Reply
cutcopypaste
Posts: 1
Joined: Fri Jul 24, 2009 3:34 am

question about preallocation and skipping files...

Post 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.
x190
Posts: 5094
Joined: Sun Nov 30, 2008 4:59 am

Re: question about preallocation and skipping files...

Post 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
The stone age didn’t end because we ran out of stones.
---The Great Disruption - by Paul Gilding
https://paulgilding.com/
-------------------------------------------------
roderick
Posts: 51
Joined: Tue Jan 15, 2008 3:19 am

Re: question about preallocation and skipping files...

Post by roderick »

yes this is annoying, especially when dealing with large files.
dukdukgoos
Posts: 1
Joined: Mon Dec 26, 2016 10:42 am

Re: question about preallocation and skipping files...

Post 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...
x190
Posts: 5094
Joined: Sun Nov 30, 2008 4:59 am

Re: question about preallocation and skipping files...

Post by x190 »

The stone age didn’t end because we ran out of stones.
---The Great Disruption - by Paul Gilding
https://paulgilding.com/
-------------------------------------------------
Post Reply