Squid configuration directive cpu_affinity_map

Available in: v7   v6   v5   v4   3.5   3.4   3.3   3.2  

For older versions than v4 see the linked pages above

Configuration Details:

Option Name:cpu_affinity_map
Replaces:
Requires:
Default Value:Let operating system decide.
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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors