Using systemd cgroups

30 minutes
  • 3 Learning Objectives

About this Hands-on Lab

Knowing how to control the processes on your system, keep them running properly, keep hungry ones from starving the others and how you can pre-set configuration to make this happen is an important skill for any system operator. All of this becomes a little easier on a systemd system via the use of Kernel Cgroups or Slices.

In this lab we’ll install some testing tools and create a custom Load Service, then view the results of that load on our system. We’ll then make a parameter change and cause the system to recognize and implement our change properly, then observe the results via the `systemd-cgtop` command.

We’ll then change the service’s settings further, then add some more Load Services, and notice that some limitations would be good for the system as a whole. We’ll then make some adjustments to those Load Services that brings things into the range of acceptable resource use.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Install Load Software and Create Load Service

Perform the following steps:

  1. Install testing tools.
  2. Create a load service.
  3. Manage that service’s operation.
  4. View load results for the system.
Change the Memory Allowance for the Load Service

Perform the following steps:

  1. Change the service’s settings.
  2. View load results and note differences.
Create More Load Services and Set CPU Allowances

Perform the following steps:

  1. Add additional load services.
  2. Make adjustments to configuration.
  3. View load results for all load services.

Additional Resources

As a conscientious systems administrator, we make sure to know what our system's utilization is at all times, to better be able to protect all processes ability to execute.

In this lab we'll work through how to create a test service to experiment with how changes can be made to services. We'll manage the services and make configuration changes, then view the affect on the system. We'll then bring up additional load services and make adjustments so that all services get the right amount of resources.

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!