Squid configuration directive cpu_affinity_map

Available in: 3.3   3.2   3.HEAD  

History:

Changes in 3.2 cpu_affinity_map

New setting for SMP support to map Squid processes onto specific CPU cores.

Configuration Details:

Option Name:cpu_affinity_map
Replaces:
Requires:
Default Value:none
Suggested Config:

	Usage: cpu_affinity_map process_numbers=P1,P2,... cores=C1,C2,...

	Sets 1:1 mapping between Squid processes and CPU cores. For example,

	    cpu_affinity_map process_numbers=1,2,3,4 cores=1,3,5,7

	affects processes 1 through 4 only and places them on the first
	four even cores, starting with core #1.

	CPU cores are numbered starting from 1. Requires support for
	sched_getaffinity(2) and sched_setaffinity(2) system calls.

	Multiple cpu_affinity_map options are merged.

	See also: workers

 

Back

Search

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors