The Traders' Den  

  The Traders' Den > Where we go to learn ..... > Technobabble
 
Home Forums FAQ Register Members List

Notices

Technobabble Post your general Need for Help questions here.
Lossy or Lossless?
Moderators

Reply
 
Thread Tools
  #1  
Old 2023-06-30, 08:23 AM
xavier242's Avatar
xavier242 xavier242 is offline
former TTD *****
3.65 TB/8.38 TB/2.30
 
Join Date: Dec 2008
Location: a warm place
Faster downloads- tweaking and sequential transfers

Here's a tweak guide DH and I created for uTorrent 2.2.1:
https://www.reddit.com/r/utorrent/co...aks_and_notes/

Can someone explain why sequential transfer can be detrimental for an initial seeding swarm? I don't see the issue as long as some folks continue to seed.
Reply With Quote Reply with Nested Quotes
  #2  
Old 2023-07-17, 12:42 PM
zoso69's Avatar
zoso69 zoso69 is offline
3.72 TB/4.39 TB/1.18
 
Join Date: Jan 2005
Re: Faster downloads- tweaking and sequential transfers

Many thanks Xavier. Do you happen to have one for BiglyBT?
__________________
Quote:
Originally Posted by Freezer 2006.07.19 R.I.P.
Bullshit????? The only bullshit here is what comes squeezing from your mouth like a sun-bloated dead dog intestines, whenever you start blathering on. Go back to hotel and commit suicide, and I mean that most politely.
Reply With Quote Reply with Nested Quotes
  #3  
Old 2023-07-24, 09:41 PM
xavier242's Avatar
xavier242 xavier242 is offline
former TTD *****
3.65 TB/8.38 TB/2.30
 
Join Date: Dec 2008
Location: a warm place
Re: Faster downloads- tweaking and sequential transfers

Quote:
Originally Posted by zoso69 View Post
Many thanks Xavier. Do you happen to have one for BiglyBT?
According to this, it can do sequential (required to stream a torrent):
https://www.reddit.com/r/BiglyBT/com..._for_advanced/

Look in the program options or settings for enabling streaming (it might be called that instead of sequential downloading). It may be like qBittorrent where you can only set it in the download dialog (not globally for all torrents).

I did some more reading on sequential downloading and like I guessed, as long as some seeders remain, a new swarm remains healthy even if everyone downloads sequentially. I've not seen any torrent where everyone hits 'n runs (not that it doesn't ever happen).

Knowing this, I wonder why the default in most (or all) programs is to download pieces in random order? Seems quite strange given that the setting was (possibly) decided when spinning mechanical drives were king (SSDs don't care either way).

DH tells me his seedbox upload speeds are much faster since I posted the suggestion.

If you didn't read the uTorrent 2.2.1 tweak guide on Reddit, here's the TLDR:

Use a dedicated local (not network) drive for your uTorrent download folder. If you use a SSD, it may be ok to share with the operating system. But if uTorrent's GUI ever freezes, you must use a dedicated local spinning or SSD drive (USB 3.x external is fine). Don't use qBittorrent or uTorrent 3.x for downloading (both have major bugs).

from the uTorrent 2.2.1 Reddit post:
Quote:
Sequential Transfers:
By default, bittorrent transfers are random pieces of the file(s). This is the worst possible load for spinning (older mechanical) drives. My spinning RAID6 array does 1600MBytes/sec for sequential transfers, but plummets to 2.5MBytes/sec for random transfers. Non-array spinning drives do better, maybe getting 10MBytes/sec. SSDs do about the the same speed for sequential or random.

When downloading from long-term seeder(s) that are using spinning drives, you will greatly reduce the load on the server drives and see higher speeds if you set uTorrent to transfer sequentially. This is a global setting affecting all transfers:

Have no torrents selected. Press and hold Shift and F2 simultaneously. Keep holding them down and click the Settings button.

These now appear in the Advanced settings list. Change to:
bt.sequential_download true
bt_sequential_files true
Reply With Quote Reply with Nested Quotes
  #4  
Old 2023-07-26, 06:39 PM
Deadmarsh Deadmarsh is offline
245.33 GB/1.58 TB/6.60
 
Join Date: Aug 2006
Location: Vantaa, Finland
Re: Faster downloads- tweaking and sequential transfers

I have had the client (uTorrent 2.2.1) become unresponsive twice after I made the tweaks last week. Not sure what is causing it. I'm not using temp folders. I noticed the client stops writing resume.dat and settings.dat files when this happens. This has not occurred before.
Reply With Quote Reply with Nested Quotes
  #5  
Old 2023-07-26, 09:29 PM
Datahound Datahound is offline
35.58 TB/47.35 TB/1.33
 
Join Date: Nov 2022
Re: Faster downloads- tweaking and sequential transfers

Quote:
Originally Posted by Deadmarsh View Post
I have had the client (uTorrent 2.2.1) become unresponsive twice after I made the tweaks last week. Not sure what is causing it. I'm not using temp folders. I noticed the client stops writing resume.dat and settings.dat files when this happens. This has not occurred before.
The SSD settings for sparse file, part file, and pre-allocation in that Reddit post do place more load on the drive. It you have plenty of space, do not use those settings (use the spinning disk settings). It's intended to conserve space on a small 400GB or 480GB SSD when uTorrent is configured with a download temp folder.

Are you using a local (not network) dedicated drive for the downloads folder? If not, this is a possible cause. uTorrent 2.2.1 doesn't share disk I/O well. If you have a dedicated consumer SSD or mechanical spinning drive, get an enterprise 400GB MLC SSD for $25-$30 from eBay (Intel DC S3700 or newer). Plug it into a motherboard SATA port. Configure a download temp folder.

I can attest that the drive handles 950 simultaneously transferring downloads (combined total around 35MBytes/sec) over IVPN and uTorrent remains responsive. Note you need a lot of CPU for that many- I saw a max of 85% usage on a Core2Duo (stock HP DC7900 with Win 7 x64). CPU starvation could also cause stability issues in theory (not really an issue with any modern processor).

Anything that bottlenecks disk I/O could cause freezing. SATA chipset, driver used for it, noise (bad cables/connectors, power supply), faulty AHCI implementation- there were a lot, Intel shipped millions of bad chipsets/drivers with AHCI as the default.. the DC7900 was one. Works fine in legacy IDE mode (they released drivers like 5 years later that fixed the AHCI issues but I didn't try them).

For pre-2014 motherboard SATA ports, I avoid AHCI and use legacy IDE mode. The speed difference with SSDs is not significant. Even with spinning drives, it's not worth the risk. However, any motherboard made in the last 9 years is probably ok, but like I said, you won't notice any speed difference with a SSD.

Most of my boxes use 3Ware or LSI RAID for the bulk storage which I'm guessing is using AHCI since NCQ is supported.

Another solution is to slow it down. Set global rate limits like under 4MBytes/sec. Disable UTP. Lower the number of connections per torrent. Rate limit on a per torrent basis. This is a pain, but it's how I'm able to use uTorrent on a virtual machine writing to a network drive (I have valid reasons for such a config; plus it gets very little use). Limit the number of active torrents.

Last edited by Datahound; 2023-07-26 at 09:34 PM.
Reply With Quote Reply with Nested Quotes
  #6  
Old 2023-07-27, 04:05 AM
Deadmarsh Deadmarsh is offline
245.33 GB/1.58 TB/6.60
 
Join Date: Aug 2006
Location: Vantaa, Finland
Re: Faster downloads- tweaking and sequential transfers

Quote:
Originally Posted by Datahound View Post
The SSD settings for sparse file, part file, and pre-allocation in that Reddit post do place more load on the drive. It you have plenty of space, do not use those settings (use the spinning disk settings). It's intended to conserve space on a small 400GB or 480GB SSD when uTorrent is configured with a download temp folder.

Are you using a local (not network) dedicated drive for the downloads folder? If not, this is a possible cause. uTorrent 2.2.1 doesn't share disk I/O well. If you have a dedicated consumer SSD or mechanical spinning drive, get an enterprise 400GB MLC SSD for $25-$30 from eBay (Intel DC S3700 or newer). Plug it into a motherboard SATA port. Configure a download temp folder.

I can attest that the drive handles 950 simultaneously transferring downloads (combined total around 35MBytes/sec) over IVPN and uTorrent remains responsive. Note you need a lot of CPU for that many- I saw a max of 85% usage on a Core2Duo (stock HP DC7900 with Win 7 x64). CPU starvation could also cause stability issues in theory (not really an issue with any modern processor).

Anything that bottlenecks disk I/O could cause freezing. SATA chipset, driver used for it, noise (bad cables/connectors, power supply), faulty AHCI implementation- there were a lot, Intel shipped millions of bad chipsets/drivers with AHCI as the default.. the DC7900 was one. Works fine in legacy IDE mode (they released drivers like 5 years later that fixed the AHCI issues but I didn't try them).

For pre-2014 motherboard SATA ports, I avoid AHCI and use legacy IDE mode. The speed difference with SSDs is not significant. Even with spinning drives, it's not worth the risk. However, any motherboard made in the last 9 years is probably ok, but like I said, you won't notice any speed difference with a SSD.

Most of my boxes use 3Ware or LSI RAID for the bulk storage which I'm guessing is using AHCI since NCQ is supported.

Another solution is to slow it down. Set global rate limits like under 4MBytes/sec. Disable UTP. Lower the number of connections per torrent. Rate limit on a per torrent basis. This is a pain, but it's how I'm able to use uTorrent on a virtual machine writing to a network drive (I have valid reasons for such a config; plus it gets very little use). Limit the number of active torrents.
The first time occurred when I wasn't even downloading anything. Not using the SSD settings. No local network. Downloading to a spinning drive. Client itself is on an SSD. If this happens again I'll just undo these changes as I had zero issues before.
Reply With Quote Reply with Nested Quotes
  #7  
Old 2023-07-28, 05:40 AM
Datahound Datahound is offline
35.58 TB/47.35 TB/1.33
 
Join Date: Nov 2022
Re: Faster downloads- tweaking and sequential transfers

Quote:
Originally Posted by Deadmarsh View Post
The first time occurred when I wasn't even downloading anything. Not using the SSD settings. No local network. Downloading to a spinning drive. Client itself is on an SSD. If this happens again I'll just undo these changes as I had zero issues before.
That's a good idea. It's possible the uTorrent tweaks are not compatible with all hardware/OS combinations.
DH
Reply With Quote Reply with Nested Quotes
  #8  
Old 2023-07-28, 07:39 AM
Deadmarsh Deadmarsh is offline
245.33 GB/1.58 TB/6.60
 
Join Date: Aug 2006
Location: Vantaa, Finland
Re: Faster downloads- tweaking and sequential transfers

Yeah, my issues aside, the downloads are indeed much faster with these settings.
Reply With Quote Reply with Nested Quotes
  #9  
Old 2023-08-02, 09:11 PM
Deadmarsh Deadmarsh is offline
245.33 GB/1.58 TB/6.60
 
Join Date: Aug 2006
Location: Vantaa, Finland
Re: Faster downloads- tweaking and sequential transfers

Since last message got a memory error two times (Windows supposedly out of memory while there was approx 16GB available), IO error once (related to the first memory error) and now frozen UI again (no downloads active). Reverted all settings from a backup to see if something odd still happens. I had reverted some settings already before, but can't be bethered anymore to keep trying to guess what combination of changes doesn't work on my system.
Reply With Quote Reply with Nested Quotes
  #10  
Old 2023-08-04, 02:47 AM
distro68 distro68 is offline
1.00 TB/792.71 GB/0.78
 
Join Date: Oct 2005
Re: Faster downloads- tweaking and sequential transfers

I am ignorant of most workings but can only say that for some reason I am now prevented from downloading anything any more . I have downloaded easily for about 15 years under the previous system and have got some great music .
Reply With Quote Reply with Nested Quotes
  #11  
Old 2023-08-06, 08:21 PM
xavier242's Avatar
xavier242 xavier242 is offline
former TTD *****
3.65 TB/8.38 TB/2.30
 
Join Date: Dec 2008
Location: a warm place
Re: Faster downloads- tweaking and sequential transfers

Quote:
Originally Posted by Deadmarsh View Post
Since last message got a memory error two times (Windows supposedly out of memory while there was approx 16GB available), IO error once (related to the first memory error) and now frozen UI again (no downloads active).
About the frozen UI: is this with a dedicated download drive? If so, you have other issues: bad drivers, hardware, conflicts with other software/drivers/hardware. As you can see, this is difficult to troubleshoot and a waste of time (try a different PC).

Verify these:
Maximum number of connected peers per torrent: 5 or less (minimum of 2)
Number of upload slots per torrent: 2 or 3
If any higher, can cause issues. Set upload and download global limits to 500 (this is quite slow, but if the GUI still freezes... um time to use a different PC).

The memory error is normal with a crapton of use. It's running out of heap memory (which is the same no matter how much physical RAM you have). It's a bug. No fix I'm aware of. Just stop all the torrents (if possible). Close uTorrent. Open task manager and make sure it ended. If is doesn't end after 30min, kill it. Reopen, and on any torrents with errors, recheck and then Start. You can proactively do this and avoid the memory error. I restart uTorrent like once a month with normal use.

You should make a clean install on another PC. Get all your settings proper and make a backup of your utorrent profile folder. Copy the utorrent.exe from the Program Files folder to your profile backup (aka template). That is now your clean template you can copy anywhere and run in portable mode by creating a special shortcut containing like:
D:\UT05-prog\uTorrent.exe /RECOVER

In this case, uTorrent is running on my 5th instance (UT05-prog folder) from the D: drive. /RECOVER tells it to run in portable mode using the utorrent.exe you copied with the settings contained in that folder.

My portable instances are all created from one known good template. It's the best way to run it. If anything breaks on one profile, just delete all the files/folders and copy the files/folders from your template folder to the broken folder (note this will wipe out that profile's loaded torrents and settings, replacing them with what you template has; keep this in mind if using magnet links). I've not had to do this (it's not broken for me since discovering the dedicated drive and/or rate limit tweaks).

You can create multiple different portable templates with different configs. Just name the template folder appropriately to tell you what it's for. In portable mode you can have different torrents in different profiles. This is useful on Dime for seeding more than 60 torrents (not at the same time).

Portable mode doesn't work on 3.x. Not sure why.

Windows has had many hardware/drivers/software conflicts over the years. Look up "race conditions (software)" to understand how bizarre things can get. Seemingly unrelated processes can affect each other when they share an underlying resource or state (sometimes indirectly via a separate process...) Sometimes you can only avoid known conflicts. Like Dell branded Toshiba 4TB drives are not fully compatible with 3Ware 9650SE RAID controllers, but 4TB Toshiba brand drives with the same model number work great (this is a true experience I recently discovered). The Dell drives are fine when used in any other config I've tried. I could give you a hundred examples like this.
Reply With Quote Reply with Nested Quotes
  #12  
Old 2023-08-07, 05:20 PM
javieracdc javieracdc is offline
69.85 GB/175.42 GB/2.51
 
Join Date: Oct 2015
Re: Faster downloads- tweaking and sequential transfers

what about utorrent upload tweaks?
Reply With Quote Reply with Nested Quotes
  #13  
Old 2023-08-08, 04:24 PM
Deadmarsh Deadmarsh is offline
245.33 GB/1.58 TB/6.60
 
Join Date: Aug 2006
Location: Vantaa, Finland
Re: Faster downloads- tweaking and sequential transfers

Quote:
Originally Posted by xavier242 View Post
stuff
No problems since I switched back to older settings I have had for a long time. Can't be bothered to to track down what the problematic setting combo is. And uTorrent was the only thing acting up. If there would be hardware problems they would have already manifested in some other way too.
Reply With Quote Reply with Nested Quotes
  #14  
Old 2023-08-12, 09:26 AM
marksg's Avatar
marksg marksg is offline
3.03 TB/1.46 TB/0.48
 
Join Date: Feb 2005
Re: Faster downloads- tweaking and sequential transfers

Utorrent 2.2.1 had a great run, but it is displaying more and more issues with W10 and 11. Personally, I reluctantly switched to qbittorrent, and it has been problem free.
Reply With Quote Reply with Nested Quotes
  #15  
Old 2023-08-12, 07:04 PM
Deadmarsh Deadmarsh is offline
245.33 GB/1.58 TB/6.60
 
Join Date: Aug 2006
Location: Vantaa, Finland
Re: Faster downloads- tweaking and sequential transfers

Quote:
Originally Posted by marksg View Post
Utorrent 2.2.1 had a great run, but it is displaying more and more issues with W10 and 11. Personally, I reluctantly switched to qbittorrent, and it has been problem free.
How did you migrate to it?
I have 6500 active torrents and I would like to be able switch without having to add and map every torrent again. I have also renamed most torrents in the client (as it's possible) for sorting purposes. Doing that again is also something I'm not looking forward to.
Reply With Quote Reply with Nested Quotes
Reply

The Traders' Den > Where we go to learn ..... > Technobabble

Similar Threads
Thread Forum Replies Last Post
Faster Pussycat 2022-06-02 Showplace Theater, Buffalo, NY (24-bit) (FLAC) - jpeace Audio Torrents 1 2022-07-14 07:31 PM
Faster Pussycat 2022-06-02 Showplace Theater, Buffalo, NY (16-bit) (FLAC) - jpeace Audio Torrents 0 2022-07-13 10:39 PM
dat transfers - f'nwooks Technobabble 11 2012-03-23 10:52 PM
VHS transfers...... - terapinfly Technobabble 0 2009-05-27 09:16 PM
Need a faster internet?? - Chachi420 Technobabble 15 2005-11-21 09:39 PM



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forums


All times are GMT -5. The time now is 08:41 PM.


Powered by: vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - , TheTradersDen.org - All Rights Reserved - Hosted at QuickPacket