*Hello All,*
We have recently deployed ATS v6.1.1 with full transparent caching (forward Caching only). The objective was to improve user browsing experience by providing cached content nearest to the user. Below are the test results as you can see the caching impact is very low.

Is there any performance tuning required to make the cache objects delivery more faster to end user? The background fill plugin is in place for byte range requests while other tuning tip available on cwiki is also followed. 1TB raw disk is reserved for caching.

What more can be done to improve the performance?

S.No. Websites With Cache- 10 Test Samples Average/Sites Without Cache- 10 Test Samples Average/Sites Improvement DOM Interactive DOM Complete Event Load Time DOM Interactive DOM Complete Event Load Time 1 www.google.com.pk <http://www.google.com.pk/> 0.603 3.219 3.223 0.633 3.237 3.241 0.018 2 www.olx.com.pk <http://www.olx.com.pk/> 1.5 10.725 10.751 2.953 10.045 10.068 -0.683 3 www.jang.com.pk <http://www.jang.com.pk/> 0.852 16.233 16.255 2.598 17.919 17.939 1.684 4 www.express.com.pk <http://www.express.com.pk/> 2.466 6.197 6.199 2.744 5.636 5.637 -0.562 5 www.geo.tv <http://www.geo.tv/> 6.816 24.033 24.042 6.345 22.774 22.783 -1.259 6 www.rozee.pk <http://www.rozee.pk/> 5.096 5.982 5.984 4.953 5.875 5.876 -0.108 7 www.tribune.pk <http://www.tribune.pk/> 1.064 2.186 2.186 1.1 2.354 2.354 0.168 8 www.hafeezcenter.com.pk <http://www.hafeezcenter.com.pk/> 4.453 20 20.186 4.848 19.93 20.06 -0.126 9 www.pakwheels.com <http://www.pakwheels.com/> 4.078 6.522 6.665 4.208 6.079 6.206 -0.459 10 www.dawn.com <http://www.dawn.com/> 2.394 13.988 13.988 3.216 28.01 28.036 14.048


Current ATS Configuration (records.config):


CONFIG proxy.config.exec_thread.autoconfig INT 1
CONFIG proxy.config.exec_thread.autoconfig.scale FLOAT 1.500000
CONFIG proxy.config.exec_thread.limit INT 2
CONFIG proxy.config.ssl.number.threads INT 0
CONFIG proxy.config.accept_threads INT 1
CONFIG proxy.config.task_threads INT 2
CONFIG proxy.config.cache.threads_per_disk INT 8
CONFIG proxy.config.exec_thread.affinity INT 1

CONFIG proxy.config.http.server_ports STRING 8181:tr-full

CONFIG proxy.config.http.insert_request_via_str INT 1
CONFIG proxy.config.http.insert_response_via_str INT 0

CONFIG proxy.config.http.parent_proxy_routing_enable INT 0
CONFIG proxy.config.http.parent_proxy.retry_time INT 300
CONFIG proxy.config.http.parent_proxy.connect_attempts_timeout INT 30
CONFIG proxy.config.http.forward.proxy_auth_to_parent INT 0
CONFIG proxy.config.http.uncacheable_requests_bypass_parent INT 1

CONFIG proxy.config.http.keep_alive_no_activity_timeout_in INT 115
CONFIG proxy.config.http.keep_alive_no_activity_timeout_out INT 120
CONFIG proxy.config.http.transaction_no_activity_timeout_in INT 30
CONFIG proxy.config.http.transaction_no_activity_timeout_out INT 30
CONFIG proxy.config.http.transaction_active_timeout_in INT 900
CONFIG proxy.config.http.transaction_active_timeout_out INT 0
CONFIG proxy.config.http.accept_no_activity_timeout INT 5
CONFIG proxy.config.net.default_inactivity_timeout INT 86400

CONFIG proxy.config.http.connect_attempts_max_retries INT 3
CONFIG proxy.config.http.connect_attempts_max_retries_dead_server INT 1
CONFIG proxy.config.http.connect_attempts_rr_retries INT 3
CONFIG proxy.config.http.connect_attempts_timeout INT 30
CONFIG proxy.config.http.post_connect_attempts_timeout INT 1800
CONFIG proxy.config.http.down_server.cache_time INT 60
CONFIG proxy.config.http.down_server.abort_threshold INT 10

CONFIG proxy.config.http.negative_caching_enabled INT 1
CONFIG proxy.config.http.negative_caching_lifetime INT 1800

CONFIG proxy.config.http.anonymize_insert_client_ip INT 1
CONFIG proxy.config.http.insert_squid_x_forwarded_for INT 1

CONFIG proxy.config.http.push_method_enabled INT 0

CONFIG proxy.config.http.cache.http INT 1

CONFIG proxy.config.http.cache.ignore_server_no_cache INT 1
CONFIG proxy.config.http.cache.ignore_client_no_cache INT 1
CONFIG proxy.config.http.cache.ignore_client_cc_max_age INT 1
CONFIG proxy.config.http.normalize_ae_gzip INT 1
CONFIG proxy.config.http.cache.cache_responses_to_cookies INT 1
CONFIG proxy.config.http.cache.cache_urls_that_look_dynamic INT 1

CONFIG proxy.config.http.cache.when_to_revalidate INT 4

CONFIG proxy.config.http.cache.required_headers INT 1

CONFIG proxy.config.http.cache.heuristic_min_lifetime INT 21600
CONFIG proxy.config.http.cache.heuristic_max_lifetime INT 172800
CONFIG proxy.config.http.cache.heuristic_lm_factor FLOAT 0.100000

CONFIG proxy.config.net.connections_throttle INT 30000

CONFIG proxy.config.cache.ram_cache.size INT 10737418240
CONFIG proxy.config.cache.ram_cache_cutoff INT 4194304

CONFIG proxy.config.cache.limits.http.max_alts INT 5

CONFIG proxy.config.cache.max_doc_size INT 0
CONFIG proxy.config.cache.min_average_object_size INT 8000

CONFIG proxy.config.log.logging_enabled INT 3
CONFIG proxy.config.log.max_space_mb_for_logs INT 25000
CONFIG proxy.config.log.max_space_mb_headroom INT 1000
CONFIG proxy.config.log.squid_log_enabled INT 1
CONFIG proxy.config.log.squid_log_is_ascii INT 0
CONFIG proxy.config.log.rolling_enabled INT 1
CONFIG proxy.config.log.rolling_interval_sec INT 86400
CONFIG proxy.config.log.rolling_size_mb INT 50
CONFIG proxy.config.log.auto_delete_rolled_files INT 1

CONFIG proxy.config.url_remap.remap_required INT 0

CONFIG proxy.config.url_remap.pristine_host_hdr INT 0

CONFIG proxy.config.reverse_proxy.enabled INT 0

CONFIG proxy.config.icp.enabled INT 0

CONFIG proxy.config.diags.debug.enabled INT 0
CONFIG proxy.config.diags.debug.tags STRING http.*|dns.*|http_tproxy
# ToDo: Undocumented
CONFIG proxy.config.dump_mem_info_frequency INT 0
CONFIG proxy.config.http.slow.log.threshold INT 0

LOCAL proxy.local.cluster.type INT 3
CONFIG proxy.config.cluster.ethernet_interface STRING br0
CONFIG proxy.config.cluster.cluster_port INT 8086
CONFIG proxy.config.cluster.rsport INT 8088
CONFIG proxy.config.cluster.mcport INT 8089
CONFIG proxy.config.cluster.mc_group_addr STRING 224.0.1.37
CONFIG proxy.config.body_factory.template_sets_dir STRING etc/trafficserver/body_factory
CONFIG proxy.config.cache.ip_allow.filename STRING ip_allow.config
CONFIG proxy.config.log.xml_config_file STRING logs_xml.config

#CONFIG proxy.config.cache.enable_read_while_writer INT 0
#CONFIG proxy.config.http.background_fill_active_timeout INT 0
#CONFIG proxy.config.http.background_fill_completed_threshold FLOAT 0.000000
CONFIG proxy.config.dns.nameservers STRING 8.8.8.8
CONFIG proxy.config.dns.dedicated_thread INT 1
CONFIG proxy.config.dns.round_robin_nameservers INT 1
CONFIG proxy.config.http.cache.ims_on_client_no_cache INT 0
CONFIG proxy.config.http.cache.open_write_fail_action INT 2
CONFIG proxy.config.cache.enable_read_while_writer INT 2



Reply via email to