[Answered] Does higher cache-size-mb reduce fragmentation?

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Locked
axishero
Posts: 16
Joined: Thu Jun 10, 2010 8:20 am

[Answered] Does higher cache-size-mb reduce fragmentation?

Post by axishero »

I'm using a embeded system with 64MB RAM to do 7*24 leeching.Should I increase cache-size-mb greatter than default 2MB to protect HDD? And with default setting,files that downloaded by transmission transfering to computer is very slow,<20mb/s,but files download by other non-bittorrent appz are very fast,up to 100mb/s.So far I known is the fragmentation problem,will higher cache-size-mb help?
Last edited by axishero on Sun Feb 13, 2011 1:16 am, edited 1 time in total.
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Any suggestions on cache-size-mb?

Post by Jordan »

I don't think anyone's yet worked out a uniform rule for deciding how big the cache should be.

In general, large cache sizes will be beneficial if you're downloading at higher speeds. So if you're downloading multiple torrents at once, or if the swarms are fast, then a larger cache size will be helpful.

You might try making it 4 or 8 MB and see if things are better, worse, or no change.
axishero
Posts: 16
Joined: Thu Jun 10, 2010 8:20 am

Re: Does higher cache-size-mb setting help reducing fragment

Post by axishero »

Altered title
Does higher cache-size-mb setting help reducing fragmentati?
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: Does higher cache-size-mb setting help reducing fragment

Post by Jordan »

axishero wrote:Altered title
Does higher cache-size-mb setting help reducing fragmentatoni?
It could, in cases where you haven't already preallocated your files. But its main goal is to batch up disk IO, not to reduce fragmentation. The better solution is to use the default preallocation on a modern filesystem -- even ext4 will do -- where preallocation can be done at the filesystem level.
Locked