![]() Registered Member ![]()
|
Hey all,
Running 2.1.4 (same with 2.1.3) in PCLinuxOS, saving files to a FAT32 formatted partition on an external drive. Using a FAT32 so all O/S on LAN can access. When downloading large DVD iso, the File Allocation part of KTorrent beginning the file takes absolutely forever (30 minutes+ when I stopped it.) If I start the file with uTorrent, allow it to write one piece of each large file, thereby allocating space, then import into KTorrent... no problems. Any ideas? I'm having to start in uTorrent, then import/hash check in KTorrent. |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
George,
I don't think it's USB alone. The iso is a full DVD distribution, a 4.3 GB iso. If I use uTorrent or Azureus to write the file initially, they do so, allocate, and set off and run perfectly. If I use KTorrent to import the file once another client has done the initial open, it Hash Checks, allocates /tmp, and goes off and running. This works even if, say, I have a DVD, with several .VOB files, and even one 'piece' of each VOB is written, KTorrent imports it with nothing more than the Hash Check and /tmp allocation. But if I initially load a large file into KTorrent, I get this issue, every time. For any torrent over, say, 1GB, I end up beginning in another client, then switching to KTorrent once all parts are at least partially written (allocated.) |
![]() Moderator ![]()
|
I tested a kubuntu DVD yesterday (was about 3.4 GB) on a FAT partition, the preallocation was done in a couple of minutes, certainly not half an hour.
That's why I was thinking that the USB interface was the bottleneck. If you go to the file in a shell or in a file manager, do you see the file growing when KT is preallocating ? |
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
I stopped it at 30 minutes, it wasn't done!
OK, so why does uTorrent not behave this way running under Wine? Why do BitTornado, Azureus, Mainline and Opera not do this, over the same USB, even when available options to pre-allocate all files are set? Azureus does take about 3-4 minutes for a 4 GB data set, the rest are instantaneous. I apologise for not being tech savvy enough to go poking about in a console to see if the file grows. I'll simply allocate using another client, for now. |
![]() Moderator ![]()
|
The filesystem specific is only implemented for XFS. The basic one just writes every byte of the file. Normal uses ftruncate. |
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
If the file doesn't grow, we know the allocation is stuck somewhere.
You can use any file manager to go see if the file is growing, no need to poke around in a console |
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Moderator ![]()
|
We do the same thing as them, seek to the end of the file and then write one byte. |
Registered users: Bing [Bot], Google [Bot]