Squid Efficiency Analyzer
v1.1.0Squid Efficiency Analyzer interprets a Squid log (native) to determine how much traffic can be retrieved from the cache and how much comes from the webservers in the internet.
Description
Squid Efficiency Analyzer, squideff.exe Version 1.1.0; May 2005 Software by Carsten Schmidt If you like this software, please consider donating. Follow the link: http://software.ccschmidt.de Please report bugs and feature requests to: Carsten@CCSchmidt.de How does it work and what does it do?
Software has been tested with log files from Squid 2.5 STABLE 5 for Windows NT 4.0/2000/XP/2003 Open a log file and start analysis. Wait for the results which are shown in an table (detailled view) and in a text field (summary).
You may then export the results to a file. Squideff checks every line of the Squid log file and assigns occurrence and traffic to the different cache codes.
Afterwards, traffic from cache and internet are calculated. For this project I have decided to work with signed 64-bit integers in order to work with large numbers (?2^63..2^63?1).
Despite that, it may be possible that values exceed this range. In that case, please tell me (not that I know what to do about it).
The following codes are calculated as data coming from the cache: - TCP_HIT - TCP_REFRESH_HIT - TCP_REF_FAIL_HIT - TCP_IMS_HIT - TCP_MEM_HIT - TCP_OFFLINE_HIT - UDP_HIT The following codes are calculated as data coming from the internet: - TCP_MISS - TCP_REFRESH_MISS - TCP_CLIENT_REFRESH_MISS - TCP_SWAPFAIL_MISS - UDP_MISS The rest is shown as not considered for efficiency: - TCP_NEGATIVE_HIT - TCP_DENIED - UDP_DENIED - UDP_INVALID - UDP_MISS_NOFETCH - NONE
Software has been tested with log files from Squid 2.5 STABLE 5 for Windows NT 4.0/2000/XP/2003 Open a log file and start analysis. Wait for the results which are shown in an table (detailled view) and in a text field (summary).
You may then export the results to a file. Squideff checks every line of the Squid log file and assigns occurrence and traffic to the different cache codes.
Afterwards, traffic from cache and internet are calculated. For this project I have decided to work with signed 64-bit integers in order to work with large numbers (?2^63..2^63?1).
Despite that, it may be possible that values exceed this range. In that case, please tell me (not that I know what to do about it).
The following codes are calculated as data coming from the cache: - TCP_HIT - TCP_REFRESH_HIT - TCP_REF_FAIL_HIT - TCP_IMS_HIT - TCP_MEM_HIT - TCP_OFFLINE_HIT - UDP_HIT The following codes are calculated as data coming from the internet: - TCP_MISS - TCP_REFRESH_MISS - TCP_CLIENT_REFRESH_MISS - TCP_SWAPFAIL_MISS - UDP_MISS The rest is shown as not considered for efficiency: - TCP_NEGATIVE_HIT - TCP_DENIED - UDP_DENIED - UDP_INVALID - UDP_MISS_NOFETCH - NONE