Settings

From the Performance Settings tab for a specific node, you can globally define the settings for all the modules of the Performance suite of tools: Code Acceleration, Dynamic Content Caching, File Compression and Zend Download Server.

 

From this configuration pane, you can:

Code Acceleration Settings

Code Acceleration Enabled

"On" - The Code Acceleration is active and working.

"Off" - The Code Acceleration is not being used.

 

Accelerator Memory

The amount of memory allocated for use by the Code Acceleration for storing data structures and accelerated files.

Recommended: The memory allocated should correlate with the amount of scripts that you have, their size and complexity. Typically, 32MB is enough.

 

Memory Reclaim Threshold

During normal operation, some of the Code Acceleration memory may become unavailable for use. When the Code Acceleration runs out of memory, it will check how much of its memory is in use, and how much is unavailable. If the amount of unavailable memory is beyond this reclaim threshold, the Accelerator will perform an automatic restart, to reclaim all memory.

Recommended: 5%

 

Maximum Accelerated Files

The maximal number of files that will be accelerated

Recommended: Set this value to about 20% more than the actual number of scripts on your server. Typical memory usage ratio is a few hundred KB per thousand accelerated scripts.

 

Modified File Detection

"On" - Changed accelerated scripts are automatically detected and re-compiled.

"Off" - Modified accelerated script are not detected until server is restarted or Code Acceleration is reset. An additional slight performance gain is achieved.

Recommended: "On" in order to avoid confusion when deploying updated scripts. Use "Off" only if you are sure that your scripts will not be changed.

 

Full Filepath Identification

"On" - Each script is identified uniquely based on its absolute path.

"Off" - Scripts are identified based on the filename only. Does not differentiate between files that have identical names, residing in different directories or virtual servers. An additional slight performance gain is achieved.

Recommended: "On" when there is a probability for repetitive file names.

 

Extensions For PHP Files - If your PHP files end with any other extension (rather than the default *.php extension), add all the extensions here separated by commas.

Dynamic Content Caching Settings

Dynamic Caching Enabled

"On" - The Dynamic Caching is active and working.

"Off" - The Dynamic Caching is not being used.

 

Maximum Cache Size

The maximum disk size allocated for caching. Occasionally and for short periods of time, this value may be exceeded but only until the next time that the cache cleaner deletes the files that expired.

For unlimited cache size, enter "0".

 

Minimum Free Diskspace

The minimum amount of free disk space that cannot be exceeded during caching. Reaching this value will end any further caching. The caching will resume as soon as the space is greater than this value.

 

Maximum Cached File Size

The maximum output cache file size allowed. An output cache file that exceeds this value will not be cached.

 

Default Cache Lifetime

The lifetime (in seconds) of a cached data. The data will be re-generated if the cached version is older than the expiration time.

 

Default Dynamic Caching Conditions

By default, the Dynamic Content Caching will cache each request, based on its full URI. You can modify the settings to be more general or more specific, as desired.

File Compression

"None"

All files are sent to the browser as is.

 

"Only cached files"

The cached files are transferred to the browser in a gzip format, if the browser supports the format.

Other files are sent to the browser as is.

 

"All files"

All files are sent to the browser in a gzip format, if the browser supports the format.

 

Note:

Compressing all files may cause some overhead and affect the overall performance. Use "All files" if your main concern is improving the download time for the user.

Download Server

Minimum File Size

The minimum size of files that will be served by the Zend Download Server.

Small files do not need to be served by the Zend Download Server (although they can be) since the gain is insignificant.

Default file size is 64Kbytes.

 

Apache Server MaxClients

This value is used by the testing tool in the GUI to determine the MaxClients of your server.

You should keep this value updated to the actual number of max clients of your server (in Apache, this value can be found in your httpd.conf file).

Recommended: For accurate test results its recommended to set the server between 50-150 MaxClients (Do not forget to also change the web server configuration).

 

Log File

The name and location of the log file where the Zend Download Server reports completed downloads.

Note: Make sure the file's directory exists and is writable by the user who starts the web server (typically root).

Default is /var/log/httpd/ZDS.log

 

Related Topics