11.01.2015 Views

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

Red Hat Enterprise Linux Installation Guide 5.2 - linux.meuhobby.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 22. Additional Information for IBM System z Users<br />

# ifup ethn<br />

# ifup trn<br />

7. Kernel-Related Information<br />

<strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> includes a modification to the way the <strong>Linux</strong> kernel timer interrupt is<br />

handled. Normally, a hardware timer is set to generate periodic interrupts at a fixed rate (100<br />

times a second for most architectures). These periodic timer interrupts are used by the kernel to<br />

schedule various internal housekeeping tasks, such as process scheduling, accounting, and<br />

maintaining system uptime.<br />

While a timer-based approach works well for a system environment where only one copy of the<br />

kernel is running, it can cause additional overhead when many copies of the kernel are running<br />

on a single system (for example, as z/VM(R) guests). In these cases, having thousands of<br />

copies of the kernel each generating interrupts many times a second can result in excessive<br />

system overhead.<br />

Therefore, <strong>Red</strong> <strong>Hat</strong> <strong>Enterprise</strong> <strong>Linux</strong> now includes the ability to turn off periodic timer interrupts.<br />

This is done through the /proc/ file system. To disable periodic timer interrupts, issue the<br />

following <strong>com</strong>mand:<br />

echo 0 > /proc/sys/kernel/hz_timer<br />

To enable periodic timer interrupts, issue the following <strong>com</strong>mand:<br />

echo 1 > /proc/sys/kernel/hz_timer<br />

By default, periodic timer interrupts are disabled.<br />

Periodic timer interrupt states can also be set at boot-time; to do so, add the following line to<br />

/etc/sysctl.conf to disable periodic timer interrupts:<br />

kernel.hz_timer = 0<br />

Note<br />

Disabling periodic timer interrupts can violate basic assumptions in system<br />

accounting tools. If you notice a malfunction related to system accounting, verify<br />

that the malfunction disappears if periodic timer interrupts are enabled, then<br />

submit a bug at http://bugzilla.redhat.<strong>com</strong>/bugzilla/ (for malfunctioning bundled<br />

tools), or inform the tool vendor (for malfunctioning third-party tools).<br />

244

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!