...
I have 4, but discovered over time that using all of them causes problems with iTunes, and World of Warcraft.
In the hopes of avoiding problems like that, I decided to configure my ATS to use just one core two cores where possible.
Code Block |
---|
CONFIG proxy.config.exec_thread.autoconfig INT 0 CONFIG proxy.config.exec_thread.limit INT 12 |
HTTP Chunking
The default config for ATS specifies that the proxy itself use data "chunks" of 4KB each.
Being that I'm on a high-speed Internet link at home, I decided to increase this.
I'm currently using a setting of 64KB. If you find yourself annoyed with how long
streaming Internet Radio takes when rebuffering, try setting this to 16KB instead.
...
While the default ATS options for this may be optimal under heavy load,
I found using the simpler LRU algorithm much faster and more useful.
The following specifies 1GB 768MB of RAM cache, with objects of unlimited up to 128MB in size,
to be managed using LRU. During normal use, RAM utilization will should rise and rise
until all 1GB 768MB is used, then the LRU algorithm should kick in. Also,
figure on at least 100MB of general RAM overhead for ATS in addition to this.
Code Block |
---|
CONFIG proxy.config.cache.ram_cache.size INT 1G768M CONFIG proxy.config.cache.ram_cache_cutoff INT 0128M CONFIG proxy.config.cache.ram_cache.algorithm INT 1 CONFIG proxy.config.cache.ram_cache.use_seen_filter INT 0 |
...
Code Block |
---|
CONFIG proxy.config.cache.threads_per_disk INT 12 |
Cache Disk Write Lock Delay
...