RHEL/CentOS 7 run-time and session resource management with cgroups

In the previous post I explained how to use systemd and cgroups to limit resources available to services. Here I’ll further expand on this topic, explaning how to manage resources for processes that are not a part of the service.

Read more...

RHEL/CentOS 7 service resource management with cgroups

The Linux control groups (cgroups) is one of my favourite tools when I need to set up how system resources are shared between running applications. With cgroups we can limit and prioritize access to CPU, memory and I/O devices (and even more).

Version 7 of RHEL and CentOS brought us the new /sbin/init replacement - systemd, with all its err… inevitable changes. One area, where these changes can be confusing at first sight, is cgroups configuration. The old way of configuring it, by means of editing several /etc/cg*.conf files is still available but no longer recommended.

So how to handle cgroups on RHEL/CentOS 7? Read up.

Read more...

IPv6 routing with EdgeRouter and SixXS

Recently I have migrated my home router from OpenBSD to Ubiquiti EdgeRouter. In this post I shall explain how to configure IPv6 tunnel provided by SixXS and how to route an IPv6 subnet into your internal network.

Read more...

Using Multicast DNS in small networks

Maintaining static DNS zones in an environment where new machines are often connected/disconnected/installed/removed is rather troublesome. Most home networks can be qualified as such environments. How to manage resolving of host names in a less annoying way? One easy solution is implementing Multicast DNS (also known as mDNS).

Read more...

On a quest for a reasonable home router

For years I’ve been routing between my home network and the world internet using Mac Mini (PowerPC, 2005 model), equipped with additional ethernet interface, running OpenBSD. Unfortunately, some time ago the hardware started to show signs of breakage. Random lockups and ethernet interface hangs forced me to consider replacing it.

Read more...