Squid configuration directive cpu_affinity_map
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 |
|
Search
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Help Out or Donate
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
Miscellaneous
- Developer Resources
- Related Writings
- Related Software:
- Squid Artwork