找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 9932|回复: 5

咨询怎么增大aria2下载时的缓存

[复制链接]
发表于 2014-8-26 23:38 | 显示全部楼层 |阅读模式
弄了个256M内存的路由器作脱机下载用,同时下载两个文件发现内存还有200多M空余,于是我想能不能把缓存设高些,这样可以大大减少 硬盘的读写次数,从而提高硬盘的使用寿命 。

不知道是不是设置  最小分割大小就行了?
我的恩山、我的无线 The best wifi forum is right here.
发表于 2014-8-27 00:18 | 显示全部楼层
好像是 aria2.conf 里面的 disk-cache 吧。
我的是 disk-cache=8M。

点评

disk-cache指的是磁盘缓存?  详情 回复 发表于 2014-8-27 23:35
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-8-27 23:35 | 显示全部楼层
hkal 发表于 2014-8-27 00:18
好像是 aria2.conf 里面的 disk-cache 吧。
我的是 disk-cache=8M。

disk-cache指的是磁盘缓存?

点评

是用内存来缓存要写到硬盘的资料。  详情 回复 发表于 2014-8-28 00:36
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2014-8-28 00:36 | 显示全部楼层
lsty001 发表于 2014-8-27 23:35
disk-cache指的是磁盘缓存?
--disk-cache=<SIZE>
Enable disk cache. If SIZE is 0, the disk cache is disabled. This feature caches the downloaded data in memory, which grows to at most SIZE bytes. The cache storage is created for aria2 instance and shared by all downloads. The one advantage of the disk cache is reduce the disk I/O because the data are written in larger unit and it is reordered by the offset of the file. If hash checking is involved and the data are cached in memory, we don't need to read them from the disk. SIZE can include K or M (1K = 1024, 1M = 1024K). Default: 16M
是用内存来缓存要写到硬盘的资料。

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

使用道具 举报

发表于 2014-10-10 15:36 | 显示全部楼层
我的也是256M内存,现在缓存设为100M;
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-12-18 18:42 | 显示全部楼层
  修改配置文件
cache-size=xxM xx为你需要的大小
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-23 18:08

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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