Red Hat Enterprise Linux for Real Time 8 Reference Guide
Total Page:16
File Type:pdf, Size:1020Kb
Red Hat Enterprise Linux for Real Time 8 Reference Guide Core concepts and terminology for using RHEL for Real Time Last Updated: 2021-05-19 Red Hat Enterprise Linux for Real Time 8 Reference Guide Core concepts and terminology for using RHEL for Real Time Sujata Kurup Red Hat Customer Content Services [email protected] Jaroslav Klech Red Hat Customer Content Services Marie Doleželová Red Hat Customer Content Services Maxim Svistunov Red Hat Customer Content Services Radek Bíba Red Hat Customer Content Services David Ryan Red Hat Customer Content Services Cheryn Tan Red Hat Customer Content Services Lana Brindley Red Hat Customer Content Services Alison Young Red Hat Customer Content Services Legal Notice Copyright © 2021 Red Hat, Inc. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/ . In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux ® is the registered trademark of Linus Torvalds in the United States and other countries. Java ® is a registered trademark of Oracle and/or its affiliates. XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The OpenStack ® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. Abstract This book assists users and administrators in learning about various terms and concepts, which are necessary for proper usage of Red Hat Enterprise Linux for Real Time. For installation instructions, see the Red Hat Enterprise Linux for Real Time Installation Guide . For information on tuning, see the Red Hat Enterprise Linux for Real Time Tuning Guide . Table of Contents Table of Contents .P .R . E. .F . A. .C . E. .4 . .P .A . R. .T . .I .. H. .A . R. .D . W. A. .R . E. 5. .C . H. .A . P. .T .E . R. 1.. .P . R. .O . .C . E. S. .S . O. .R . .C . O. R. .E .S . 6. 1.1. CACHES 6 1.2. INTERCONNECTS 6 .C . H. .A . P. .T .E . R. 2. M. E. .M . .O . R. .Y . .A . L. .L .O . .C . A. .T .I .O . N. 7. 2.1. DEMAND PAGING 7 2.2. USING MLOCK TO AVOID PAGE I/O 9 .C . H. .A . P. .T .E . R. 3. H. A. .R .D . .W . .A . R. .E . I.N . .T .E . R. .R . U. .P . T. .S . 1. 2. 3.1. LEVEL-SIGNALED INTERRUPTS 13 3.2. MESSAGE-SIGNALED INTERRUPTS 13 3.3. NON-MASKABLE INTERRUPTS 13 3.4. SYSTEM MANAGEMENT INTERRUPTS 13 3.5. ADVANCED PROGRAMMABLE INTERRUPT CONTROLLER 14 .P .A . R. .T . .I I.. .A . P. .P . L. .I C. .A . T. .I O. .N . A . R. .C . H. I.T .E . C. .T . U. .R . E. 1. 5. .C . H. .A . P. .T .E . R. 4. .T .H . .R .E . A. .D . S. A. .N . D. P. .R . O. C. .E .S . S. .E .S . 1.6 . .C . H. .A . P. .T .E . R. 5. P. .R . I.O . .R . I.T . I.E .S . .A . N. .D . P . O. L. .I C. .I E. .S . 1.8 . .C . H. .A . P. .T .E . R. 6. .A . F. F. .I N. .I .T .Y . .2 . 0. 6.1. USING THE TASKSET COMMAND TO SET PROCESSOR AFFINITY 20 6.2. USING THE SCHED_SETAFFINITY() SYSTEM CALL TO SET PROCESSOR AFFINITY 21 6.3. SCHED_DEADLINE AND CPUSETS 22 6.3.1. Isolating a single CPU to run high utilization tasks 22 .C . H. .A . P. .T .E . R. 7. T. .H . R. .E . A. .D . .S . Y. .N . C. .H . R. .O . N. I.Z .A . T. .I O. N. .2 . 4. 7.1. MUTEXES 24 7.2. BARRIERS 24 7.3. CONDVARS 24 7.4. OTHER TYPES OF SYNCHRONIZATION 24 .C . H. .A . P. .T .E . R. 8. .S .O . .C . K. .E .T . S. .2 . 5. ..