Page 1 of 1

Optimal Article Cache Limit setting

Posted: October 2nd, 2010, 12:29 am
by BassKozz
What is the optimal Article Cache Limit setting for a machine that has copious amounts of memory available?

I have an Ubuntu box dedicated to media serving & nzbdownloads.  I am a recent HellaNZB convert (it broke after I upgraded to Lucid, and I decided to kick it to the curb), and I would like to get the best performance out of this machine while also keeping the disk happy (reduce thrashing).  I have 4GB of RAM, and it's hardly even being used:

Code: Select all

~$ free -m
             total       used       free     shared    buffers     cached
Mem:          3655       2439       1216          0        118       1870
-/+ buffers/cache:        450       3205
Swap:         7773          0       7773
And that's with Chrome running with a bunch of tabs open to research this issue and type up this forum post.  On average the used hovers around 256M~512M out of 4G.

So with that all being said, I think I can safely set the Article Cache Limit to 2G... however I have heard recommendations for setting it to -1 (for unlimited?).  So what do you guys suggest?

Thanks in advance,
-BassKozz

Re: Optimal Article Cache Limit setting

Posted: October 2nd, 2010, 2:09 am
by sander
Why not experiment with it, and report back the results here?

Re: Optimal Article Cache Limit setting

Posted: October 2nd, 2010, 6:05 am
by shypike
SABnzbd works most efficient when it doesn't have to write articles to the disk cache.
So if you can spare the memory, -1 is a good setting.
On average it will use no more than 1.5 times the biggest file.
Since most posts use 50M files, 75M is the average usage.