Tuning Red Hat Enterprise Linux on IBM Eserver Xseries Servers

Total Page:16

File Type:pdf, Size:1020Kb

Tuning Red Hat Enterprise Linux on IBM Eserver Xseries Servers Front cover Tuning Red Hat Enterprise Linux on IBM Eserver xSeries Servers Describes ways to tune the operating system Introduces performance tuning tools Covers key server applications Eduardo Ciliendo ibm.com/redbooks Redpaper International Technical Support Organization Tuning Red Hat Enterprise Linux on IBM Eserver xSeries Servers July 2005 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. Second Edition (July 2005) This edition applies to Red Hat Enterprise Linux AS running on IBM Eserver xSeries servers. © Copyright International Business Machines Corporation 2005. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix How this Redpaper is structured . ix The team that wrote this Redpaper . .x Become a published author . xi Comments welcome. xi Chapter 1. Understanding Linux performance . 1 1.1 The Linux CPU scheduler . 3 1.2 The Linux memory architecture. 4 1.3 The virtual memory manager . 5 1.4 Modular I/O elevators . 6 1.4.1 Anticipatory . 7 1.4.2 Complete Fair Queuing (CFQ) . 7 1.4.3 Deadline . 7 1.4.4 NOOP . 7 1.5 The network subsystem . 7 1.5.1 TCP/IP transfer window . 8 1.6 Linux file systems . 9 1.6.1 ext2 . 9 1.6.2 ext3, the default Red Hat file system . 9 1.6.3 ReiserFS . 9 1.6.4 JFS . 10 1.6.5 XFS . 10 1.7 The proc file system . 10 1.8 Understanding Linux performance metrics . 12 1.8.1 Processor metrics . 12 1.8.2 Memory metrics. 13 1.8.3 Network interface metrics . 13 1.8.4 Block device metrics . 14 Chapter 2. Monitoring tools . 15 2.1 Overview of tool function. 16 2.2 uptime . 16 2.3 dmesg . 17 2.4 top . 18 2.4.1 Process priority and nice levels. 19 2.4.2 Zombie processes. 19 2.5 iostat . 20 2.6 vmstat . 21 2.7 ps and pstree . 22 2.8 numastat . 22 2.9 sar . 23 2.10 KDE System Guard. 24 2.10.1 Work space . 25 2.11 Gnome System Monitor . 28 2.12 free . 28 © Copyright IBM Corp. 2005. All rights reserved. iii 2.13 pmap . 29 2.14 strace . 29 2.15 ulimit . 30 2.16 mpstat . 31 2.17 Capacity Manager . 32 Chapter 3. Tuning the operating system. 35 3.1 Change management . 36 3.2 Installation . 36 3.3 Daemons. 38 3.4 Changing run levels . 40 3.5 Limiting local terminals . 42 3.6 SELinux. 42 3.7 Compiling the kernel . 43 3.8 Changing kernel parameters. 44 3.8.1 Where the parameters are stored . 45 3.8.2 Using the sysctl command . ..
Recommended publications
  • THE 2003 Editionlinux
    SUBSCRIBE or renew your subscription to APC for your chance to WIN the new Alfa 156 JTS, valued at over $54,000 Only $65 for 12 issues THE 2003 edition linux POCKETBOOK Subscribe ... www.apcmag.com Online at magshop.com.au or Call 13 61 16 Authorised under NSW Permit No. L02/09075 VIC: 02/2531 SA: T02/3553 ACT: TP02/3650 NT: NT02/3286 For terms and conditions refer to www.xmas.magshop.au. Expiry date: 24/12/02 Contents CHAPTER 1 Customising Gnome 57 CHAPTER 6 Editorial INTRODUCTION 11 Exploring KDE 60 WORKING WITH WINDOWS 131 The origins of the Customising KDE 64 What about Windows? 132 Welcome back to The Linux Pocketbook 2003 edition! penguin 12 Windows connectivity 138 Many of you will probably remember the original print ver- CHAPTER 4 sions of The Linux Pocketbook on newsstands across the country. Why Linux? 18 Basic security 145 The original versions sold so well that we ran out of copies. We’ve The ways of the world 20 USING LINUX 67 had countless requests for reprints, so we’ve decided to bundle the Connecting to the Net 68 CHAPTER 7 entire book into this single resource. This version of the pocketbook relies heavily on Mandrake Linux 9.0 or Red Hat 8.0. Both were CHAPTER 2 Applications 71 PLAYING WITH LINUX 151 released late in 2002, and can be easily found for sale at www.everyth INSTALLING LINUX 21 Conjuring Linux 75 Linux multimedia 152 inglinux.com.au, or for download from either mandrakelinux.com or First published December 2000.
    [Show full text]
  • Linuxvilag-66.Pdf 8791KB 11 2012-05-28 10:27:18
    Magazin Hírek Java telefon másképp Huszonegyedik századi autótolvajok Samsung okostelefon Linuxszal Magyarországon még nem jellemzõ, Kínában már kapható de tõlünk nyugatabbra már nem tol- a Samsung SCH-i819 mo- vajkulccsal vagy feszítõvassal, hanem biltelefonja, amely Prizm laptoppal járnak az autótolvajok. 2.5-ös Linuxot futtat. Ot- Mindezt azt teszi lehetõvé, hogy tani nyaralás esetén nyu- a gyújtás, a riasztó és az ajtózárak is godtan vásárolhatunk távirányíthatóak, így egy megfelelõen belõle, hiszen a CDMA felszerelt laptoppal is irányíthatóak 800 MHz-e mellett az ezek a rendszerek. európai 900/1800 MHz-et http://www.leftlanenews.com/2006/ is támogatja. A kommunikációt egy 05/03/gone-in-20-minutes-using- Qualcomm MSM6300-as áramkör bo- laptops-to-steal-cars/ nyolítja, míg az alkalmazások egy 416 MHz-es Intel PXA270-es processzoron A Lucent Technologies és a SUN Elephants Dream futnak. A készülék Class 10-es GPRS elkészítette a Jasper S20-at, ami adatátvitelre képes, illetve tartalmaz alapvetõen más koncepcióval GPS (globális helymeghatározó) vevõt © Kiskapu Kft. Minden jog fenntartva használja a Java-t, mint a mostani is. Az eszköz 64 megabájt SDRAM-ot és telefonok. Joggal kérdezheti a kedves 128 megabájt nem felejtõ flash memóri- Olvasó, hogy megéri-e, van-e hely át kapott, de micro-SD memóriakártyá- a jelenlegi Symbian, Windows Mobile val ezt tovább bõvíthetjük. A kijelzõje és Linux trió mellett. A jelenlegi 2.4 hüvelykes, felbontása pedig „csak” telefonoknál kétféleképpen futhat 240x320 képpont 65 ezer színnel. egy program: natív vagy Java mód- Május 19-én elérhetõvé tette az Orange Természetesen a trendeknek megfele- ban. A Java mód ott szükségessé Open Movie Project elsõ rövidfilmjét lõen nem maradt ki a 2 megapixeles tesz pár olyan szintet, amely Creative Commons jogállással.
    [Show full text]
  • Linux: Come E Perchх
    ÄÒÙÜ Ô ©2007 mcz 12 luglio 2008 ½º I 1. Indice II ½º Á ¾º ¿º ÈÖÞÓÒ ½ º È ÄÒÙÜ ¿ º ÔÔÖÓÓÒÑÒØÓ º ÖÒÞ ×Ó×ØÒÞÐ ÏÒÓÛ× ¾½ º ÄÒÙÜ ÕÙÐ ×ØÖÙÞÓÒ ¾ º ÄÒÙÜ ÀÖÛÖ ×ÙÔÔ ÓÖØØÓ ¾ º È Ð ÖÒÞ ØÖ ÖÓ ÓØ Ù×Ö ¿½ ½¼º ÄÒÙÜ × Ò×ØÐÐ ¿¿ ½½º ÓÑ × Ò×ØÐÐÒÓ ÔÖÓÖÑÑ ¿ ½¾º ÒÓÒ ØÖÓÚÓ ÒÐ ×ØÓ ÐÐ ×ØÖÙÞÓÒ ¿ ½¿º Ó׳ ÙÒÓ ¿ ½º ÓÑ × Ð ××ØÑ ½º ÓÑ Ð ½º Ð× Ñ ½º Ð Ñ ØÐ ¿ ½º ÐÓ ½º ÓÑ × Ò×ØÐÐ Ð ×ØÑÔÒØ ¾¼º ÓÑ ÐØØÖ¸ Ø×Ø ÐÖ III Indice ¾½º ÓÑ ÚÖ Ð ØÐÚ×ÓÒ ¿ 21.1. Televisioneanalogica . 63 21.2. Televisione digitale (terrestre o satellitare) . ....... 64 ¾¾º ÐÑØ ¾¿º Ä 23.1. Fotoritocco ............................. 67 23.2. Grafica3D.............................. 67 23.3. Disegnovettoriale-CAD . 69 23.4.Filtricoloreecalibrazionecolori . .. 69 ¾º ×ÖÚ Ð ½ 24.1.Vari.................................. 72 24.2. Navigazionedirectoriesefiles . 73 24.3. CopiaCD .............................. 74 24.4. Editaretesto............................. 74 24.5.RPM ................................. 75 ¾º ×ÑÔ Ô ´ËÐе 25.1.Montareundiscoounapenna . 77 25.2. Trovareunfilenelsistema . 79 25.3.Vedereilcontenutodiunfile . 79 25.4.Alias ................................. 80 ¾º × ÚÓÐ×× ÔÖÓÖÑÑÖ ½ ¾º ÖÓÛ×Ö¸ ÑÐ ººº ¿ ¾º ÖÛÐРгÒØÚÖÙ× Ð ÑØØÑÓ ¾º ÄÒÙÜ ½ ¿¼º ÓÑ ØÖÓÚÖ ÙØÓ ÖÖÑÒØ ¿ ¿½º Ð Ø×ØÙÐ Ô Ö Ð ×ØÓÔ ÄÒÙÜ ¿¾º ´ÃµÍÙÒØÙ¸ ÙÒ ×ØÖÙÞÓÒ ÑÓÐØÓ ÑØ ¿¿º ËÙÜ ÙÒ³ÓØØÑ ×ØÖÙÞÓÒ ÄÒÙÜ ½¼½ ¿º Á Ó Ò ÄÒÙÜ ½¼ ¿º ÃÓÒÕÙÖÓÖ¸ ÕÙ×ØÓ ½¼ ¿º ÃÓÒÕÙÖÓÖ¸ Ñ ØÒØÓ Ô Ö ½½¿ 36.1.Unaprimaocchiata . .114 36.2.ImenudiKonqueror . .115 36.3.Configurazione . .116 IV Indice 36.4.Alcuniesempidiviste . 116 36.5.Iservizidimenu(ServiceMenu) . 119 ¿º ÃÓÒÕÙÖÓÖ Ø ½¾¿ ¿º à ÙÒ ÖÖÒØ ½¾ ¿º à ÙÒ ÐÙ×ÓÒ ½¿½ ¼º ÓÒÖÓÒØÓ Ò×ØÐÐÞÓÒ ÏÒÓÛ×È ÃÍÙÒØÙ º½¼ ½¿¿ 40.1.
    [Show full text]
  • Tuning SUSE LINUX Enterprise Server on IBM Eserver Xseries Servers
    Front cover Tuning SUSE LINUX Enterprise Server on IBMM Eserver xSeries Servers Describes ways to tune the operating system Introduces performance tuning tools Covers key server applications David Watts Martha Centeno Raymond Phillips Luciano Magalhães Tomé ibm.com/redbooks Redpaper International Technical Support Organization Tuning SUSE LINUX Enterprise Server on IBM Eserver xSeries Servers July 2004 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (July 2004) This edition applies to SUSE LINUX Enterprise Server 8 and 9 running on IBM Eserver xSeries servers. © Copyright International Business Machines Corporation 2004. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix The team that wrote this Redpaper . ix Become a published author . .x Comments welcome. xi Chapter 1. Tuning the operating system. 1 1.1 Disabling daemons . 2 1.2 Shutting down the GUI . 4 1.3 Compiling the kernel . 6 1.4 Changing kernel parameters. 7 1.5 V2.4 kernel parameters. 9 1.6 V2.6 kernel parameters. 12 1.7 Tuning the processor subsystem . 14 1.8 Tuning the memory subsystem . 15 1.9 Tuning the file system . 16 1.9.1 Hardware considerations before installing Linux. 16 1.9.2 ReiserFS, the default SUSE LINUX file system . 19 1.9.3 Other journaling file systems. 20 1.9.4 File system tuning in the Linux kernel. 20 1.9.5 The swap partition. 26 1.10 Tuning the network subsystem .
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • SUSE Linux: a Complete Guide to Novell's Community Distributionwill
    SUSE Linux By Chris Brown, PhD ............................................... Publisher: O'Reilly Pub Date: July 2006 Print ISBN-10: 0-596-10183-X Print ISBN-13: 978-0-59-610183-1 Pages: 446 Table of Contents SUSE Linux: A Complete Guide to Novell's Community Distribution will get you up to speed quickly and easily on SUSE, one of the most friendly and usable Linux distributions around. From quick and easy installation to excellent hardware detection and support, it's no wonder SUSE is one of the most highly rated distributions on the planet. According to Novell, SUSE is installed more than 7,000 times every day, an average of one installation every 12 seconds. This book will take you deep into the essential operating system components by presenting them in easy-to-learn modules. From basic installation and configuration through advanced topics such as administration, security, and virtualization, this book captures the important details of how SUSE works--without the fluff that bogs down other books and web sites. Instead, readers get a concise task-based approach to using SUSE as both a desktop and server operating system. In this book, you'll learn how to: Install SUSE and perform basic administrative tasks Share files with other computers Connect to your desktop remotely Set up a web server Set up networking, including Wi-Fi and Bluetooth Tighten security on your SUSE system Monitor for intrusions Manage software and upgrades smoothly Run multiple instances of SUSE on a single machine with Xen Whether you use SUSE Linux from Novell, or the free openSUSE distribution, this book has something for every level of user.
    [Show full text]
  • Lesson G15 En. Red Hat Linux Operation System
    Leonardo da Vinci Programme – Project RO/03/B/P/PP175006 LESSON G15_EN. RED HAT LINUX OPERATION SYSTEM Parent Entity: IPA SA, Bucharest, Romania, 167 bis, Calea Floreasca, e-mail: [email protected];Fax: + 4021 316 16 20 Authors: Mariana Bistran, Principal Researcher, IPA SA, Bucharest, Romania, 167 bis, Calea Floreasca, Fax: + 4021 318 00 51 Professor Gheorghe Mincu Sandulescu, PhD, IPA SA, Bucharest, Romania, 167 bis, Calea Floreasca, e-mail: [email protected]; Fax: + 4021 318 00 51, Consultations: Every working day from 9.00 a.m. to 12.00 p.m.. After studying this lesson, you will acquire the following knowledge: To work with the application programs of the Linux graphical interfaces The main steps to install and configure the Red Hat Linux To find commands for Internet access for both systems Linux and Unix CONTENT OF THE LESSON 1. INTRODUCTION IN RED HAT LINUX OPERATING SYSTEM 2. HOW TO PERFORM THE INSTALLATION AND CONFIGURATION OF RED HAT LINUX 9.0 3. HOW TO WORK WITH RED HAT LINUX OPERATING SYSTEM? 4. WHICH IS THE COMMON STRUCTURE OF THE GRAPHICAL INTERFACES OF LINUX? 5. MAIN DIFFERENCES AND RESEMBLANCES BETWEEN LINUX AND MICROSOFT WINDOWS 6. HOW TO WORK IN TEXT MODE WITH RED HAT LINUX 7. HOW TO FIND THE MAIN COMMANDS FOR INTERNET ACCESS IN LINUX AND UNIX OPERATING SYSTEMS LEARNING OBJECTIVES: After covering the lesson you will obtain knowledge about: The main components as free, open source programs of the distribution of Red Hat Linux Starting the installation and configuration processes of Linux How can we use the programs for configuration of Linux operating system and their graphical interfaces GNOME and KDE Starting work in text mode with Linux Main commands for Internet access in Linux and in Unix operating systems 1.
    [Show full text]
  • Metadefender Core V4.14.2
    MetaDefender Core v4.14.2 © 2018 OPSWAT, Inc. All rights reserved. OPSWAT®, MetadefenderTM and the OPSWAT logo are trademarks of OPSWAT, Inc. All other trademarks, trade names, service marks, service names, and images mentioned and/or used herein belong to their respective owners. Table of Contents About This Guide 11 Key Features of Metadefender Core 12 1. Quick Start with MetaDefender Core 13 1.1. Installation 13 Operating system invariant initial steps 13 Basic setup 14 1.1.1. Configuration wizard 14 1.2. License Activation 19 1.3. Process Files with MetaDefender Core 19 2. Installing or Upgrading Metadefender Core 20 2.1. Recommended System Requirements 20 System Requirements For Server 20 Browser Requirements for the Metadefender Core Management Console 22 2.2. Installing Metadefender 22 Installation 22 Installation notes 23 2.2.1. Installing Metadefender Core using command line 23 2.2.2. Installing Metadefender Core using the Install Wizard 25 2.3. Upgrading MetaDefender Core 25 Upgrading from MetaDefender Core 3.x 25 Upgrading from MetaDefender Core 4.x 26 2.4. Metadefender Core Licensing 26 2.4.1. Activating Metadefender Licenses 26 2.4.2. Checking Your Metadefender Core License 33 2.5. Performance and Load Estimation 34 What to know before reading the results: Some factors that affect performance 34 How test results are calculated 35 Test Reports 35 Performance Report - Multi-Scanning On Linux 35 Performance Report - Multi-Scanning On Windows 39 2.6. Special installation options 42 Use RAMDISK for the tempdirectory 42 3. Configuring MetaDefender Core 46 3.1. Management Console 46 3.2.
    [Show full text]
  • Introduction to Software Engineering
    Introduction to Software Engineering Edited by R.P. Lano (Version 0.1) Table of Contents Introduction to Software Engineering..................................................................................................1 Introduction........................................................................................................................................13 Preface...........................................................................................................................................13 Introduction....................................................................................................................................13 History...........................................................................................................................................14 References......................................................................................................................................15 Software Engineer..........................................................................................................................15 Overview........................................................................................................................................15 Education.......................................................................................................................................16 Profession.......................................................................................................................................17 Debates within
    [Show full text]
  • TOPSPIN Installation Guide for Red Hat Enterprise Linux WS 3
    TOPSPIN Installation Guide for Red Hat Enterprise Linux WS 3 Copyright (C) 2004 by Bruker BioSpin GmbH All rights reserved. No part of this publication may be reproduced, stored in a retrieval sys- tem, or transmitted, in any form, or by any means without the prior consent of the publisher. Part-No: H9556SL1/02/01 revision state: 12/17/2004 Product names used are trademarks or registered trademarks of their respective holders. INDEX DONE INDEX Bruker software support is available via phone, fax, e-mail, Internet, or ISDN. Please contact your local office, or directly: Address: Bruker BioSpin GmbH Service & Support Department Silberstreifen 76287 Rheinstetten Germany Phone: +49 (721) 5161 455 Fax: +49 (721) 5161 943 E-mail: [email protected] FTP: ftp.bruker.de / ftp.bruker.com WWW: www.bruker-biospin.de / www.bruker-biospin.com ISDN: on request Contents Chapter 1 Introduction . 9 1.1 About this manual. 9 1.2 Conventions . 10 1.3 Hardware and software requirements for TopSpin . .11 1.3.1 Operating system requirements. 11 1.3.2 Special PC Hardware requirements . 11 1.3.3 Spectrometer requirements . 12 1.3.3.1 Avance systems with AQS rack . 12 1.3.3.2 Avance systems with AQX/AQR rack . 14 1.3.4 Software requirements . 17 1.4 Important Red Hat Linux Enterprise WS 3 configurations . 18 1.4.1 KDE - desktop manager: recommended by Bruker BioSpin . 18 Chapter 2 Express Installation and Configuration of TOPSPIN . 19 2.1 About this chapter. 19 2.2 Installing TOPSPIN. 19 2.2.1 Installation in parallel .
    [Show full text]
  • Metadefender Core V4.11.1
    MetaDefender Core v4.11.1 © 2018 OPSWAT, Inc. All rights reserved. OPSWAT®, MetadefenderTM and the OPSWAT logo are trademarks of OPSWAT, Inc. All other trademarks, trade names, service marks, service names, and images mentioned and/or used herein belong to their respective owners. Table of Contents About This Guide 13 Key Features of Metadefender Core 14 1. Quick Start with Metadefender Core 15 1.1. Installation 15 Operating system invariant initial steps 15 Basic setup 16 1.1.1. Configuration wizard 16 1.2. License Activation 22 1.3. Scan Files with Metadefender Core 22 2. Installing or Upgrading Metadefender Core 23 2.1. Recommended System Requirements 23 System Requirements For Server 23 Browser Requirements for the Metadefender Core Management Console 25 2.2. Installing Metadefender 26 Installation 26 Installation notes 26 2.2.1. Installing Metadefender Core using command line 26 2.2.2. Installing Metadefender Core using the Install Wizard 28 2.3. Upgrading MetaDefender Core 28 Upgrading from MetaDefender Core 3.x 28 Upgrading from MetaDefender Core 4.x 28 2.4. Metadefender Core Licensing 29 2.4.1. Activating Metadefender Licenses 29 2.4.2. Checking Your Metadefender Core License 35 2.5. Performance and Load Estimation 36 What to know before reading the results: Some factors that affect performance 36 How test results are calculated 37 Test Reports 37 Performance Report - Multi-Scanning On Linux 37 Performance Report - Multi-Scanning On Windows 41 2.6. Special installation options 46 Use RAMDISK for the tempdirectory 46 3. Configuring Metadefender Core 50 3.1. Management Console 50 3.2.
    [Show full text]
  • Linux Performance and Tuning Guidelines
    Front cover Linux Performance and Tuning Guidelines Operating system tuning methods Performance monitoring tools Performance analysis Eduardo Ciliendo Takechika Kunimasa ibm.com/redbooks Redpaper International Technical Support Organization Linux Performance and Tuning Guidelines July 2007 REDP-4285-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (July 2007) This edition applies to kernel 2.6 Linux distributions. This paper was updated on April 25, 2008. © Copyright International Business Machines Corporation 2007. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix How this paper is structured. ix The team that wrote this paper . .x Become a published author . xi Comments welcome. xii Chapter 1. Understanding the Linux operating system. 1 1.1 Linux process management . 2 1.1.1 What is a process? . 2 1.1.2 Life cycle of a process . 3 1.1.3 Thread. 4 1.1.4 Process priority and nice level . 5 1.1.5 Context switching . 5 1.1.6 Interrupt handling . 6 1.1.7 Process state . 6 1.1.8 Process memory segments. 8 1.1.9 Linux CPU scheduler . 9 1.2 Linux memory architecture . 10 1.2.1 Physical and virtual memory . 10 1.2.2 Virtual memory manager. 12 1.3 Linux file systems . 15 1.3.1 Virtual file system . 15 1.3.2 Journaling . 16 1.3.3 Ext2. 17 1.3.4 Ext3.
    [Show full text]