Advanced Tuning Parameters

Converged Policy advanced tuning parameters

The CPC Ops Center allows you to configure the advanced tuning parameters for CPC. The tuning parameters primarily consist of the async-threading and http2-threading parameters. These parameters provide the flexibility of the tuning threads responsible for CPC's incoming and outgoing requests over HTTP.

Configure the advanced tuning parameter values only if you have a strong understanding of the CPC deployment.

Configuring the Async Threading Parameters

To configure the http2-threading parameters, use this configuration in the Policy Ops Center console:

config 
  advance-tuning  
  async-threading  
    default-priority default_priority  
    default-worker-threads default_worker_threads  
    default-queue-size default_queue_size  
    default-processing-threads default_processing_threads  
    default-drop-oldest-when-full [ true | false ]   
    threading-config service_name  
    priority priority  
    queue-size queue_size  
    threads number_threads  
    end 

NOTES:

  • advance-tuning —Enters the advance tuning configuration mode.

  • async-threading —Enters the async threading configuration mode.

  • default-priority default_priority —Specify the default priority level.

  • default-worker-threads default_worker_threads —Specify the default number of worker threads.

  • default-queue-size default_queue_size —Specify the default size of the queue.

  • default-processing-threads default_processing_threads —Specify the default number of threads used for processing.

  • default-drop-oldest-when-full [ true | false ] —Indicates if the oldest message in the queue should be removed when the queue is full.

  • threading-config service_name —Specify the service name for which the threading configuration is enabled.

  • priority priority —Specify the priority of the thread.

  • queue-size queue_size —Specify the queue size.

  • threads number_threads —Specify the number of threads to be processed.

Configuring the HTTP2 Threading Parameters

To configure the http2-threading parameters, use this configuration in the Policy Ops Center console:

config 
   http2-threading  
   min-thread-pool-size min_thread_pool 
   max-thread-pool-size max_thread_pool 
     idle-thread-timeout-ms idle_thread_timeout 
     max-queue-capacity max_queue_capacity 
     disable-validation [ true | false ] 
     end 

NOTES:

  • http2-threading http2_threading – Configures the parameters for inbound SBA requests that are received by CPC.

  • min-thread-pool-size min_thread_pool – Specifies the minimum number of threads for processing the inbound SBA request. The accepted range contains integers. Default value is 5.

  • max-thread-pool-size max_thread_pool – Specifies the maximum size of the thread pool.

  • idle-thread-timeout-ms idle_thread_timeout – Specifies the time in milliseconds that the thread can remain idle. idle_thread_timeout must contain only integers. Default value is 60000.

  • disable-validation [ true | false ] – Disables the validation of the request sent to CPC. [ true | false ] must contain the value as true or false. Default value is false.

  • max-queue-capacity max_queue_capacity – Specifies the maximum number of requests that can wait in the queue for processing. max_queue_capacity must contain only integers. Default value is 5000.

  • max-thread-pool-size max_thread_pool – Specifies the maximum number of threads that CPC can accommodate in the pool. max_thread_pool_size must contain only integers. Default value is 20.