找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3896|回复: 12

我的rtorrent的设置哪里有问题,下载奇慢

[复制链接]
发表于 2008-3-14 15:04 | 显示全部楼层 |阅读模式
路由器型号Asus WL-500g Premium
固件版本  DD-WRT v24 RC-7 (03/13/08) mega - build 9307

按照本站的教程装了rtorrent 0.8.0
下载速度奇慢,速度1K都不到,而用电脑下载,400K很稳定

[ 本帖最后由 simemu 于 2008-3-14 15:40 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2008-3-14 15:04 | 显示全部楼层
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.

# Minumum amount of peers to connect per torrent, if available.
min_peers = 20

# Minumum amount of peers to connect per torrent.
max_peers = 250

# Same as above but for seeding completed torrents (-1 = same as downloading)
#min_peers_seed = 10
#max_peers_seed = 50

# Maximum number of simultanious uploads per torrent.
max_uploads = 5

# Global download rate in KiB. "0" for unlimited.
download_rate = 400

# Global upload rate in KiB. "0" for unlimited.
upload_rate = 20

# Default directory to save downloaded files. Note it doesn't support
# space yet.
directory = /opt/downloads

# Watch a directory for new torrents, and stop those that have been deleted.
schedule = watch_directory,5,5,load_start=/opt/share/torrent/dl/*.torrent
schedule = untied_directory,5,5,stop_untied=

# Close torrents when diskspace is low.
#schedule = low_diskspace,5,60,close_low_diskspace=100M

# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = /opt/share/torrent/session

# The ip address reported to the tracker.
#ip = rakshasa

# The ip address the listening socket and outgoing connections is
# bound to.
#bind = rakshasa

# Port range to use for listening.
port_range = 51777-51780

# Start opening ports at a random position within the port range.
#port_random = no

# Check hash for finished torrents. Might be usefull until the bug is
# fixed that causes lack of diskspace not to be properly reported.
#check_hash = no

# Set whetever the client should try to connect to UDP trackers.
use_udp_trackers = yes

# Alternative calls to bind and ip that should handle dynamic ip's.
#schedule = ip_tick,0,1800,ip=rakshasa
#schedule = bind_tick,0,1800,bind=rakshasa

#
# Do not modify the following parameters unless you know what you're doing.
#

# Hash read-ahead controls how many MB to request the kernel to read
# ahead. If the value is too low the disk may not be fully utilized,
# while if too high the kernel might not be able to keep the read
# pages in memory thus end up trashing.
#hash_read_ahead = 10

# Interval between attempts to check the hash, in milliseconds.
#hash_interval = 100

# Number of attempts to check the hash while using the mincore status,
# before forcing. Overworked systems might need lower values to get a
# decent hash checking rate.
#hash_max_tries = 10

# Max number of files to keep open simultaniously.
#max_open_files = 128

# Number of sockets to simultaneously keep open.
#max_open_sockets = <no default>


# Example of scheduling commands: Switch between two ip's every 5
# seconds.
#schedule = "ip_tick1,5,10,ip=torretta"
#schedule = "ip_tick2,10,10,ip=lampedusa"

# Remove a scheduled event.
#schedule_remove = "ip_tick1"

# Stop torrents when reaching upload ratio in percent,
# when also reaching total upload in bytes, or when
# reaching final upload ratio in percent.
# example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
#schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
schedule = ratio,30,60,stop_on_ratio=200


# Encryption options, set to none (default) or any combination of the following:
# allow_incoming, try_outgoing, require, require_RC4, enable_retry, prefer_plaintext
#
# The example value allows incoming encrypted connections, starts unencrypted
# outgoing connections but retries with encryption if they fail, preferring
# plaintext to RC4 encryption after the encrypted handshake
#
encryption = allow_incoming,enable_retry,prefer_plaintext

# Enable DHT support for trackerless torrents or when all trackers are down.
# May be set to "disable" (completely disable DHT), "off" (do not start DHT),
# "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
# The default is "off". For DHT to work, a session directory must be defined.
#
dht = on

# UDP port to use for DHT.
#
dht_port = 6881

# Enable peer exchange (for torrents not marked private)
#
peer_exchange = yes

#
# Do not modify the following parameters unless you know what you're doing.
#

#选择utf-8可以在samba中看到中文
encoding_list = UTF-8

#rtorrent创建的文件夹(或文件)的权限,默认是0644,建议改成0000(感谢xuanwuhu),使所有用户都能访问。
#也只有这样在samba中才可以直接打开、拷贝、删除rtorrent创建的文件
umask = 0000

scgi_port = :5000
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2008-3-14 15:24 | 显示全部楼层
我的是 也这样的,是以为下载的人都是迅雷的,人家不给你资源,也没有办法
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2008-3-14 16:15 | 显示全部楼层
32M内存耗尽

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2008-3-14 19:52 | 显示全部楼层
你做了端口隐射没有?我使用的rtorrent确实非常快的,基本达到2mADSL的极限了。
例如你的端口是51777和6881就可以在DD的诊断里面输入以下命令:
iptables -I INPUT -p udp --dport 51777 -j ACCEPT
iptables -I INPUT -p tcp --dport 51777 -j ACCEPT
iptables -I INPUT -p udp --dport 6881 -j ACCEPT
iptables -I INPUT -p tcp --dport 6881 -j ACCEPT

[ 本帖最后由 pt880 于 2008-3-14 19:54 编辑 ]
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2008-3-15 09:37 | 显示全部楼层
照样设了,还是不行
root@DD-WRT:/opt/share/torrent/dl# iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:6881
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:6881
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:51777
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:51777
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:6881
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:6881
ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp dpt:51777
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:51777
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
DROP       udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:520
DROP       udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:520
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:520
logaccept  tcp  --  0.0.0.0/0            192.168.1.1         tcp dpt:22
DROP       icmp --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     2    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0           udp dpt:5060
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           state NEW
logaccept  0    --  0.0.0.0/0            0.0.0.0/0           state NEW
DROP       0    --  0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     47   --  192.168.1.0/24       0.0.0.0/0           
ACCEPT     tcp  --  192.168.1.0/24       0.0.0.0/0           tcp dpt:1723
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           
logdrop    0    --  0.0.0.0/0            0.0.0.0/0           state INVALID
TCPMSS     tcp  --  0.0.0.0/0            0.0.0.0/0           tcp flags:0x06/0x02 tcpmss match 1453:65535 TCPMSS set 1452
lan2wan    0    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED
ACCEPT     udp  --  0.0.0.0/0            224.0.0.0/4         udp
ACCEPT     udp  --  0.0.0.0/0            192.168.1.22        udp dpt:51698
ACCEPT     tcp  --  0.0.0.0/0            192.168.1.138       tcp dpt:80
ACCEPT     udp  --  0.0.0.0/0            192.168.1.138       udp dpt:14022
TRIGGER    0    --  0.0.0.0/0            0.0.0.0/0           TRIGGER type:in match:0 relate:0
trigger_out  0    --  0.0.0.0/0            0.0.0.0/0           
ACCEPT     0    --  0.0.0.0/0            0.0.0.0/0           state NEW
DROP       0    --  0.0.0.0/0            0.0.0.0/0

[ 本帖最后由 simemu 于 2008-3-15 09:55 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2008-3-15 14:05 | 显示全部楼层
不知那个日期版本好用,延时太严重,有时得刷新下才行,不知是网通的问题,还是路由版本的问题。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2008-3-16 07:46 | 显示全部楼层
我刷的是  DD-WRT v24 RC-7 (03/13/08) mega - build 9307
现在还有一个问题,上传速度控制不了,明明设了上传20K,经过1夜的下载,发现上传有48K的速度,我的4M ADSL才512K的上行被活活吃完,下载还是可怜兮兮的20多K
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2008-3-16 09:04 | 显示全部楼层

我的

我的也如此

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2008-3-16 15:41 | 显示全部楼层
号称可以全速ADSL的同志们,帮我们解决下问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2008-3-17 20:49 | 显示全部楼层
没有特别设置啊,都是按论坛上的教程,在路由上做了相关端口映射,2M ADSL

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2008-3-19 13:29 | 显示全部楼层
难道这东西也得看RP
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2008-3-22 10:25 | 显示全部楼层
我的也是上传限制无效
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-19 01:46

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表