Squid Web Cache wiki

Squid Web Cache documentation

πŸ”— QoS (Quality of Service) Support

πŸ”— Details

Zero Penalty Hit created a patch to set QoS markers on outgoing traffic to clients.

πŸ”— Squid Configuration

:warning: requires –enable-zph-qos configure option

πŸ”— Squid 3.2 and later

The configuration options for Squid-3.2 are extended to support both TOS and Linux MARK tagging.

:information_source: The 0xNN values here are set according to your system policy. They may differ from those shown.

Responses found as a HIT in the local cache

qos_flows tos local-hit=0x30
qos_flows mark local-hit=0x30

Responses found as a HIT on sibling peer.

qos_flows tos sibling-hit=0x31
qos_flows mark sibling-hit=0x31

Responses found as a HIT on parent peer.

qos_flows tos parent-hit=0x32
qos_flows mark parent-hit=0x32

Responses found as a MISS may have existing values.

On non-Linux or unpatched Linux the miss TOS is always zero. The capability may be disabled if desired.

qos_flows tos miss=0x0A/0x0F
qos_flows mark miss=0x0A/0x0F

πŸ”— Squid 3.1

The configuration options for 2.7 and 3.1 are based on different ZPH patches. The 3.1 configuration provides clear TOS settings for each outbound response type.

:information_source: The 0xNN values here are set according to your system policy. They may differ from those shown.

Responses found as a HIT in the local cache

qos_flows local-hit=0x30

Responses found as a HIT on sibling peer.

qos_flows sibling-hit=0x31

Responses found as a HIT on parent peer.

qos_flows parent-hit=0x32

preserve-miss locates and passes the same TOS settings received by Squid from the remote server, on the client connection.

:warning: requires Linux with kernel patching.

On non-Linux or unpatched Linux the miss TOS is always zero. The capability may be disabled if desired.

qos_flows disable-preserve-miss

Categories: Feature

Navigation: Site Search, Site Pages, Categories, πŸ”Ό go up