Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates

How to set up CPU affinity for Master Data Management on Linux

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
TalendSolutionExpert
Contributor II
Contributor II

How to set up CPU affinity for Master Data Management on Linux

Last Update:

Feb 6, 2024 10:10:57 AM

Updated By:

Jamie_Gregory

Created date:

Apr 1, 2021 6:12:33 AM

Overview

Due to Talend Master Data Management (MDM) licensing restrictions, you may be required to set up CPU affinity.

 

Prerequisite

A MDM Server service must be enabled.

 

Steps to proceed with systemctl

  1. Edit the /etc/systemd/system/talend-mdm-7.0.1.service file, and add a new line in the Service section:

    CPUAffinity=<cpu id>

    This parameter takes a list of CPU indices or ranges separated by either whitespace or commas. CPU ranges are specified by the lower and upper CPU indices separated by a dash.

    0693p000008uGnFAAU.png

     

  2. Reload the systemctl daemon:

    systemctl daemon-reload

    0693p000008uGnKAAU.png

     

  3. Start the service:

    systemctl start talend-mdm-7.0.1.service

    0693p000008uGaMAAU.png

     

 

Steps to proceed with legacy service

  1. Edit the /etc/init.d/talend-mdm-6.0.1 file, and update the function start():

    taskset -a -c <cpu id> ./start_mdm.sh

    This parameter is used to specify a numerical list of processors. The list may contain multiple items, separated by commas and ranges, for example, 0, 5, 7, 9-11.

    0693p000008uGdlAAE.png

     

  2. Start the service:

    service talend-mdm-6.0.1 start

    0693p000008uGnUAAU.png

     

 

Retrieve a process's CPU affinity

  1. Check the status of the service to get the PID of the MDM Server:

    systemctl status talend-mdm-7.0.1.service

    0693p000008uGLMAA2.png

    Or use this command:

    ps -ef |grep mdm

     

  2. Use the taskset command to get the current affinity list:

    taskset -c -p <PID>

    0693p000008uGntAAE.png

     

Labels (3)
Version history
Last update:
‎2024-02-06 10:10 AM
Updated by: