Low speed on NAS

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
DHMH
Posts: 7
Joined: Sat Jun 05, 2010 5:27 pm

Low speed on NAS

Post by DHMH »

Hi,
I got a big problem with transmission(-daemon) and my NAS.
I try to download a torrent, on my pc with uTorrent I get a speed of around 1,2mb/s.
At my NAS it's only 20kb/s using transmission.
Port is forwarded correctly.
Heres the output of "top":

Code: Select all

Mem: 57708K used, 2944K free, 0K shrd, 28K buff, 16396K cached
CPU:  24% usr   8% sys   0% nice  65% idle   0% io   0% irq   0% softirq
Load average: 0.55 0.45 0.38
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
20283     1 root     S    35568  59%  20% transmission-daemon
15003 15002 root     S    80520 133%   2% python /mnt/disk1/share/pyLoad/pyLoad
 1235     1 root     S     3140   5%   0% /bin/bash2 /usr/local/sbin/diskmon_ex
 1378     1 root     S     2156   4%   0% /usr/local/sbin/clientUtil_server -i
20836 19821 root     R     3364   6%   0% top
 1025     1 root     S     1816   3%   0% /usr/local/sbin/errormon
 1040     1 root     S    27816  46%   0% /usr/bin/python /usr/local/sbin/Buffa
 1465     1 root     S    18092  30%   0% /usr/local/BootServer/rarpd
 1681     1 root     S    11532  19%   0% /usr/local/sbin/mt-daapd -c /etc/mt-d
14014  1345 root     S    10428  17%   0% /usr/local/sbin/smbd -D
 1345     1 root     S    10380  17%   0% /usr/local/sbin/smbd -D
19921  1345 root     S    10380  17%   0% /usr/local/sbin/smbd -D
 1363  1345 root     S    10352  17%   0% /usr/local/sbin/smbd -D
 1469     1 root     S     9892  16%   0% /usr/local/BootServer/rarpcfgd
 1356     1 root     S     5936  10%   0% /usr/local/sbin/nmbd -D
 1745  1744 root     S     5532   9%   0% /usr/local/twonky/twonkymediaserver -
 1313     1 root     S     4692   8%   0% /usr/sbin/lighttpd.webui -f /etc/ligh
 1318     1 root     S     4296   7%   0% /usr/sbin/lighttpd.webui -f /etc/ligh
 1387     1 root     S     4168   7%   0% /usr/local/sbin/lsprcvd -i eth1
 1713     1 root     S     4016   7%   0% /usr/local/sbin/sshd
 1021     1 root     S     3620   6%   0% /usr/sbin/inetd
Later I will post my config.json.
Thx in advance!
Greetings,
DHMH
lazybones
Posts: 220
Joined: Sun Jan 24, 2010 12:41 am

Re: Low speed on NAS

Post by lazybones »

Your settings.json file, transmission version, and what kind of nas you are running might help..

However if I was going to guess by your top post that you are running some kind of buffalo brand nas.

Remember your nas has a pathetically slow CPU and less ram than your PC running uTorrent. Allowing too many connections at once will kill it. Also transmission doesn't limit how many active torrents there are, just connections... So if you have a pile of torrents in open at ones it will spread the connections over all of them instead of focusing on a few of them at once.


Try tweaking the following settings, remember you need to KILL / Stop the transmission daemon BEFORE editing and saving the settings.json file or it will be over written.

"dht-enabled": true,
"encryption": 1,
"peer-limit-global": 150,
"peer-limit-per-torrent": 50,
DHMH
Posts: 7
Joined: Sat Jun 05, 2010 5:27 pm

Re: Low speed on NAS

Post by DHMH »

Thank's for your reply.
I'm using a Buffalo Linkstation Live with 1TB RAM.
I think it has got a 600MHz processor.
I installed transmission through ipkg.
Here is my config:

Code: Select all

{
    "alt-speed-down": 50, 
    "alt-speed-enabled": false, 
    "alt-speed-time-begin": 540, 
    "alt-speed-time-day": 127, 
    "alt-speed-time-enabled": false, 
    "alt-speed-time-end": 1020, 
    "alt-speed-up": 50, 
    "bind-address-ipv4": "0.0.0.0", 
    "bind-address-ipv6": "::", 
    "blocklist-enabled": true, 
    "dht-enabled": true, 
    "download-dir": "/mnt/disk1/share/downloads", 
    "encryption": 1, 
    "incomplete-dir": "/root/Downloads", 
    "incomplete-dir-enabled": false, 
    "lazy-bitfield-enabled": true, 
    "message-level": 2, 
    "open-file-limit": 32, 
    "peer-limit-global": 150, 
    "peer-limit-per-torrent": 50, 
    "peer-port": 51413, 
    "peer-port-random-high": 65535, 
    "peer-port-random-low": 49152, 
    "peer-port-random-on-start": false, 
    "peer-socket-tos": 0, 
    "pex-enabled": true, 
    "port-forwarding-enabled": true, 
    "preallocation": 1, 
    "proxy": "", 
    "proxy-auth-enabled": false, 
    "proxy-auth-password": "", 
    "proxy-auth-username": "", 
    "proxy-enabled": false, 
    "proxy-port": 80, 
    "proxy-type": 0, 
    "ratio-limit": 2.0000, 
    "ratio-limit-enabled": false, 
    "rename-partial-files": true, 
    "rpc-authentication-required": false, 
    "rpc-bind-address": "0.0.0.0", 
    "rpc-enabled": true, 
    "rpc-password": "{943c2e1d49ccd2b38381894f9047dbb71901890cNOeIW6zT", 
    "rpc-port": 9091, 
    "rpc-username": "", 
    "rpc-whitelist": "127.0.0.1", 
    "rpc-whitelist-enabled": false, 
    "speed-limit-down": 100, 
    "speed-limit-down-enabled": false, 
    "speed-limit-up": 100, 
    "speed-limit-up-enabled": false, 
    "umask": 18, 
    "upload-slots-per-torrent": 14
}
Thank you!

EDIT:
I'm using Transmission 1.93

EDIT2:
I tweaked the config, but I'm getting a speed of 10kb/s ?!?
Heres the new output of "top":

Code: Select all

    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "::",
    "blocklist-enabled": true,
    "dht-enabled": true,
    "download-dir": "/mnt/disk1/downloads",
Mem: 58952K used, 1700K free, 0K shrd, 28K buff, 15788K cached
CPU:  19% usr   8% sys   0% nice  71% idle   0% io   0% irq   0% softirq
Load average: 0.52 0.36 0.29
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
Mem: 43332K used, 17320K free, 0K shrd, 28K buff, 17608K cached
CPU:  18% usr   7% sys   0% nice  73% idle   0% io   0% irq   0% softirq
Mem: 43556K used, 17096K free, 0K shrd, 28K buff, 17884K cached
CPU:   1% usr   0% sys   0% nice  97% idle   0% io   0% irq   0% softirq
Load average: 0.38 0.34 0.29
  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
22737     1 root     S    36072  59%   3% /opt/bin/transmission-daemon -w /mnt/
 1040     1 root     S    27816  46%   0% /usr/bin/python /usr/local/sbin/Buffa
 1465     1 root     S    18092  30%   0% /usr/local/BootServer/rarpd
 1681     1 root     S    11532  19%   0% /usr/local/sbin/mt-daapd -c /etc/mt-d
21172  1345 root     S    10688  18%   0% /usr/local/sbin/smbd -D
32711  1345 root     S    10512  17%   0% /usr/local/sbin/smbd -D
 1345     1 root     S    10380  17%   0% /usr/local/sbin/smbd -D
 1363  1345 root     S    10352  17%   0% /usr/local/sbin/smbd -D
 1469     1 root     S     9892  16%   0% /usr/local/BootServer/rarpcfgd
 1356     1 root     S     5936  10%   0% /usr/local/sbin/nmbd -D
 1313     1 root     S     4692   8%   0% /usr/sbin/lighttpd.webui -f /etc/ligh
 1318     1 root     S     4296   7%   0% /usr/sbin/lighttpd.webui -f /etc/ligh
 1387     1 root     S     4168   7%   0% /usr/local/sbin/lsprcvd -i eth1
 1713     1 root     S     4016   7%   0% /usr/local/sbin/sshd
 1021     1 root     S     3620   6%   0% /usr/sbin/inetd
    1     0 root     S     3360   6%   0% init
 1396     1 root     S     3360   6%   0% /usr/sbin/crond
 1186 22237 root     R     3360   6%   0% top
 1235     1 root     S     3300   5%   0% /bin/bash2 /usr/local/sbin/diskmon_ex
 1155  1235 root     S     3228   5%   0% sleep 10
 1185  1052 root     S     3228   5%   0% sleep 3
lazybones
Posts: 220
Joined: Sun Jan 24, 2010 12:41 am

Re: Low speed on NAS

Post by lazybones »

Try turning down the "upload-slots-per-torrent" to just 2.

How fast is your internet connection? Your speed limits look all wrong as these are set in BYTES per second (used by the OS for file transfers) not BITS per second (used to describe network transfers just about everywhere)

Your normal speed setting right now would be 800Kbits / 800Kbits your alt / turtle settings would be 400Kbits / 400Kbits . This seems odd since most home internet connections at least in North America have more download than upload.

What is your speed reported by www.speedtest.net?

Note that setting your upload too high can really kill the connection and degrade download performance.

My normal speed setting are
"speed-limit-down": 512,
"speed-limit-down-enabled": true,
"speed-limit-up": 20,
"speed-limit-up-enabled": true,

Or 4096Kbits down and 160Kbits up

My line speed is actually 7Mibts down and 512Kbits up but I keep a buffer so that Transmission doesn't kill all other traffic on my home connection
DHMH
Posts: 7
Joined: Sat Jun 05, 2010 5:27 pm

Re: Low speed on NAS

Post by DHMH »

I got DSL 1000 and my DL Speed is normally 120kb/s ..
Why should I enable the speed-limits?
Now the speed limits are disabled, so whatever I set as speed limit should not be used :P
I set the upload-slots-per-torrent option to 2, and now i will need to check, if the speed has changed.

EDIT:
mmh.. seems that that changed the speed a little bit.
Now my lowest speed is 20kb/s and my highest is 120kb/s.
but: It fluctuates a lot.
So most time the speed is ~50kb/s. :(
DHMH
Posts: 7
Joined: Sat Jun 05, 2010 5:27 pm

Re: Low speed on NAS

Post by DHMH »

mysterious..
Now my speed is about 70kb/s .. sometimes 110kb/s..
Should i set upload-slots-per-torrent to 1?
Here's now my complete config:

Code: Select all

{
    "alt-speed-down": 50, 
    "alt-speed-enabled": false, 
    "alt-speed-time-begin": 540, 
    "alt-speed-time-day": 127, 
    "alt-speed-time-enabled": false, 
    "alt-speed-time-end": 1020, 
    "alt-speed-up": 50, 
    "bind-address-ipv4": "0.0.0.0", 
    "bind-address-ipv6": "::", 
    "blocklist-enabled": false, 
    "dht-enabled": true, 
    "download-dir": "/mnt/disk1/share/downloads", 
    "encryption": 1, 
    "incomplete-dir": "/root/Downloads", 
    "incomplete-dir-enabled": false, 
    "lazy-bitfield-enabled": true, 
    "message-level": 2, 
    "open-file-limit": 32, 
    "peer-limit-global": 150, 
    "peer-limit-per-torrent": 50, 
    "peer-port": 51413, 
    "peer-port-random-high": 65535, 
    "peer-port-random-low": 49152, 
    "peer-port-random-on-start": false, 
    "peer-socket-tos": 0, 
    "pex-enabled": true, 
    "port-forwarding-enabled": true, 
    "preallocation": 1, 
    "proxy": "", 
    "proxy-auth-enabled": false, 
    "proxy-auth-password": "", 
    "proxy-auth-username": "", 
    "proxy-enabled": false, 
    "proxy-port": 80, 
    "proxy-type": 0, 
    "ratio-limit": 2.0000, 
    "ratio-limit-enabled": false, 
    "rename-partial-files": true, 
    "rpc-authentication-required": false, 
    "rpc-bind-address": "0.0.0.0", 
    "rpc-enabled": true, 
    "rpc-password": "{943c2e1d49ccd2b38381894f9047dbb71901890cNOeIW6zT", 
    "rpc-port": 9091, 
    "rpc-username": "", 
    "rpc-whitelist": "127.0.0.1", 
    "rpc-whitelist-enabled": false, 
    "speed-limit-down": 100, 
    "speed-limit-down-enabled": false, 
    "speed-limit-up": 100, 
    "speed-limit-up-enabled": false, 
    "umask": 18, 
    "upload-slots-per-torrent": 2
}
ahh and I forgot to mention that I disabled the "blocklist-enabled" option.
Longinus00
Posts: 137
Joined: Fri Aug 21, 2009 5:46 am

Re: Low speed on NAS

Post by Longinus00 »

What you should try is to limit your upload and download speed like lazybones suggested and put upload-slots back to something sane like 5 or 6.
Last edited by Longinus00 on Sun Jun 06, 2010 8:03 pm, edited 1 time in total.
Spadge
Posts: 15
Joined: Sun Jun 06, 2010 1:22 pm

Re: Low speed on NAS

Post by Spadge »

I pipe mine through dummynet to limit total upload of transmission, not just the torrent upload.

Because every protocol has overhead. TCP/IP uses upload to get downloads, so the faster you download the more upload bandwidth gets used. Transmission does not include this overhead in its max upload speed setting.

My upload runs at a pretty steady 90KB/s except for when I'm downloading heavily, because transmission is only allowed a maximum of 110KB/s up to the internet.

If you don't limit your upload and download to within reasonable levels for your bandwidth you run the risk of killing internet performance for every machine on the network.
lazybones
Posts: 220
Joined: Sun Jan 24, 2010 12:41 am

Re: Low speed on NAS

Post by lazybones »

DHMH wrote:mysterious..
Now my speed is about 70kb/s .. sometimes 110kb/s..
Should i set upload-slots-per-torrent to 1?
Here's now my complete config:


ahh and I forgot to mention that I disabled the "blocklist-enabled" option.
1. What are your www.speedtest.net results, as noted you have not reduced your upload bandwidth..
2. You could reduce to 1 however if your upload bandwidth is still set to high it won't matter. I think 2 slots is rather fair for those of use with very limited upload bandwidth.
DHMH
Posts: 7
Joined: Sat Jun 05, 2010 5:27 pm

Re: Low speed on NAS

Post by DHMH »

I set upload-slots-per-torrent to 1, and now I got nearly fullspeed.
(but only "nearly": 110kb/s max, 90kb/s min)
Here are my speedtest.net results:
Image
lazybones
Posts: 220
Joined: Sun Jan 24, 2010 12:41 am

Re: Low speed on NAS

Post by lazybones »

Wow your upload speed is tiny

Try setting "speed-limit-up": 10 this will be 80 kbits/s

Your last setting of 100 is several times more than wha you actually have
DHMH
Posts: 7
Joined: Sat Jun 05, 2010 5:27 pm

Re: Low speed on NAS

Post by DHMH »

I set everything as you said, but the speed is fluctuating a lot!

EDIT:
I'm not getting 110kb/s constantly.
Is that normal?
On my PC with uTorrent I get 1,2mbit/s and that contant..
lazybones
Posts: 220
Joined: Sun Jan 24, 2010 12:41 am

Re: Low speed on NAS

Post by lazybones »

Yes, I would say fluctuation is normal. Also I found I had better performance with utorrent, however on my NAS I mostly use flexget to start torrents and I don't sit there watching them download.
axishero
Posts: 16
Joined: Thu Jun 10, 2010 8:20 am

Re: Low speed on NAS

Post by axishero »

I also use 1.93 in NAS.Speed is ok compared to Utorrent in PC.But the verification before download is too slow.
Post Reply