kSIST prES 283 039-2 V3.1.0:2009
(Main)Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN) - NGN Congestion and Overload Control - Part 2: Core GOCAP and NOCA Entity Behaviours
- Abstract
To describe the NGN overload control architecture.
- Status
- Not Published
- Technical Committee
- SPN - Services and Protocols for Networks
- Current Stage
- 5020 - Formal vote (FV) (Adopted Project)
- Start Date
- 16-Nov-2009
- Due Date
- 04-Jan-2010
- Completion Date
- 11-Jan-2010
Buy Documents
ETSI ES 283 039-2 V3.1.0 (2009-11) - Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); NGN Congestion and Overload Control; Part 2: Core GOCAP and NOCA Entity Behaviours
ETSI ES 283 039-2 V3.1.1 (2010-01) - Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); NGN Congestion and Overload Control; Part 2: Core GOCAP and NOCA Entity Behaviours
kSIST prES 283 039-2 V3.1.0:2009 is a SIST/ETSI standard for Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN) NGN Congestion and Overload Control, Part 2. It specifies the core NGN Overload Control Architecture (NOCA), the Generic Overload Control Application Protocol (GOCAP), and the behavior of the entities that control overload between a GOCAP Master and GOCAP Slave. Engineers use it to design, implement, or assess overload control for NGN nodes that exchange traffic over Diameter or SIP.
What does kSIST prES 283 039-2 V3.1.0:2009 specify?
kSIST prES 283 039-2 V3.1.0:2009 specifies the core NOCA/GOCAP architecture and the protocols and entity behaviors that support overload control. It ties together architecture, signaling, and implementation behavior because the document treats those parts as strongly coupled.
The document is organized around a short front matter, the scope and references clauses, the definitions and abbreviations clause, the control architecture, two transport profiles, and a set of annexes. Clause 4 covers the control architecture and the main control entities, clause 5 covers GOCAP over Diameter, and clause 6 covers GOCAP over SIP.
| Annex | What it covers |
|---|---|
| Annex A | ASN.1 data types and signal definitions |
| Annex B | The normative congestion_control SIP event package |
| Annex C | The normative XML Schema for overload control policy datasets |
| Annex D | Informative guidance on generating system_state data |
| Annex E | Informative transport-independent message sequence charts |
| Annex F | Informative discussion of adaptation behavior |
| Annex G | Bibliography |
What are the key requirements of kSIST prES 283 039-2 V3.1.0:2009?
The standard defines a feedback control model, the processes that carry it out, and two transport bindings for moving overload-control information. In practice, that means an implementation needs both the control logic and the transport/session logic to behave in the same way if it is to interoperate.
Architecture and control loop
Clause 4.1 defines the three main NOCA components as the Control Adaptor, Control Distribution, and Restrictor. The Control Adaptor turns host load and capacity information into a global leak rate, the Control Distribution shares that leak rate across restrictors, and the Restrictor limits incoming workload with a request-priority-aware leaky bucket. In practice, this is the core mechanism that keeps a host near its target load instead of letting it run hot.
Clause 4.1 also explains that restrictors are usually placed near the workload sources being controlled. That matters because overload is reduced at the edge of the traffic path, before excess requests consume resources on the protected host.
Clause 4.2 breaks the system into SDL-style processes such as
CAProcess,CDProcess,CDRestriction,RMProcess,Restrictor,ChannelManager, and the transport shims. The implementation implication is that overload control is not just a rate formula - it is a coordinated set of processes with defined signals, states, and handovers.The
CDProcessmanages controlled sources and can add, update, or delete them. It also maintains the values used to compute the global adaptation behavior. In practice, this lets an operator introduce new sources, remove retired ones, and keep the control parameters aligned with the live system.The document allows one controlled source to represent multiple flows, depending on how the application wants to control load. That matters when the same remote host generates different request types that may need separate treatment or combined treatment.
Entity behavior and local fallback
CDRestrictionis the bridge between the control distribution and the transport layer. It can control a local restrictor or a remote restrictor manager, and it can switch to local restriction if the remote path is unavailable. In practice, this preserves control even when the network path to the remote peer fails.RMProcessreceives restriction requests, creates or deletes restrictors, and applies admission decisions based on request signatures and request priority. A restriction request contains a restriction identifier and one or more signatures that identify the traffic scope. This matters because the system is not controlling all traffic blindly - it matches the policy to the traffic pattern.The
Restrictorbehaves as a leaky bucket rate limiter with request-priority handling, using parameters such as leak rate, splash, initial fill, maximum fill, and lifetime. The practical effect is that the system can throttle traffic according to policy while still recognizing which requests are more important.
Transport profiles
Clause 5 binds GOCAP to Diameter. It uses the Diameter base protocol, reuses Diameter base AVPs, and does not use accounting functionality. The key commands are
AAR/AAA,PUR/PUA,STR/STA, andASR/ASA. In practice, a deployment that already uses Diameter can carry GOCAP control over the same protocol family.Clause 5 defines the GOCAP application as a vendor-specific Diameter application, with the GOCAP Slave acting as the Diameter server and the GOCAP Master acting as the Diameter client. That assignment matters because session establishment and message direction follow the client-server roles of the transport protocol.
Clause 6 binds GOCAP to SIP
SUBSCRIBEandNOTIFYand requires both sides to support thecongestion_controlevent package from Annex B. The Master acts as notifier and the Slave acts as subscriber. In practice, this gives SIP-based systems a standard way to carry overload-control information in event notifications.Clause 6 also uses the XML structures from Annex C for overload-control policy data. That matters because the control payload is not ad hoc - the request list, response list, restriction updates, and deletions all have a defined schema.
What terms does kSIST prES 283 039-2 V3.1.0:2009 define?
- NGN Overload Control Architecture (NOCA) - the architecture that uses feedback control to limit overload in Next Generation Network hosts.
- Generic Overload Control Application Protocol (GOCAP) - the protocol used to carry overload-control information between a GOCAP Master and a GOCAP Slave.
- control variable - a time-varying parameter used in a feedback loop to control the actuator based on measured and target values.
- feedback loop - a control mechanism where the result of changing an actuator is fed back into the algorithm for future changes.
- overload - a condition where a system’s workload exceeds a defined threshold of its processing capacity.
- source - a system that generates workload for another system.
- target - a system that receives workload from another system.
- workload - the amount of processing work a system has to perform.
Who uses kSIST prES 283 039-2 V3.1.0:2009?
This standard is used by engineers who design and implement overload control in NGN, telecom, and session-control systems. Typical users include developers of application servers, Diameter stacks, SIP stacks, network controllers, and management functions that need to throttle request traffic when a server approaches overload.
Quality and test teams use it to verify the control loop, session setup, update, termination, and fallback behavior. That includes checking source addition and deletion, restriction updates, audit handling, and the transition from remote control to local restriction when transport is lost.
Buyers and system architects use it when they need interoperability between nodes that already communicate through Diameter or SIP. It is especially relevant where overload control must fit into existing telecom signaling and where the same control behavior must be preserved across different transports.
Which standards are used with kSIST prES 283 039-2 V3.1.0:2009?
- ETSI TS 182 018 - provides the Stage 2 requirements for Control of Processing Overload, which this part elaborates into architecture and behavior.
- IETF RFC 3588 - defines the Diameter Base Protocol used by the Diameter profile in Clause 5.
- IETF RFC 4005 - provides the Diameter Network Access Server Application referenced for Diameter behavior.
- ETSI TS 133 210 - provides IP network layer security for securing Diameter messages.
- ETSI TS 129 329 - provides Diameter protocol details reused in the GOCAP Diameter profile.
- IETF RFC 3265 - defines SIP-specific event notification, which underpins the SIP
SUBSCRIBE/NOTIFYprofile in Clause 6. - ETSI ES 283 039-4 - an informative companion part on adaptive control for the MGC.
- IETF RFC 4662 - an informative SIP resource-list extension referenced for related notification handling.
What does the kSIST prES 283 039-2 V3.1.0:2009 document contain?
The document contains SDL-style process descriptions, state diagrams, signal definitions, and transport procedures for NOCA and GOCAP. Clause 4 describes the control processes and their signals, including the control adaptor, distribution logic, restrictor manager, and restrictor behavior.
Clause 5 contains Diameter command formats, AVP definitions, session handling, and message sequence charts for Diameter-based control. Clause 6 contains the SIP SUBSCRIBE/NOTIFY profile, including the congestion_control event package and session handling at both the master and slave.
Annex A provides the ASN.1 data types and signal definitions used by the architecture. Annex C gives the XML schema for request and response documents that carry restriction creation, update, and deletion data. Annex D discusses how system_state values such as arrival rate and goal rate can be generated from CPU load, while Annex E and Annex F illustrate common scenarios and explain how the adaptation algorithm behaves in practice.
Buy Documents
ETSI ES 283 039-2 V3.1.0 (2009-11) - Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); NGN Congestion and Overload Control; Part 2: Core GOCAP and NOCA Entity Behaviours
ETSI ES 283 039-2 V3.1.1 (2010-01) - Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); NGN Congestion and Overload Control; Part 2: Core GOCAP and NOCA Entity Behaviours
Get Certified
Connect with accredited certification bodies for this standard

ANCE
Mexican certification and testing association.

Intertek Slovenia
Intertek testing, inspection, and certification services in Slovenia.

LNE (Laboratoire National de Métrologie et d'Essais)
French national laboratory for metrology and testing.
Sponsored listings
Frequently Asked Questions
kSIST prES 283 039-2 V3.1.0:2009 is a standard published by the Slovenian Institute for Standardization (SIST). Its full title is "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN) - NGN Congestion and Overload Control - Part 2: Core GOCAP and NOCA Entity Behaviours". This standard covers: To describe the NGN overload control architecture.
To describe the NGN overload control architecture.
kSIST prES 283 039-2 V3.1.0:2009 is classified under the following ICS (International Classification for Standards) categories: 33.040.01 - Telecommunication systems in general; 33.080 - Integrated Services Digital Network (ISDN). The ICS classification helps identify the subject area and facilitates finding related standards.
kSIST prES 283 039-2 V3.1.0:2009 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.
Standards Content (Sample)
Contents
- 1 Scope
- 2 References
- 2.1 Normative references
- 9 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 2.2 Informative references
- 3 Definitions and abbreviations
- 3.1 Definitions
- 3.2 Abbreviations
- 10 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 4 Control Architecture
- 4.1 Description of NOCA Components
- 11 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 12 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 4.2 Detailed Description of NOCA Components and Behaviour
- 13 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 14 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 15 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 16 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 17 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 18 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 19 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 20 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 21 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 22 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 23 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 24 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 25 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 26 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 27 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 28 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 29 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 30 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 31 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 32 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 33 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 34 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 35 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 36 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 37 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 38 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 39 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 40 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 5 GOCAP over Diameter
- 5.1 Introduction
- 41 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 5.2 Use of the Diameter base protocol
- 42 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 43 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 44 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 45 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 5.3 Procedures to be used with Diameter messages
- 46 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 47 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 48 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 49 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 50 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 51 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 52 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 53 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 5.4 Diameter MSC charts
- 54 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 55 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 56 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 6 GOCAP over SIP
- 6.1 General
- 6.2 Overview
- 57 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 58 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 6.3 Detailed procedures
- 59 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 60 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 61 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 62 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 63 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 64 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 65 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 66 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 67 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 68 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- 69 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
1 Scope
The present document describes the core features of the NGN Overload Control Architecture (NOCA) and the Generic Overload Control Application Protocol (GOCAP). While it is usual for the architectural components to be specified separately from the protocols that are used to communicate between them, the performance requirements of overload controls are such that the coupling between architecture, protocol and implementation is very strong. This means that the present document specifies the architecture, entity behaviours and protocol for the core NOCA/GOCAP together. The way GOCAP and the NOCA entities are deployed to control traffic that uses a specific application protocol is profiled via additional small shim specifications.
2 References
References are either specific (identified by date of publication and/or edition number or version number) or non-specific.
- For a specific reference, subsequent revisions do not apply.
- Non-specific reference may be made only to a complete document or a part thereof and only in the following cases:
- if it is accepted that it will be possible to use all future changes of the referenced document for the purposes of the referring document;
- for informative references.
Referenced documents which are not found to be publicly available in the expected location might be found at http://docbox.etsi.org/Reference.
NOTE: While any hyperlinks included in this clause were valid at the time of publication ETSI cannot guarantee their long term validity.
2.1 Normative references
The following referenced documents are indispensable for the application of the present document. For dated references, only the edition cited applies. For non-specific references, the latest edition of the referenced document (including any amendments) applies.
[1] ETSI TS 182 018: "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); Control of Processing Overload; Stage 2 Requirements". [2] IETF RFC 3588: "Diameter Base Protocol".
[3] IETF RFC 4005: "Diameter Network Access Server Application". [4] ETSI TS 133 210: "Digital cellular telecommunications system (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; 3G security; Network Domain Security (NDS); IP network layer security (3GPP TS 33.210)".
[5] ETSI TS 129 329: "Digital cellular telecommunications system (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; Sh interface based on the Diameter protocol; Protocol details (3GPP TS 29.329 version 8.4.0 Release 8)".
[6] IETF RFC 3265: "Session Initiation Protocol (SIP)-Specific Event Notification". ETSI
9 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
2.2 Informative references
The following referenced documents are not essential to the use of the present document but they assist the user with regard to a particular subject area. For non-specific references, the latest version of the referenced document (including any amendments) applies.
[i.1] ETSI ES 283 039-4: "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); NGN Overload Control Architecture; Part 4: Adaptative Control for the MGC".
[i.2] IETF RFC 4662: "A Session Initiation Protocol (SIP) Event Notification Extension for Resource Lists".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in TS 182 018 [1] and the following apply:
application: software component(s) running on a system to provide service to end users or support the management of the system NOTE: In the present document the term application excludes those software components that implement the NOCA.
application protocol: protocol used to enable application instances to communicate control variable: time-varying parameter used to control actuators in a feedback loop, calculated on the basis of the target and measured values of some system quantity feedback loop: control mechanism where the result of changing an actuator is used ("fed back") into the algorithm used to calculate future changes load control: mechanism for controlling the workload of a system overload: system workload exceeds a defined threshold of the processing capacity of that system source: system that generates workload for another system target: system that receives workload from another system workload: amount of processing work a system has to perform
3.2 Abbreviations
For the purposes of the present document, the following abbreviations apply:
AAA AA-Answer API Application Programming Interface ASA Abort-Session-Answer ASR Abort-Session-Request AVP Attribute-Value Pair CA Control Adaptor CD Control Distribution CDR CDRestriction CEA Capabilities-Exchange-Answer CER Capabilities-Exchange-Request CM Channel Manager FQDN Fully Qualified Domain Name GOCAP Generic Overload Control Application Protocol ETSI
10 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
IP Internet Protocol ISUP Integrated Service Digital Network User Part NGN Next Generation Network NOCA NGN Overload Control Architecture PUA Profile-Update-Answer PUR Profile-Update-Request RM Restrictor Manager SCTP Stream Control Transmission Protocol SDL Specification and Description Language SIP Session Initiation Protocol SLA Service Level Agreement STA Session-Termination-Answer STR Session-Termination-Request TCP Transmission Control Protocol
4 Control Architecture
4.1 Description of NOCA Components
Figure 1: Control components implementing a feedback control path The NGN Overload Control Architecture (NOCA) aims to provide feedback based processing load control for hosts that implement the functionality of NGN (and other) networks. Each feedback control loop indicated by the ovals in Figure 1, comprises three key NOCA components, the Control Adaptor, Control Distribution and Restrictor. The objective of the feedback loops is to enable the protected host to operate at the optimum load by restricting excess workload originating from its nearest neighbours, so the restrictors are usually (though not always) located at those nearest neighbours.
Control Adaptor:
The control adaptor receives data from the host system describing the current workload and system capacity and uses this to derive a global leakrate which is passed to the control distribution. The control adaptor then adjusts the global leak rate, in order that the current workload converges to a goal value equal to the system capacity.
ETSI
11 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
Control Distribution:
The control distribution component shares the global leak rate between the restrictors on the basis of simple local policies. These policies enable defined service levels or fairness requirements to be realised. The control distribution uses the Generic Overload Control Application Protocol (GOCAP) to transmit leak rate information to restrictors on remote hosts.
Restrictor:
The restrictor is a leaky bucket rate limiter that is request priority aware. It is controlled by the leak rate received from the control distribution component and restricts the workload presented to the host which the control is protecting.
The components and functions shown in Figure 1 should be thought of as being located above the top level of the protocol stacks running at the overloaded target (the GOCAP Master) and sources (GOCAP Slaves). As an example, two communications application instances running on the source and target may use ISUP to communicate with each other in establishing and clearing-down voice calls. Beneath ISUP, the protocol stack (in descending order) could be SIP-I/TCP/IP.
In general, a host may be the source of excess processing load for other hosts as well as the target of excess processing load from those other hosts. This means that a single host typically implements all the control components, together with additional components to manage them. The components at a fully functional (from a GOCAP perspective) host are shown in Figure 2.
GOCAP Enabled Node Management Function Control GOCAP Distribution GOCAP Control Adaptor Restrictor Manager LR LR Restrictor Comms App/ Protocol Protocol Host OS
Figure 2: Structure of a GOCAP enabled host, arrows denote information flow - dashed arrows represent replies to requests Figure 2 introduces an additional NOCA component, the restrictor manager. This component is responsible for co-ordinating multiple restrictors while providing a single interface to the host/application. All the NOCA components are described in greater detail in the next clause.
Figure 2 also shows that internal interfaces are required between NOCA components and the network management system for configuration, status enquiries, control statistics etc. Also shown are the interfaces between the host OS and/or communications applications which are used for admission queries (used to reduce workload) and for the protected system to send the data required to drive the control adaptor. ETSI
12 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
4.2 Detailed Description of NOCA Components and Behaviour
4.2.1 Overview
In the following clauses, the behaviours and attributes of the NOCA will be described in detail. To assist that description, SDL diagrams are included. The signals and data types used in the SDL diagrams are defined in Annex A. NOTE: The present document uses SDL to describe the required behaviour, but does not enforce a particular method of realisation. SDL diagrams included in the present document are not meant to imply a particular implementation in terms of processes/threads, message passing or function/procedure calls. In many cases the signals given in the SDL diagrams may just be interpreted as function/procedure calls. The implementer is free to realise this behaviour in the most appropriate and efficient way. Figure 3 shows a representation in SDL of a GOCAP system with the explicit addition of a GOCAP signalling channel between the GOCAP master and a remote slave (remote_gs). Figure 4 shows the key components of a GOCAP master - a host that is protected from overload by restrictions on GOCAP slaves. Note that the Control Distribution function has been split into two elements in Figure 4, the CDProcess and the CDRestriction. This is to help separate the description of the leakrate calculation elements of the Control Distribution (in the CDProcess) from those aspects that relate to the management of a particular restriction (the CDRestriction). Figure 5 gives a similar view of a GOCAP slave - a host that implements restrictors to limit the flow of requests.
System GOCAP 1(1) restrictor_status admit,reject admit,reject master_app sys_mon slave_app use GocapSignals; use GocapTypes; gocapMaster request request egate agate agate gocapSlave local_gs:gocapSlave remote_gs:gocapSlave rgate rgate egate audit new , new , set_rate, set_rate, active_restrictions halt halt, audit restrictor_status system_state add_src, CDR_Id, del_src, lgate sgate restrictor_status CDR_error update_src gm:gocapMaster egate comms_error, mgmt restrictor_status mgate GSSAP up, dow n, use_channel, restrictor_status GMSAP active_restrictions, open, close, new , active_restrictions, restrictor_status, set_rate, halt restrictor_status GSSM comms_error get_audit Gocap_Transport GMSM
Figure 3: A representation of the GOCAP system using SDL ETSI
13 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
Block Type gocapMaster 1(1) use GocapTypes; use GocapSignals; system_state system_state CAProcess /* Control Adaptor*/ system_mon sgate System load update_origin information There is a single CDProcess for a GOCAP master terminate, glr_update add_src, add_src, CDR_Id, CDR_Id, del_src, del_src, CDR_error CDR_error update_src CDProcess update_src /*Control Distribution*/ egate There is one CDRestriction process for each controlled update_CDR, source halt_CDR, new , new , delete_CDR set_rate, set_rate, restrictor_status halt restrictor_status halt local CDRestriction lgate up,dow n, use_channel, restrictor_status To the local restrictor manager master To the remote restrictor manager open, close, new , set_rate, halt up,dow n, use_channel, mgate restrictor_status open, close, new , set_rate, halt
Figure 4: Signals and channels for a GOCAP Master. A node that hosts a GOCAP Master will usually host a GOCAP Slave too admit, reject agate request Block Type gocapSlave 1(1) admit,reject /* Notes This functionality is implemented on all use GocapSignals; GOCAP enabled sources.
app
request RMProcess rmr /* The restrictor manager process */ Restrictor ok,fail, update, expired test, confirm, new ,set_rate, delete halt, audit egate slave restrictor_error restrictor_error active_restrictions rgate new , set_rate, halt, audit active_restrictions
Figure 5: A GOCAP Slave, showing restrictor management ETSI
14 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
4.2.2 Control Adaptor (CAProcess)
The purpose of the Control Adaptor is to master the adaptation of a control variable, which is translated into restriction values by the distribution function, such that the arrival rate of requests associated with that Control Adaptor converges on some goal arrival rate.
4.2.2.1 Control Adaptor Data
Each control adaptor shall be provisioned with the following parameters:
- the termination interval, terminationPending, used to identify when adaptive control should cease;
- control initiation factor, u, used to scale the initial value of the control variable;
- a minimum significant arrival rate change, d; and
- the effective origin scalar, a, used to modify the adaptation behaviour when the system capacity falls below the sum of the capacity guarantees offered to the sources.
The use of the origin scalar parameter, a, is discussed in detail in Annex F. Each control adaptor shall maintain the following state data:
- the control variable, C (also known as the global leakrate);
- the previous value of the control variable, oldC;
- a periodically-updated estimate of the total arrival rate of service requests, Y;
- the previous estimate of the arrival rate of service requests, oldY;
- periodically updated values for total arrival rate goal, G for service requests to that resource;
- the previous value of the total arrival rate goal, oldG;
- the current smallest s /w ratio multiplied by W, the sum of the weights, R, as signalled from the Control i i Distribution; and
- the current sum of static capacity allocations, S, as signalled from the Control Distribution. The use of R and S is described in more detail in Annex F.
ETSI
15 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
4.2.2.2 CAProcess signals
Table 1: Signals sent or received by the Control Adaptor Process Signal Dirn Comments system_state(Y Real, G Real) recv Received periodically by the CA process from thesystem. It informs the CA of the current work arrival rate, Y, and the goal work arrival rate (or the system capacity), G, and effectively drives the control adaptation. For simple systems where the host is servicing only one request type, the work arrival rate may simply be the rate at which requests are arriving. For hosts which service a variety of different request types, the work arrival rate is a weighted mean arrival rate, where the weights represent the processing effort associated with servicing each request.
update_origin(S Real, R Real) recv Received from the Control Distribution and defines the origin used for the adaptation algorithm. S is the sum of the static capacity allocations for the controlled restrictors and R is the smallest s/w ratio of all the restrictions multiplied by W, the sum of the weights. The motivation for this origin correction is described in Annex F.
glr_update(C Real, f Real) send When the overload control is active (CA in state "adapting" or "terminating"), the glr_update signal shall be sent by the CA process to the Control Distribution whenever the control variable is updated. This will cause the Control Distribution to calculate updated restriction rates for all the active sources that are loading the host. C is the control variable, also known as the global leak rate, and f is the capacity modification factor.
terminate send When the CA has determined that the overload is over, it sends this signal to the Control Distribution. This halts the remote restrictions.
4.2.2.3 Control Adaptor Behaviour
The Control Adaptor shall behave as shown in Figures 6 and 7. It has five states:
- Passive: In this state the control adapter shall receive periodically updated estimates of the workload arrival rate, Y, and the goal workload arrival rate (or system capacity), G, (via the system_state signal). If the arrival rate exceeds the goal arrival rate, then the control adapter shall:
- set the control variable, C, to the value of the goal arrival rate times the control initiation factor, C = uG;
- send the Control Distribution a glr_update signal with control variable value, C, and that the capacity modification parameter value, f, where; aG
f = min ⎜1.0, ⎟ .
S
- set oldC, oldY and oldG to the values of C, Y and G respectively;
- enter the "adapting" state.
- Adapting: In the "adapting" state the Control Adapter shall monitor the arrival rate, Y, and the goal arrival rate, G, adapting its internal state whenever a system_state signal arrives as follows:
If (Y - oldY < d) and (oldY < oldG) and (Y < G) then temp := oldC oldC := C C := temp oldY := Y oldG := G ⎛ aG ⎞ f := min 1,
S
ETSI
16 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
Send the Control Distribution a glr_update signal with control variable value, C, and the capacity modification parameter value, f.
Arm a timer that expires after a time terminationPending.
Enter the "terminating" state.
Otherwise:
oldC := C oldY := Y oldG := G ⎛ aG ⎞ f := min 1,
S
⎛ CG G ⎞
C := max G, + f()S − R ⎜1− ⎟
Y Y
Send the Control Distribution a glr_update signal with control variable value, C, and the capacity modification parameter value, f.
- Terminating: The Control Adapter shall continue to monitor the arrival rate, Y, and the goal arrival rate, G, adapting its internal state whenever a system_state signal arrives as follows:
If (Y - oldY < d) and (oldY < oldG) and (Y < G) then:
temp := oldC oldC := C C := temp
oldY := Y oldG := G aG
f := min 1,
S
Send the Control Distribution a glr_update signal with control variable value, C, and the capacity modification parameter value, f.
Otherwise:
oldC := C oldY := Y
oldG := G aG
f := min 1,
S
⎛ CG G ⎞
C := max⎜G, + f()S − R 1− ⎟
Y Y
Send the Control Distribution a glr_update signal with control variable value, C, and the capacity modification parameter value, f.
Reset the termination pending timer.
Enter the "adapting" state.
If the timer expires, the Control Adaptor shall enter the "wait_TP" state. ETSI
17 Final draft ETSI ES 283 039-2 V3.1.0 (2009-11)
- wait_TP: The purpose of the "wait_TP" state is to synchronise control termination with a system_state signal. When that system_state signal arrives, the current arrival rate, Y, shall be compared with the goal arrival rate, G, and if Y ≤ G, the Control adaptor shall send a terminate signal to the Control Distribution and enter the state "wait_TP2".
If Y > G, then the Control Adaptor shall:
Update the internal state as follows:
oldC := C oldY := Y
oldG := G aG
f := min ⎜1, ⎟ S
⎛ CG G ⎞
C := max ⎜G, + f()S − R 1− ⎟
Y Y
Send the Control Distribution a glr_update signal with control variable value, C, and the capacity modification parameter value, f.
Enter the "adapting" state.
...
Contents
- 1 Scope
- 2 References
- 2.1 Normative references
- 9 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 2.2 Informative references
- 3 Definitions and abbreviations
- 3.1 Definitions
- 3.2 Abbreviations
- 10 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 4 Control Architecture
- 4.1 Description of NOCA Components
- 11 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 12 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 4.2 Detailed Description of NOCA Components and Behaviour
- 13 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 14 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 15 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 16 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 17 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 18 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 19 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 20 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 21 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 22 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 23 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 24 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 25 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 26 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 27 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 28 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 29 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 30 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 31 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 32 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 33 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 34 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 35 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 36 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 37 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 38 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 39 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 40 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 5 GOCAP over Diameter
- 5.1 Introduction
- 41 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 5.2 Use of the Diameter base protocol
- 42 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 43 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 44 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 45 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 5.3 Procedures to be used with Diameter messages
- 46 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 47 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 48 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 49 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 50 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 51 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 52 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 53 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 54 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 5.4 Diameter MSC charts
- 55 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 56 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 6 GOCAP over SIP
- 6.1 General
- 57 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 6.2 Overview
- 58 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 59 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 6.3 Detailed procedures
- 60 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 61 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 62 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 63 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 64 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 65 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 66 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 67 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 68 ETSI ES 283 039-2 V3.1.1 (2010-01)
- 69 ETSI ES 283 039-2 V3.1.1 (2010-01)
1 Scope
The present document describes the core features of the NGN Overload Control Architecture (NOCA) and the Generic Overload Control Application Protocol (GOCAP). While it is usual for the architectural components to be specified separately from the protocols that are used to communicate between them, the performance requirements of overload controls are such that the coupling between architecture, protocol and implementation is very strong. This means that the present document specifies the architecture, entity behaviours and protocol for the core NOCA/GOCAP together. The way GOCAP and the NOCA entities are deployed to control traffic that uses a specific application protocol is profiled via additional small shim specifications.
2 References
References are either specific (identified by date of publication and/or edition number or version number) or non-specific.
- For a specific reference, subsequent revisions do not apply.
- Non-specific reference may be made only to a complete document or a part thereof and only in the following cases:
- if it is accepted that it will be possible to use all future changes of the referenced document for the purposes of the referring document;
- for informative references.
Referenced documents which are not found to be publicly available in the expected location might be found at http://docbox.etsi.org/Reference.
NOTE: While any hyperlinks included in this clause were valid at the time of publication ETSI cannot guarantee their long term validity.
2.1 Normative references
The following referenced documents are indispensable for the application of the present document. For dated references, only the edition cited applies. For non-specific references, the latest edition of the referenced document (including any amendments) applies.
[1] ETSI TS 182 018: "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); Control of Processing Overload; Stage 2 Requirements". [2] IETF RFC 3588: "Diameter Base Protocol".
[3] IETF RFC 4005: "Diameter Network Access Server Application". [4] ETSI TS 133 210: "Digital cellular telecommunications system (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; 3G security; Network Domain Security (NDS); IP network layer security (3GPP TS 33.210)".
[5] ETSI TS 129 329: "Digital cellular telecommunications system (Phase 2+); Universal Mobile Telecommunications System (UMTS); LTE; Sh interface based on the Diameter protocol; Protocol details (3GPP TS 29.329 version 8.4.0 Release 8)".
[6] IETF RFC 3265: "Session Initiation Protocol (SIP)-Specific Event Notification". ETSI
9 ETSI ES 283 039-2 V3.1.1 (2010-01)
2.2 Informative references
The following referenced documents are not essential to the use of the present document but they assist the user with regard to a particular subject area. For non-specific references, the latest version of the referenced document (including any amendments) applies.
[i.1] ETSI ES 283 039-4: "Telecommunications and Internet converged Services and Protocols for Advanced Networking (TISPAN); NGN Overload Control Architecture; Part 4: Adaptative Control for the MGC".
[i.2] IETF RFC 4662: "A Session Initiation Protocol (SIP) Event Notification Extension for Resource Lists".
3 Definitions and abbreviations
3.1 Definitions
For the purposes of the present document, the terms and definitions given in TS 182 018 [1] and the following apply:
application: software component(s) running on a system to provide service to end users or support the management of the system NOTE: In the present document the term application excludes those software components that implement the NOCA.
application protocol: protocol used to enable application instances to communicate control variable: time-varying parameter used to control actuators in a feedback loop, calculated on the basis of the target and measured values of some system quantity feedback loop: control mechanism where the result of changing an actuator is used ("fed back") into the algorithm used to calculate future changes load control: mechanism for controlling the workload of a system overload: system workload exceeds a defined threshold of the processing capacity of that system source: system that generates workload for another system target: system that receives workload from another system workload: amount of processing work a system has to perform
3.2 Abbreviations
For the purposes of the present document, the following abbreviations apply:
AAA AA-Answer API Application Programming Interface ASA Abort-Session-Answer ASR Abort-Session-Request AVP Attribute-Value Pair CA Control Adaptor CD Control Distribution CDR CDRestriction CEA Capabilities-Exchange-Answer CER Capabilities-Exchange-Request CM Channel Manager FQDN Fully Qualified Domain Name GOCAP Generic Overload Control Application Protocol ETSI
10 ETSI ES 283 039-2 V3.1.1 (2010-01)
IP Internet Protocol ISUP Integrated Service Digital Network User Part NGN Next Generation Network NOCA NGN Overload Control Architecture PUA Profile-Update-Answer PUR Profile-Update-Request RM Restrictor Manager SCTP Stream Control Transmission Protocol SDL Specification and Description Language SIP Session Initiation Protocol SLA Service Level Agreement STA Session-Termination-Answer STR Session-Termination-Request TCP Transmission Control Protocol
4 Control Architecture
4.1 Description of NOCA Components
Figure 1: Control components implementing a feedback control path The NGN Overload Control Architecture (NOCA) aims to provide feedback based processing load control for hosts that implement the functionality of NGN (and other) networks. Each feedback control loop indicated by the ovals in Figure 1, comprises three key NOCA components, the Control Adaptor, Control Distribution and Restrictor. The objective of the feedback loops is to enable the protected host to operate at the optimum load by restricting excess workload originating from its nearest neighbours, so the restrictors are usually (though not always) located at those nearest neighbours.
Control Adaptor:
The control adaptor receives data from the host system describing the current workload and system capacity and uses this to derive a global leakrate which is passed to the control distribution. The control adaptor then adjusts the global leak rate, in order that the current workload converges to a goal value equal to the system capacity.
ETSI
11 ETSI ES 283 039-2 V3.1.1 (2010-01)
Control Distribution:
The control distribution component shares the global leak rate between the restrictors on the basis of simple local policies. These policies enable defined service levels or fairness requirements to be realised. The control distribution uses the Generic Overload Control Application Protocol (GOCAP) to transmit leak rate information to restrictors on remote hosts.
Restrictor:
The restrictor is a leaky bucket rate limiter that is request priority aware. It is controlled by the leak rate received from the control distribution component and restricts the workload presented to the host which the control is protecting.
The components and functions shown in Figure 1 should be thought of as being located above the top level of the protocol stacks running at the overloaded target (the GOCAP Master) and sources (GOCAP Slaves). As an example, two communications application instances running on the source and target may use ISUP to communicate with each other in establishing and clearing-down voice calls. Beneath ISUP, the protocol stack (in descending order) could be SIP-I/TCP/IP.
In general, a host may be the source of excess processing load for other hosts as well as the target of excess processing load from those other hosts. This means that a single host typically implements all the control components, together with additional components to manage them. The components at a fully functional (from a GOCAP perspective) host are shown in Figure 2.
GOCAP Enabled Node Management Function Control GOCAP Distribution GOCAP Control Adaptor Restrictor Manager LR LR Restrictor Comms App/ Protocol Protocol Host OS
Figure 2: Structure of a GOCAP enabled host, arrows denote information flow - dashed arrows represent replies to requests Figure 2 introduces an additional NOCA component, the restrictor manager. This component is responsible for co-ordinating multiple restrictors while providing a single interface to the host/application. All the NOCA components are described in greater detail in the next clause.
Figure 2 also shows that internal interfaces are required between NOCA components and the network management system for configuration, status enquiries, control statistics etc. Also shown are the interfaces between the host OS and/or communications applications which are used for admission queries (used to reduce workload) and for the protected system to send the data required to drive the control adaptor. ETSI
12 ETSI ES 283 039-2 V3.1.1 (2010-01)
4.2 Detailed Description of NOCA Components and Behaviour
4.2.1 Overview
In the following clauses, the behaviours and attributes of the NOCA will be described in detail. To assist that description, SDL diagrams are included. The signals and data types used in the SDL diagrams are defined in Annex A. NOTE: The present document uses SDL to describe the required behaviour, but does not enforce a particular method of realisation. SDL diagrams included in the present document are not meant to imply a particular implementation in terms of processes/threads, message passing or function/procedure calls. In many cases the signals given in the SDL diagrams may just be interpreted as function/procedure calls. The implementer is free to realise this behaviour in the most appropriate and efficient way. Figure 3 shows a representation in SDL of a GOCAP system with the explicit addition of a GOCAP signalling channel between the GOCAP master and a remote slave (remote_gs). Figure 4 shows the key components of a GOCAP master - a host that is protected from overload by restrictions on GOCAP slaves. Note that the Control Distribution function has been split into two elements in Figure 4, the CDProcess and the CDRestriction. This is to help separate the description of the leakrate calculation elements of the Control Distribution (in the CDProcess) from those aspects that relate to the management of a particular restriction (the CDRestriction). Figure 5 gives a similar view of a GOCAP slave - a host that implements restrictors to limit the flow of requests.
System GOCAP 1(1) restrictor_status admit,reject admit,reject master_app sys_mon slave_app use GocapSignals; use GocapTypes; gocapMaster request request egate agate agate gocapSlave local_gs:gocapSlave remote_gs:gocapSlave rgate rgate egate audit new , new , set_rate, set_rate, active_restrictions halt halt, audit restrictor_status system_state add_src, CDR_Id, del_src, lgate sgate restrictor_status CDR_error update_src gm:gocapMaster egate comms_error, mgmt restrictor_status mgate GSSAP up, dow n, use_channel, restrictor_status GMSAP active_restrictions, open, close, new , active_restrictions, restrictor_status, set_rate, halt restrictor_status GSSM comms_error get_audit Gocap_Transport GMSM
Figure 3: A representation of the GOCAP system using SDL ETSI
13 ETSI ES 283 039-2 V3.1.1 (2010-01)
Block Type gocapMaster 1(1) use GocapTypes; use GocapSignals; system_state system_state CAProcess /* Control Adaptor*/ system_mon sgate System load update_origin information There is a single CDProcess for a GOCAP master terminate, glr_update add_src, add_src, CDR_Id, CDR_Id, del_src, del_src, CDR_error CDR_error update_src CDProcess update_src /*Control Distribution*/ egate There is one CDRestriction process for each controlled update_CDR, source halt_CDR, new , new , delete_CDR set_rate, set_rate, restrictor_status halt restrictor_status halt local CDRestriction lgate up,dow n, use_channel, restrictor_status To the local restrictor manager master To the remote restrictor manager open, close, new , set_rate, halt up,dow n, use_channel, mgate restrictor_status open, close, new , set_rate, halt
Figure 4: Signals and channels for a GOCAP Master. A node that hosts a GOCAP Master will usually host a GOCAP Slave too admit, reject agate request Block Type gocapSlave 1(1) admit,reject /* Notes This functionality is implemented on all use GocapSignals; GOCAP enabled sources.
app
request RMProcess rmr /* The restrictor manager process */ Restrictor ok,fail, update, expired test, confirm, new ,set_rate, delete halt, audit egate slave restrictor_error restrictor_error active_restrictions rgate new , set_rate, halt, audit active_restrictions
Figure 5: A GOCAP Slave, showing restrictor management ETSI
14 ETSI ES 283 039-2 V3.1.1 (2010-01)
4.2.2 Control Adaptor (CAProcess)
The purpose of the Control Adaptor is to master the adaptation of a control variable, which is translated into restriction values by the distribution function, such that the arrival rate of requests associated with that Control Adaptor converges on some goal arrival rate.
4.2.2.1 Control Adaptor Data
Each control adaptor shall be provisioned with the following parameters:
- the termination interval, terminationPending, used to identify when adaptive control should cease;
- control initiation factor, u, used to scale the initial value of the control variable;
- a minimum significant arrival rate change, d; and
- the effective origin scalar, a, used to modify the adaptation behaviour when the system capacity falls below the sum of the capacity guarantees offered to the sources.
The use of the origin scalar parameter, a, is discussed in detail in Annex F. Each control adaptor shall maintain the following state data:
- the control variable, C (also known as the global leakrate);
- the previous value of the control variable, oldC;
- a periodically-updated estimate of the total arrival rate of service requests, Y;
- the previous estimate of the arrival rate of service requests, oldY;
- periodically updated values for total arrival rate goal, G for service requests to that resource;
- the previous value of the total arrival rate goal, oldG;
- the current smallest s /w ratio multiplied by W, the sum of the weights, R, as signalled from the Control i i Distribution; and
- the current sum of static capacity allocations, S, as signalled from the Control Distribution. The use of R and S is described in more detail in Annex F.
ETSI
15 ETSI ES 283 039-2 V3.1.1 (2010-01)
4.2.2.2 CAProcess signals
Table 1: Signals sent or received by the Control Adaptor Process Signal Dirn Comments system_state(Y Real, G Real) recv Received periodically by the CA process from thesystem. It informs the CA of the current work arrival rate, Y, and the goal work arrival rate (or the system capacity), G, and effectively drives the control adaptation. For simple systems where the host is servicing only one request type, the work arrival rate may simply be the rate at which requests are arriving. For hosts which service a variety of different request types, the work arrival rate is a weighted mean arrival rate, where the weights represent the processing effort associated with servicing each request.
update_origin(S Real, R Real) recv Received from the Control Distribution and defines the origin used for the adaptation algorithm. S is the sum of the static capacity allocations for the controlled restrictors and R is the smallest s/w ratio of all the restrictions multiplied by W, the sum of the weights. The motivation for this origin correction is described in Annex F.
glr_update(C Real, f Real) send When the overload control is active (CA in state "adapting" or "terminating"), the glr_update signal shall be sent by the CA process to the Control Distribution whenever the control variable is updated. This will cause the Control Distribution to calculate updated restriction rates for all the active sources that are loading the host. C is the control variable, also known as the global leak rate, and f is the capacity modification factor.
terminate send When the CA has determined that the overload is over, it sends this signal to the Control Distribution. This halts the remote restrictions.
4.2.2.3 Control Adaptor Behaviour
The Control Adaptor shall behave as shown in Figures 6 and 7. It has five states:
- Passive: In this state the control adapter shall receive periodically updated estimates of the workload arrival rate, Y, and the goal workload arrival rate (or system capacity), G, (via the system_state signal). If the arrival rate exceeds the goal arrival rate, then the control adapter shall:
- set the control variable, C, to the value of the goal arrival rate times the control initiation factor, C = uG;
- send the Control Distribution a glr_update signal with control variable value, C, and that the capacity modification parameter value, f, where; aG
f = min ⎜1.0, ⎟ .
S
- set oldC, oldY and oldG to the values of C, Y and G respectively;
- enter the "adapting" state.
- Adapting: In the "adapting" state the Control Adapter shall monitor the arrival rate, Y, and the goal arrival rate, G, adapting its internal state whenever a system_state signal arrives as follows:
If (Y - oldY < d) and (oldY < oldG) and (Y < G) then temp := oldC oldC := C C := temp oldY := Y oldG := G ⎛ aG ⎞ f := min 1,
S
ETSI
16 ETSI ES 283 039-2 V3.1.1 (2010-01)
Send the Control Distribution a glr_update signal with control variable value, C, and the capacity modification parameter value, f.
Arm a timer that expires after a time terminationPending.
Enter the "terminating" state.
Otherwise:
oldC := C oldY := Y oldG := G ⎛ aG ⎞ f := min 1,
S
⎛ CG G ⎞
C := max G, + f()S − R ⎜1− ⎟
Y Y
Send the Control Distribution a glr_update signal with control variable value, C, and the capacity modification parameter value, f.
- Terminating: The Control Adapter shall continue to monitor the arrival rate, Y, and the goal arrival rate, G, adapting its internal state whenever a system_state signal arrives as follows:
If (Y - oldY < d) and (oldY < oldG) and (Y < G) then:
temp := oldC oldC := C C := temp
oldY := Y oldG := G aG
f := min 1,
S
Send the Control Distribution a glr_update signal with control variable value, C, and the capacity modification parameter value, f.
Otherwise:
oldC := C oldY := Y
oldG := G aG
f := min 1,
S
⎛ CG G ⎞
C := max⎜G, + f()S − R 1− ⎟
Y Y
Send the Control Distribution a glr_update signal with control variable value, C, and the capacity modification parameter value, f.
Reset the termination pending timer.
Enter the "adapting" state.
If the timer expires, the Control Adaptor shall enter the "wait_TP" state. ETSI
17 ETSI ES 283 039-2 V3.1.1 (2010-01)
- wait_TP: The purpose of the "wait_TP" state is to synchronise control termination with a system_state signal. When that system_state signal arrives, the current arrival rate, Y, shall be compared with the goal arrival rate, G, and if Y ≤ G, the Control adaptor shall send a terminate signal to the Control Distribution and enter the state "wait_TP2".
If Y > G, then the Control Adaptor shall:
Update the internal state as follows:
oldC := C oldY := Y
oldG := G aG
f := min ⎜1, ⎟ S
⎛ CG G ⎞
C := max ⎜G, + f()S − R 1− ⎟
Y Y
Send the Control Distribution a glr_update signal with control variable value, C, and the capacity modification parameter value, f.
Enter the "adapting" state.
...







