What type of preallocation is best for ext4?

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
axishero
Posts: 16
Joined: Thu Jun 10, 2010 8:20 am

What type of preallocation is best for ext4?

Post by axishero »

Jordan mentions "It could, in cases where you haven't already preallocated your files. But its main goal is to batch up disk IO, not to reduce fragmentation. The better solution is to use the default preallocation on a modern filesystem -- even ext4 will do -- where preallocation can be done at the filesystem level."

What type of preallocation shall I select in configfile if I use ext4,1 or 2?
Right now I am running transmission on a low performance router.When use full preallocation on ext3,it takes about 20 mins to preallocate.If ext4 can help reduce full preallocation time I will consider transfering ext3 to ext4.
Last edited by axishero on Mon Feb 28, 2011 4:52 am, edited 1 time in total.
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: What type of preallocation is best for ext4?

Post by Jordan »

"full" is the best preallocation for ext4. The preallocation should be almost instantaneous.
axishero
Posts: 16
Joined: Thu Jun 10, 2010 8:20 am

Re: What type of preallocation is best for ext4?

Post by axishero »

Jordan wrote:"full" is the best preallocation for ext4. The preallocation should be almost instantaneous.
I just turned to ext4.A 4.3G .mkv stills takes about 8 mins to preallocate.It would be great if there's an option for selecting preallocation type instead of tweaking conffile after killing TR when comes to download large files>10G.
veldt
Posts: 7
Joined: Fri Jan 21, 2011 4:23 am

Re: What type of preallocation is best for ext4?

Post by veldt »

Did a test: 50 seconds after first seed connect, disk usage increased by 1.4G (the size of the largest file in the torrent), with repeated invocations of "df -h" showing the 1.4G increase occurring in one interval of <= 2 sec. At this point, 2.7M had been downloaded; piece size was 256K. HD activity light, when I looked, was not very active. Didn't modify any config file; using ubuntu maverick default ext4 filesystem.
Post Reply