Performance monitoring. in the GNU/Linux environment. Linux is like a wigwam - no Windows, no Gates, Apache inside!

Size: px
Start display at page:

Download "Performance monitoring. in the GNU/Linux environment. Linux is like a wigwam - no Windows, no Gates, Apache inside!"

Transcription

1 1 Performance monitoring in the GNU/Linux environment Linux is like a wigwam - no Windows, no Gates, Apache inside! 2 1

2 Post-conditions To be familiar with some performance-tuning options To be able to select appropriate performance monitoring tools under Linux To be able to apply reasonable interpretation to the output of performance monitoring tools (under Linux). 3 References Fink, J.R., & M.D. Sherer, (2002). Linux Performance Tuning and Capacity Planning. SAMS: Indianapolis. Loukides, M. (1991). System Performance Tuning. O Reilly: Sebastapol, CA. 4 2

3 Reactive versus Proactive Tuning Reactive: observe a bottleneck and respond Proactive: predict a bottleneck (based on capacity planning) and anticipate needs 5 Typical targets of tuning CPU Memory Swap Disk X11 Application settings Networking but not a focus of this unit Other sound, etc. 6 3

4 Compute-bound vs. I/O-bound Compute-bound applications bound by CPU speed I/O-bound applications bound by I/O speed 7 Typical tuning activities Monitoring performance monitoring tools bench-marking tests Tuning hardware upgrades driver upgrades application tuning and management kernel configuration and compilation 8 4

5 Some Linux Monitoring Tools 9 free Statistics: total: used: free: Total available memory Total amount of memory used Total amount of free memory shared: Total shared memory being used buffers: Size of disk buffer cache cached: Amount of memory that has been cached to disk 10 5

6 free Note that Linux uses an aggressive caching policy which may cause surprise when observing memory usage. 11 free YIKES! $ free total used free shared buffers cached Mem: /+ buffers/cache: Swap: Used memory (no buffers/cache) Free memory (with buffers/cache) 12 6

7 uptime Statistics: The length of time that the system has been up. The average number of jobs in the run queue for the last 1 minute, 5 minutes, 10 minutes values over 1 indicate resource starvation 13 uptime Mean queue (10 mins) $ uptime 4:50am up 1:21, 1 user, load average: 0.07, 0.04, 0.01 Up for 1 hour, 21 minutes Mean queue (5 mins) Problems sleeping! Mean queue (last minute) What There can are you no warning say about signs; the the system system based is lightly on this loaded. output? 14 7

8 uptime $ uptime 5:52am up 2:23, 1 user, load average: 4.18, 3.01, 2.86 What The CPU can is you a bottleneck say about the under system current based loads, on and this there output? is evidence of backlog. 15 vmstat procs r: number of processes waiting to run b: number of processes interrupted from sleep mode w: number of processes swapped out and yet to run memory swpd: total amount of virtual memory in use free: total amount of free memory buff: total amount of buffered memory cache: amount of cache in use swap si: memory transferred from swap space into memory so: memory swapped to disk 16 8

9 vmstat io bi: disk block sent to disk devices (blocks / sec) bo: outbound disk activity system in: interrupts / sec (including CPU clocks) cs: context switches per second cpu us: % cycles on user processes sy: % cycles on system processes id: % cycles idle 17 vmstat $ vmstat procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id

10 vmstat $ vmstat 2 6 procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id The /proc pseudo file-system /proc is a pseudo file-system, providing a hook into the kernel. Typically it is used for reading various kernel parameters. It may also be used for changing such parameters (without the need to recompile the kernel!) 20 10

11 /proc/cpuinfo $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 8 model name : Pentium III (Coppermine) stepping : 6 cpu MHz : cache size : 256 KB fdiv_bug : no hlt_bug : no sep_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr xmm bogomips : /proc/meminfo $ cat /proc/meminfo total: used: free: shared: buffers: cached: Mem: Swap: MemTotal: kb MemFree: kb MemShared: 0 kb Buffers: 2848 kb Cached: kb BigTotal: 0 kb BigFree: 0 kb SwapTotal: kb SwapFree: kb 22 11

12 Some other examples /proc/devices /proc/interrupts /proc/loadavg /proc/modules /proc/mounts /proc/partitions 23 bonnie Bonnie performs a disk I/O benchmark test: Writing to disk: Sequentially, one character at a time Sequentially, in larger blocks Reading from disk: Sequentially, one character at a time Sequentially, in larger blocks Random seeks 24 12

13 bonnie $ bonnie File './Bonnie.9318', size: Writing with putc()...done Rewriting...done Writing intelligently...done Reading with getc()...done Reading intelligently...done Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done Sequential Output Sequential Input-- --Random-- -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks--- Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU top Status: Up time number of processes CPU states memory swap 26 13

14 top Per-process details: PID process ID number USER user name PRI priority NI nice value SIZE total, including code, data, and stack space (KB) RSS physical memory used SHARE shared memory used STATE sleeping (S), uninterrupted (D), runnable (R), stopped (T), zombie (Z) TIME CPU time since starting %CPU CPU time since last update %MEM share of physical memory COMMAND command name 27 top $ top 5:03am up 1:34, 1 user, load average: 0.00, 0.00, processes: 111 sleeping, 1 running, 0 zombie, 0 stopped CPU states: 1.5% user, 1.0% system, 0.0% nice, 97.3% idle Mem: K av, K used, 2652K free, 0K shrd, 6012K buff Swap: K av, 0K used, K free 52084K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 9268 tony R :00 top 1 root S :05 init 2 root SW :00 kflushd 3 root SW :00 kupdate 4 root SW :00 kswapd 5 root SW< :00 mdrecoveryd 32 root S :00 open 40 root S :11 wsmonitorbin 381 root SW :00 khubd 411 bin S :00 portmap 476 root S :00 automount 492 root S :00 automount 540 root S :00 apmd 556 root S :00 syslogd Processes swapped out 28 14

15 xload 29 xosview Process load average CPU usage: user, nice, sys, free Memory: user-allocated, buffer, cache, free Swap: in-use, free Paging: paging in, paging out, idle Disk: read, write, idle Interrupts: 0 to

16 Responses 31 CPU tuning Hardware solutions: Faster processor Multiprocessor environment especially if the offending applications fork into multiple processes or, if the application was specifically designed to optimise in SMP (shared memory multiprocessor ) environments Linux scales well to SMP (at least to 8 CPUs) Different architecture 32 16

17 CPU tuning Software solutions: Application configuration turn off capabilities that aren t being used System configuration turn off competing processes that aren t useful 33 CPU tuning Kernel solutions: Not a lot of options can define the specific CPU type and features in the build which enables specific optimisations to be used base kernel usually assumes low-end capabilities some kernel patches may address the issue in other ways e.g., low latency patch for music 34 17

18 Memory tuning Hardware solutions: More memory Faster memory newer memory is often much faster Cache size hardware caches generally improve access, but over-large caches may involve longer look-up times 35 Memory tuning Software solutions: Application choice bad coding can result in performance that appears to be due to a lack of memory user threads vs. POSIX threads Addressable memory Intel chips often impose a 4GB-addressable memory limit Processor Address Extension extends this, but requires tuning. Otherwise, consider a 64b architecture 36 18

19 Memory tuning Kernel solutions: Contiguous memory needs may respond to a bigmem kernel patch Monolithic versus modular kernels Modular kernels only load in the relevant functionality as it is required. If you don t use a particular piece of hardware often, for example, then having that driver modular will conserve kernel memory space 37 Memory tuning Swap-space planning: Consider programs that will run concurrently Determine their memory requirements and add a few extra MB Subtract physical memory from this amount the remainder is the minimum swap space if this is 3 times physical RAM, you need more RAM

20 X-Window issues (overview) x11perf benchmark Increase priority of the X server using nice or renice, if it is already running a nice value of -10 is recommended nice /usr/x11r6/bin/x 39 X-Window issues (overview) Check that the configuration file represents the system accurately /etc/x11/xf86config-4 Decrease colour depth Decrease resolution Turn off unused modules e.g., if you don t use 3D comment out the GLCore and glx modules in the configuration file 40 20

21 X-Window issues (overview) Load less fonts Upgrade the X server Upgrade the hardware Tune the desktop environment X-client tuning is a whole performance domain in itself! Without X, 16-32MB memory should be fine With small window managers, 32-48MB needed Larger WMs may need MB RAM. 41 That s not all, folks! 42 21

22 Post-conditions To be familiar with some performance-tuning options To be able to select appropriate performance monitoring tools under Linux To be able to apply reasonable interpretation to the output of performance monitoring tools (under Linux). 43 Sources Images (in order) Other resources (first resource in particular) Fink, J.R., & M.D. Sherer, (2002). Linux Performance Tuning and Capacity Planning. SAMS: Indianapolis. Loukides, M. (1991). System Performance Tuning. O Reilly: Sebastapol, CA

These sub-systems are all highly dependent on each other. Any one of them with high utilization can easily cause problems in the other.

These sub-systems are all highly dependent on each other. Any one of them with high utilization can easily cause problems in the other. Abstract: The purpose of this document is to describe how to monitor Linux operating systems for performance. This paper examines how to interpret common Linux performance tool output. After collecting

More information

Facultat d'informàtica de Barcelona Univ. Politècnica de Catalunya. Administració de Sistemes Operatius. System monitoring

Facultat d'informàtica de Barcelona Univ. Politècnica de Catalunya. Administració de Sistemes Operatius. System monitoring Facultat d'informàtica de Barcelona Univ. Politècnica de Catalunya Administració de Sistemes Operatius System monitoring Topics 1. Introduction to OS administration 2. Installation of the OS 3. Users management

More information

Popular Unix Performance- Monitoring Tools for Linux CHAPTER

Popular Unix Performance- Monitoring Tools for Linux CHAPTER Popular Unix Performance- Monitoring Tools for Linux CHAPTER 3 46 Performance Tuning Tools PART II Before the Linux kernel, there was Unix. Well, okay, there were a lot of different flavors of Unix, but

More information

Extreme Linux Performance Monitoring Part II

Extreme Linux Performance Monitoring Part II I. Introducing IO Monitoring Disk IO subsystems are the slowest part of any Linux system. This is due mainly to their distance from the CPU and the fact that disks require the physics to work (rotation

More information

CIT 470: Advanced Network and System Administration. Topics. Performance Monitoring. Performance Monitoring

CIT 470: Advanced Network and System Administration. Topics. Performance Monitoring. Performance Monitoring CIT 470: Advanced Network and System Administration Performance Monitoring CIT 470: Advanced Network and System Administration Slide #1 Topics 1. Performance monitoring. 2. Performance tuning. 3. CPU 4.

More information

CIT 668: System Architecture. Performance Testing

CIT 668: System Architecture. Performance Testing CIT 668: System Architecture Performance Testing Topics 1. What is performance testing? 2. Performance-testing activities 3. UNIX monitoring tools What is performance testing? Performance testing is a

More information

Release 2.3.4 - February 2005

Release 2.3.4 - February 2005 Release 2.3.4 - February 2005 Linux Performance Monitoring Darren Hoch Services Architect StrongMail Systems, Inc. PUBLISHED BY: Darren Hoch dhoch@strongmail.com http://www.ufsdump.org Copyright 2007

More information

CS 377: Operating Systems. Outline. A review of what you ve learned, and how it applies to a real operating system. Lecture 25 - Linux Case Study

CS 377: Operating Systems. Outline. A review of what you ve learned, and how it applies to a real operating system. Lecture 25 - Linux Case Study CS 377: Operating Systems Lecture 25 - Linux Case Study Guest Lecturer: Tim Wood Outline Linux History Design Principles System Overview Process Scheduling Memory Management File Systems A review of what

More information

System Administration

System Administration Performance Monitoring For a server, it is crucial to monitor the health of the machine You need not only real time data collection and presentation but offline statistical analysis as well Characteristics

More information

An Implementation Of Multiprocessor Linux

An Implementation Of Multiprocessor Linux An Implementation Of Multiprocessor Linux This document describes the implementation of a simple SMP Linux kernel extension and how to use this to develop SMP Linux kernels for architectures other than

More information

Monitoring Linux with native tools

Monitoring Linux with native tools Monitoring Linux with native tools Robert Andresen 30th Annual International Conference of The Computer Measurement Group, Inc. December 5-10, 2004 Las Vegas, Nevada USA Linux is gaining interest as a

More information

NCCS Brown Bag Series

NCCS Brown Bag Series NCCS Brown Bag Series Tips for Monitoring Memory Usage in PBS jobs on Discover Chongxun (Doris) Pan doris.pan@nasa.gov October 16, 2012 After the talk, you will understand -- What s memory swapping, really?

More information

Removing Performance Bottlenecks in Databases with Red Hat Enterprise Linux and Violin Memory Flash Storage Arrays. Red Hat Performance Engineering

Removing Performance Bottlenecks in Databases with Red Hat Enterprise Linux and Violin Memory Flash Storage Arrays. Red Hat Performance Engineering Removing Performance Bottlenecks in Databases with Red Hat Enterprise Linux and Violin Memory Flash Storage Arrays Red Hat Performance Engineering Version 1.0 August 2013 1801 Varsity Drive Raleigh NC

More information

ovirt QoS Martin Sivák Red Hat Czech KVM Forum October 2013 ovirt QOS

ovirt QoS Martin Sivák Red Hat Czech KVM Forum October 2013 ovirt QOS ovirt QoS Martin Sivák Red Hat Czech KVM Forum October 2013 1 Agenda Why is QoS important? Scalability and management challenges Managing resources CPU Network Memory Future plans 2 How do we define QoS?

More information

TOP(1) Linux User s Manual TOP(1)

TOP(1) Linux User s Manual TOP(1) NAME top display top CPU processes SYNOPSIS top [ ] [ddelay] [ppid] [q][c][c][s][s][i][niter] [b] DESCRIPTION top provides an ongoing look at processor activity in real time. It displays a listing of the

More information

Virtualization on Linux Using KVM and libvirt. Matt Surico Long Island Linux Users Group 11 March, 2014

Virtualization on Linux Using KVM and libvirt. Matt Surico Long Island Linux Users Group 11 March, 2014 Virtualization on Linux Using KVM and libvirt Matt Surico Long Island Linux Users Group 11 March, 2014 What will we talk about? Rationalizing virtualization Virtualization basics How does it work under

More information

Audit & Tune Deliverables

Audit & Tune Deliverables Audit & Tune Deliverables The Initial Audit is a way for CMD to become familiar with a Client's environment. It provides a thorough overview of the environment and documents best practices for the PostgreSQL

More information

Optimizing Linux Performance

Optimizing Linux Performance Optimizing Linux Performance Why is Performance Important Regular desktop user Not everyone has the latest hardware Waiting for an application to open Application not responding Memory errors Extra kernel

More information

Web Application s Performance Testing

Web Application s Performance Testing Web Application s Performance Testing B. Election Reddy (07305054) Guided by N. L. Sarda April 13, 2008 1 Contents 1 Introduction 4 2 Objectives 4 3 Performance Indicators 5 4 Types of Performance Testing

More information

Distributed Computing under Linux

Distributed Computing under Linux Distributed Computing under Linux Lars Lindbom and E. Niclas Jonsson Division of Pharmacokinetics and Drug Therapy Department of Pharmaceutical Biosciences Uppsala University Overview What is Distributed

More information

Determining the Correct Usage of Swap in Linux * 2.6 Kernels

Determining the Correct Usage of Swap in Linux * 2.6 Kernels Technical White Paper LINUX OPERATING SYSTEMS www.novell.com Determining the Correct Usage of Swap in Linux * 2.6 Kernels Determining the Correct Usage of Swap in Linux 2.6 Kernels Table of Contents: 2.....

More information

Delivering Quality in Software Performance and Scalability Testing

Delivering Quality in Software Performance and Scalability Testing Delivering Quality in Software Performance and Scalability Testing Abstract Khun Ban, Robert Scott, Kingsum Chow, and Huijun Yan Software and Services Group, Intel Corporation {khun.ban, robert.l.scott,

More information

Virtuoso and Database Scalability

Virtuoso and Database Scalability Virtuoso and Database Scalability By Orri Erling Table of Contents Abstract Metrics Results Transaction Throughput Initializing 40 warehouses Serial Read Test Conditions Analysis Working Set Effect of

More information

20 Command Line Tools to Monitor Linux Performance

20 Command Line Tools to Monitor Linux Performance 20 Command Line Tools to Monitor Linux Performance 20 Command Line Tools to Monitor Linux Performance It s really very tough job for every System or Network administrator to monitor and debug Linux System

More information

OS Thread Monitoring for DB2 Server

OS Thread Monitoring for DB2 Server 1 OS Thread Monitoring for DB2 Server Minneapolis March 1st, 2011 Mathias Hoffmann ITGAIN GmbH mathias.hoffmann@itgain.de 2 Mathias Hoffmann Background Senior DB2 Consultant Product Manager for SPEEDGAIN

More information

EXADATA HEALTH AND RESOURCE USAGE MONITORING ORACLE WHITE PAPER NOVEMBER 2014

EXADATA HEALTH AND RESOURCE USAGE MONITORING ORACLE WHITE PAPER NOVEMBER 2014 ` EXADATA HEALTH AND RESOURCE USAGE MONITORING ORACLE WHITE PAPER NOVEMBER 2014 Table of Contents Introduction... 5 Methodology... 5 Steps to follow before problems occur... 5 Exachk... 6 AWR Baselines...

More information

System Resources. To keep your system in optimum shape, you need to be CHAPTER 16. System-Monitoring Tools IN THIS CHAPTER. Console-Based Monitoring

System Resources. To keep your system in optimum shape, you need to be CHAPTER 16. System-Monitoring Tools IN THIS CHAPTER. Console-Based Monitoring CHAPTER 16 IN THIS CHAPTER. System-Monitoring Tools. Reference System-Monitoring Tools To keep your system in optimum shape, you need to be able to monitor it closely. Such monitoring is imperative in

More information

Chapter 10: System monitoring and logging. Chapter 10 System monitoring and logging

Chapter 10: System monitoring and logging. Chapter 10 System monitoring and logging Chapter 1: System monitoring and logging Chapter 1 System monitoring and logging Last revised: 19/7/24 Chapter 1 Outline In this chapter we will learn how to: Monitor system load Monitor disk usage Monitor

More information

Scheduling. Scheduling. Scheduling levels. Decision to switch the running process can take place under the following circumstances:

Scheduling. Scheduling. Scheduling levels. Decision to switch the running process can take place under the following circumstances: Scheduling Scheduling Scheduling levels Long-term scheduling. Selects which jobs shall be allowed to enter the system. Only used in batch systems. Medium-term scheduling. Performs swapin-swapout operations

More information

Enabling Technologies for Distributed Computing

Enabling Technologies for Distributed Computing Enabling Technologies for Distributed Computing Dr. Sanjay P. Ahuja, Ph.D. Fidelity National Financial Distinguished Professor of CIS School of Computing, UNF Multi-core CPUs and Multithreading Technologies

More information

White Paper Perceived Performance Tuning a system for what really matters

White Paper Perceived Performance Tuning a system for what really matters TMurgent Technologies White Paper Perceived Performance Tuning a system for what really matters September 18, 2003 White Paper: Perceived Performance 1/7 TMurgent Technologies Introduction The purpose

More information

Increasing XenServer s VM density

Increasing XenServer s VM density Increasing XenServer s VM density Jonathan Davies, XenServer System Performance Lead XenServer Engineering, Citrix Cambridge, UK 24 Oct 2013 Jonathan Davies (Citrix) Increasing XenServer s VM density 24

More information

Why Computers Are Getting Slower (and what we can do about it) Rik van Riel Sr. Software Engineer, Red Hat

Why Computers Are Getting Slower (and what we can do about it) Rik van Riel Sr. Software Engineer, Red Hat Why Computers Are Getting Slower (and what we can do about it) Rik van Riel Sr. Software Engineer, Red Hat Why Computers Are Getting Slower The traditional approach better performance Why computers are

More information

Red Hat Linux Internals

Red Hat Linux Internals Red Hat Linux Internals Learn how the Linux kernel functions and start developing modules. Red Hat Linux internals teaches you all the fundamental requirements necessary to understand and start developing

More information

About Forum Howtos & FAQs Low graphics Shell Scripts RSS/Feed. nixcraft - insight into linux admin work Home > CentOS. by Vivek Gite 134 comments

About Forum Howtos & FAQs Low graphics Shell Scripts RSS/Feed. nixcraft - insight into linux admin work Home > CentOS. by Vivek Gite 134 comments 1 von 14 15.06.2010 05:12 About Forum Howtos & FAQs Low graphics Shell Scripts RSS/Feed nixcraft - insight into linux admin work Home > CentOS by Vivek Gite 134 comments Need to monitor Linux server performance?

More information

Performance Tuning and Optimizing SQL Databases 2016

Performance Tuning and Optimizing SQL Databases 2016 Performance Tuning and Optimizing SQL Databases 2016 http://www.homnick.com marketing@homnick.com +1.561.988.0567 Boca Raton, Fl USA About this course This four-day instructor-led course provides students

More information

Release 2.3.4 - February 2005

Release 2.3.4 - February 2005 Release 2.3.4 - February 2005 Linux System and Performance Monitoring Darren Hoch Director of Professional Services StrongMail Systems, Inc. Linux Performance Monitoring PUBLISHED BY: Darren Hoch StrongMail

More information

Multiprocessor Scheduling and Scheduling in Linux Kernel 2.6

Multiprocessor Scheduling and Scheduling in Linux Kernel 2.6 Multiprocessor Scheduling and Scheduling in Linux Kernel 2.6 Winter Term 2008 / 2009 Jun.-Prof. Dr. André Brinkmann Andre.Brinkmann@uni-paderborn.de Universität Paderborn PC² Agenda Multiprocessor and

More information

Performance Evaluation in Database Research: Principles and Experiences

Performance Evaluation in Database Research: Principles and Experiences Planning Presentation Repeatability Summary Manegold (CWI) Performance Evaluation: Principles & Experiences 1/144 Performance Evaluation in Database Research: Principles and Experiences Stefan Manegold

More information

Operating System and Process Monitoring Tools

Operating System and Process Monitoring Tools http://www.cse.wustl.edu/~jain/cse567-06/ftp/os_monitors/index.html 1 of 12 Operating System and Process Monitoring Tools Arik Brooks, awb1@wustl.edu Abstract: Monitoring the performance of operating systems

More information

File System & Device Drive. Overview of Mass Storage Structure. Moving head Disk Mechanism. HDD Pictures 11/13/2014. CS341: Operating System

File System & Device Drive. Overview of Mass Storage Structure. Moving head Disk Mechanism. HDD Pictures 11/13/2014. CS341: Operating System CS341: Operating System Lect 36: 1 st Nov 2014 Dr. A. Sahu Dept of Comp. Sc. & Engg. Indian Institute of Technology Guwahati File System & Device Drive Mass Storage Disk Structure Disk Arm Scheduling RAID

More information

Enabling Technologies for Distributed and Cloud Computing

Enabling Technologies for Distributed and Cloud Computing Enabling Technologies for Distributed and Cloud Computing Dr. Sanjay P. Ahuja, Ph.D. 2010-14 FIS Distinguished Professor of Computer Science School of Computing, UNF Multi-core CPUs and Multithreading

More information

Where is the memory going? Memory usage in the 2.6 kernel

Where is the memory going? Memory usage in the 2.6 kernel Where is the memory going? Memory usage in the 2.6 kernel Sep 2006 Andi Kleen, SUSE Labs ak@suse.de Why save memory Weaker reasons "I ve got 1GB of memory. Why should I care about memory?" Old machines

More information

Embedded Systems. 6. Real-Time Operating Systems

Embedded Systems. 6. Real-Time Operating Systems Embedded Systems 6. Real-Time Operating Systems Lothar Thiele 6-1 Contents of Course 1. Embedded Systems Introduction 2. Software Introduction 7. System Components 10. Models 3. Real-Time Models 4. Periodic/Aperiodic

More information

Multiprogramming. IT 3123 Hardware and Software Concepts. Program Dispatching. Multiprogramming. Program Dispatching. Program Dispatching

Multiprogramming. IT 3123 Hardware and Software Concepts. Program Dispatching. Multiprogramming. Program Dispatching. Program Dispatching IT 3123 Hardware and Software Concepts Operating Systems II October 26 Multiprogramming Two or more application programs in memory. Consider one CPU and more than one program. This can be generalized to

More information

System Requirements Table of contents

System Requirements Table of contents Table of contents 1 Introduction... 2 2 Knoa Agent... 2 2.1 System Requirements...2 2.2 Environment Requirements...4 3 Knoa Server Architecture...4 3.1 Knoa Server Components... 4 3.2 Server Hardware Setup...5

More information

Linux Profiling and Optimization The Black Art of Linux Performance Tuning. Federico Lucifredi Platform Orchestra Director Novell, INC

Linux Profiling and Optimization The Black Art of Linux Performance Tuning. Federico Lucifredi Platform Orchestra Director Novell, INC Linux Profiling and Optimization The Black Art of Linux Performance Tuning Federico Lucifredi Platform Orchestra Director Novell, INC 0 - Rationales System Optimization Rationales What are we optimizing?

More information

Chapter 6, The Operating System Machine Level

Chapter 6, The Operating System Machine Level Chapter 6, The Operating System Machine Level 6.1 Virtual Memory 6.2 Virtual I/O Instructions 6.3 Virtual Instructions For Parallel Processing 6.4 Example Operating Systems 6.5 Summary Virtual Memory General

More information

MySQL performance in a cloud. Mark Callaghan

MySQL performance in a cloud. Mark Callaghan MySQL performance in a cloud Mark Callaghan Special thanks Eric Hammond (http://www.anvilon.com) provided documentation that made all of my work much easier. What is this thing called a cloud? Deployment

More information

Running a Workflow on a PowerCenter Grid

Running a Workflow on a PowerCenter Grid Running a Workflow on a PowerCenter Grid 2010-2014 Informatica Corporation. No part of this document may be reproduced or transmitted in any form, by any means (electronic, photocopying, recording or otherwise)

More information

Virtualization enables enterprises to consolidate

Virtualization enables enterprises to consolidate Xen Virtualization in Red Hat By Jose de la Rosa Puneet Dhawan The open source Xen virtualization hypervisor included in the Red Hat Enterprise Linux 5 OS provides key components to help build dynamic,

More information

Page 1 of 5. IS 335: Information Technology in Business Lecture Outline Operating Systems

Page 1 of 5. IS 335: Information Technology in Business Lecture Outline Operating Systems Lecture Outline Operating Systems Objectives Describe the functions and layers of an operating system List the resources allocated by the operating system and describe the allocation process Explain how

More information

CS161: Operating Systems

CS161: Operating Systems CS161: Operating Systems Matt Welsh mdw@eecs.harvard.edu Lecture 2: OS Structure and System Calls February 6, 2007 1 Lecture Overview Protection Boundaries and Privilege Levels What makes the kernel different

More information

Help! My system is slow!

Help! My system is slow! Help! My system is slow! Profiling tools, tips and tricks Kris Kennaway kris@freebsd.org Overview Goal: Present some tools for evaluating the workload of your FreeBSD system, and identifying the bottleneck(s)

More information

10.04.2008. Thomas Fahrig Senior Developer Hypervisor Team. Hypervisor Architecture Terminology Goals Basics Details

10.04.2008. Thomas Fahrig Senior Developer Hypervisor Team. Hypervisor Architecture Terminology Goals Basics Details Thomas Fahrig Senior Developer Hypervisor Team Hypervisor Architecture Terminology Goals Basics Details Scheduling Interval External Interrupt Handling Reserves, Weights and Caps Context Switch Waiting

More information

Performance Tuning and Optimization for high traffic Drupal sites. Khalid Baheyeldin Drupal Camp, Toronto May 11 12, 2007

Performance Tuning and Optimization for high traffic Drupal sites. Khalid Baheyeldin Drupal Camp, Toronto May 11 12, 2007 Performance Tuning and Optimization for high traffic Drupal sites Khalid Baheyeldin Drupal Camp, Toronto May 11 12, 2007 Agenda Introduction The LAMP Stack Linux, Apache, MySQL, PHP Drupal Database queries

More information

DSS. Diskpool and cloud storage benchmarks used in IT-DSS. Data & Storage Services. Geoffray ADDE

DSS. Diskpool and cloud storage benchmarks used in IT-DSS. Data & Storage Services. Geoffray ADDE DSS Data & Diskpool and cloud storage benchmarks used in IT-DSS CERN IT Department CH-1211 Geneva 23 Switzerland www.cern.ch/it Geoffray ADDE DSS Outline I- A rational approach to storage systems evaluation

More information

Operating Systems. Design and Implementation. Andrew S. Tanenbaum Melanie Rieback Arno Bakker. Vrije Universiteit Amsterdam

Operating Systems. Design and Implementation. Andrew S. Tanenbaum Melanie Rieback Arno Bakker. Vrije Universiteit Amsterdam Operating Systems Design and Implementation Andrew S. Tanenbaum Melanie Rieback Arno Bakker Vrije Universiteit Amsterdam Operating Systems - Winter 2012 Outline Introduction What is an OS? Concepts Processes

More information

Outline. Operating Systems Design and Implementation. Chap 1 - Overview. What is an OS? 28/10/2014. Introduction

Outline. Operating Systems Design and Implementation. Chap 1 - Overview. What is an OS? 28/10/2014. Introduction Operating Systems Design and Implementation Andrew S. Tanenbaum Melanie Rieback Arno Bakker Outline Introduction What is an OS? Concepts Processes and Threads Memory Management File Systems Vrije Universiteit

More information

MOSIX: High performance Linux farm

MOSIX: High performance Linux farm MOSIX: High performance Linux farm Paolo Mastroserio [mastroserio@na.infn.it] Francesco Maria Taurino [taurino@na.infn.it] Gennaro Tortone [tortone@na.infn.it] Napoli Index overview on Linux farm farm

More information

Multicore Programming with LabVIEW Technical Resource Guide

Multicore Programming with LabVIEW Technical Resource Guide Multicore Programming with LabVIEW Technical Resource Guide 2 INTRODUCTORY TOPICS UNDERSTANDING PARALLEL HARDWARE: MULTIPROCESSORS, HYPERTHREADING, DUAL- CORE, MULTICORE AND FPGAS... 5 DIFFERENCES BETWEEN

More information

The team that wrote this redbook Comments welcome Introduction p. 1 Three phases p. 1 Netfinity Performance Lab p. 2 IBM Center for Microsoft

The team that wrote this redbook Comments welcome Introduction p. 1 Three phases p. 1 Netfinity Performance Lab p. 2 IBM Center for Microsoft Foreword p. xv Preface p. xvii The team that wrote this redbook p. xviii Comments welcome p. xx Introduction p. 1 Three phases p. 1 Netfinity Performance Lab p. 2 IBM Center for Microsoft Technologies

More information

Virtual Memory Behavior in Red Hat Linux Advanced Server 2.1

Virtual Memory Behavior in Red Hat Linux Advanced Server 2.1 Virtual Memory Behavior in Red Hat Linux Advanced Server 2.1 Bob Matthews Red Hat, Inc. Kernel Development Team Norm Murray Red Hat, Inc. Client Engineering Team This is an explanation of the virtual memory

More information

Process Description and Control. 2004-2008 william stallings, maurizio pizzonia - sistemi operativi

Process Description and Control. 2004-2008 william stallings, maurizio pizzonia - sistemi operativi Process Description and Control 1 Process A program in execution (running) on a computer The entity that can be assigned to and executed on a processor A unit of activity characterized by a at least one

More information

Microkernels, virtualization, exokernels. Tutorial 1 CSC469

Microkernels, virtualization, exokernels. Tutorial 1 CSC469 Microkernels, virtualization, exokernels Tutorial 1 CSC469 Monolithic kernel vs Microkernel Monolithic OS kernel Application VFS System call User mode What was the main idea? What were the problems? IPC,

More information

Monitoring IBM HMC Server. eg Enterprise v6

Monitoring IBM HMC Server. eg Enterprise v6 Monitoring IBM HMC Server eg Enterprise v6 Restricted Rights Legend The information contained in this document is confidential and subject to change without notice. No part of this document may be reproduced

More information

Drupal Performance Tuning

Drupal Performance Tuning Drupal Performance Tuning By Jeremy Zerr Website: http://www.jeremyzerr.com @jrzerr http://www.linkedin.com/in/jrzerr Overview Basics of Web App Systems Architecture General Web

More information

Performance tuning Xen

Performance tuning Xen Performance tuning Xen Roger Pau Monné roger.pau@citrix.com Madrid 8th of November, 2013 Xen Architecture Control Domain NetBSD or Linux device model (qemu) Hardware Drivers toolstack netback blkback Paravirtualized

More information

Performance Characteristics of VMFS and RDM VMware ESX Server 3.0.1

Performance Characteristics of VMFS and RDM VMware ESX Server 3.0.1 Performance Study Performance Characteristics of and RDM VMware ESX Server 3.0.1 VMware ESX Server offers three choices for managing disk access in a virtual machine VMware Virtual Machine File System

More information

Hardware Based Virtualization Technologies. Elsie Wahlig elsie.wahlig@amd.com Platform Software Architect

Hardware Based Virtualization Technologies. Elsie Wahlig elsie.wahlig@amd.com Platform Software Architect Hardware Based Virtualization Technologies Elsie Wahlig elsie.wahlig@amd.com Platform Software Architect Outline What is Virtualization? Evolution of Virtualization AMD Virtualization AMD s IO Virtualization

More information

Full and Para Virtualization

Full and Para Virtualization Full and Para Virtualization Dr. Sanjay P. Ahuja, Ph.D. 2010-14 FIS Distinguished Professor of Computer Science School of Computing, UNF x86 Hardware Virtualization The x86 architecture offers four levels

More information

ò Paper reading assigned for next Thursday ò Lab 2 due next Friday ò What is cooperative multitasking? ò What is preemptive multitasking?

ò Paper reading assigned for next Thursday ò Lab 2 due next Friday ò What is cooperative multitasking? ò What is preemptive multitasking? Housekeeping Paper reading assigned for next Thursday Scheduling Lab 2 due next Friday Don Porter CSE 506 Lecture goals Undergrad review Understand low-level building blocks of a scheduler Understand competing

More information

Storage benchmarking cookbook

Storage benchmarking cookbook Storage benchmarking cookbook How to perform solid storage performance measurements Stijn Eeckhaut Stijn De Smet, Brecht Vermeulen, Piet Demeester The situation today: storage systems can be very complex

More information

Enterprise Java (BI-EJA) Technologie programování v jazyku Java (X36TJV)

Enterprise Java (BI-EJA) Technologie programování v jazyku Java (X36TJV) Příprava studijního programu Informatika je podporována projektem financovaným z Evropského sociálního fondu a rozpočtu hlavního města Prahy. Praha & EU: Investujeme do vaší budoucnosti Enterprise Java

More information

DATABASE. Pervasive PSQL Performance. Key Performance Features of Pervasive PSQL. Pervasive PSQL White Paper

DATABASE. Pervasive PSQL Performance. Key Performance Features of Pervasive PSQL. Pervasive PSQL White Paper DATABASE Pervasive PSQL Performance Key Performance Features of Pervasive PSQL Pervasive PSQL White Paper June 2008 Table of Contents Introduction... 3 Per f o r m a n c e Ba s i c s: Mo r e Me m o r y,

More information

:: 6/14/2012 4:47:47 PM

:: 6/14/2012 4:47:47 PM Computer Audit :: 6/14/2012 4:47:47 PM System Overview Computer Name Domain Name TB1-10-25 TB1-LAB-10 Site Name Roles Workstation, Server, SQL Server Description Operating System Manufacturer Model Serial

More information

Container-based operating system virtualization: a scalable, high-performance alternative to hypervisors

Container-based operating system virtualization: a scalable, high-performance alternative to hypervisors Container-based operating system virtualization: a scalable, high-performance alternative to hypervisors Soltesz, et al (Princeton/Linux-VServer), Eurosys07 Context: Operating System Structure/Organization

More information

Multi-core and Linux* Kernel

Multi-core and Linux* Kernel Multi-core and Linux* Kernel Suresh Siddha Intel Open Source Technology Center Abstract Semiconductor technological advances in the recent years have led to the inclusion of multiple CPU execution cores

More information

Davor Guttierrez dguttierrez@me.com 3 Gen d.o.o. Optimizing Linux Servers

Davor Guttierrez dguttierrez@me.com 3 Gen d.o.o. Optimizing Linux Servers Davor Guttierrez dguttierrez@me.com 3 Gen d.o.o. Optimizing Linux Servers What is optimization? Our server is slow We have new very expensive server but... We have new Linux distribution but... What is

More information

Processes and Non-Preemptive Scheduling. Otto J. Anshus

Processes and Non-Preemptive Scheduling. Otto J. Anshus Processes and Non-Preemptive Scheduling Otto J. Anshus 1 Concurrency and Process Challenge: Physical reality is Concurrent Smart to do concurrent software instead of sequential? At least we want to have

More information

An Oracle White Paper July 2011. Oracle Primavera Contract Management, Business Intelligence Publisher Edition-Sizing Guide

An Oracle White Paper July 2011. Oracle Primavera Contract Management, Business Intelligence Publisher Edition-Sizing Guide Oracle Primavera Contract Management, Business Intelligence Publisher Edition-Sizing Guide An Oracle White Paper July 2011 1 Disclaimer The following is intended to outline our general product direction.

More information

Monitoring Databases on VMware

Monitoring Databases on VMware Monitoring Databases on VMware Ensure Optimum Performance with the Correct Metrics By Dean Richards, Manager, Sales Engineering Confio Software 4772 Walnut Street, Suite 100 Boulder, CO 80301 www.confio.com

More information

Using esxtop to Troubleshoot Performance Problems

Using esxtop to Troubleshoot Performance Problems VMWARE TECHNICAL TROUBLESHOOTING NOTE VMware ESX Server 2 Using esxtop to Troubleshoot Performance Problems The VMware esxtop tool provides a real-time view (updated every five seconds, by default) of

More information

Operating System Components

Operating System Components Lecture Overview Operating system software introduction OS components OS services OS structure Operating Systems - April 24, 2001 Operating System Components Process management Memory management Secondary

More information

Update on filesystems for flash storage

Update on filesystems for flash storage JM2L Update on filesystems for flash storage Michael Opdenacker. Free Electrons http://free electrons.com/ 1 Contents Introduction Available flash filesystems Our benchmarks Best choices Experimental filesystems

More information

Linux Process Scheduling. sched.c. schedule() scheduler_tick() hooks. try_to_wake_up() ... CFS CPU 0 CPU 1 CPU 2 CPU 3

Linux Process Scheduling. sched.c. schedule() scheduler_tick() hooks. try_to_wake_up() ... CFS CPU 0 CPU 1 CPU 2 CPU 3 Linux Process Scheduling sched.c schedule() scheduler_tick() try_to_wake_up() hooks RT CPU 0 CPU 1 CFS CPU 2 CPU 3 Linux Process Scheduling 1. Task Classification 2. Scheduler Skeleton 3. Completely Fair

More information

BENCHMARKING CLOUD DATABASES CASE STUDY on HBASE, HADOOP and CASSANDRA USING YCSB

BENCHMARKING CLOUD DATABASES CASE STUDY on HBASE, HADOOP and CASSANDRA USING YCSB BENCHMARKING CLOUD DATABASES CASE STUDY on HBASE, HADOOP and CASSANDRA USING YCSB Planet Size Data!? Gartner s 10 key IT trends for 2012 unstructured data will grow some 80% over the course of the next

More information

Advanced Linux System Administration on Red Hat

Advanced Linux System Administration on Red Hat Advanced Linux System Administration on Red Hat Kenneth Ingham September 29, 2009 1 Course overview This class is for people who are familiar with basic Linux administration (i.e., they know users, packages,

More information

Virtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies

Virtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies Virtualization Technologies and Blackboard: The Future of Blackboard Software on Multi-Core Technologies Kurt Klemperer, Principal System Performance Engineer kklemperer@blackboard.com Agenda Session Length:

More information

PERFORMANCE TUNING ORACLE RAC ON LINUX

PERFORMANCE TUNING ORACLE RAC ON LINUX PERFORMANCE TUNING ORACLE RAC ON LINUX By: Edward Whalen Performance Tuning Corporation INTRODUCTION Performance tuning is an integral part of the maintenance and administration of the Oracle database

More information

Effective Computing with SMP Linux

Effective Computing with SMP Linux Effective Computing with SMP Linux Multi-processor systems were once a feature of high-end servers and mainframes, but today, even desktops for personal use have multiple processors. Linux is a popular

More information

Crystal Reports Server 2008

Crystal Reports Server 2008 Revision Date: July 2009 Crystal Reports Server 2008 Sizing Guide Overview Crystal Reports Server system sizing involves the process of determining how many resources are required to support a given workload.

More information

PERFORMANCE ANALYSIS OF KERNEL-BASED VIRTUAL MACHINE

PERFORMANCE ANALYSIS OF KERNEL-BASED VIRTUAL MACHINE PERFORMANCE ANALYSIS OF KERNEL-BASED VIRTUAL MACHINE Sudha M 1, Harish G M 2, Nandan A 3, Usha J 4 1 Department of MCA, R V College of Engineering, Bangalore : 560059, India sudha.mooki@gmail.com 2 Department

More information

Real-Time Scheduling 1 / 39

Real-Time Scheduling 1 / 39 Real-Time Scheduling 1 / 39 Multiple Real-Time Processes A runs every 30 msec; each time it needs 10 msec of CPU time B runs 25 times/sec for 15 msec C runs 20 times/sec for 5 msec For our equation, A

More information

Process Scheduling CS 241. February 24, 2012. Copyright University of Illinois CS 241 Staff

Process Scheduling CS 241. February 24, 2012. Copyright University of Illinois CS 241 Staff Process Scheduling CS 241 February 24, 2012 Copyright University of Illinois CS 241 Staff 1 Announcements Mid-semester feedback survey (linked off web page) MP4 due Friday (not Tuesday) Midterm Next Tuesday,

More information

A Comparative Study on Vega-HTTP & Popular Open-source Web-servers

A Comparative Study on Vega-HTTP & Popular Open-source Web-servers A Comparative Study on Vega-HTTP & Popular Open-source Web-servers Happiest People. Happiest Customers Contents Abstract... 3 Introduction... 3 Performance Comparison... 4 Architecture... 5 Diagram...

More information

MAGENTO HOSTING Progressive Server Performance Improvements

MAGENTO HOSTING Progressive Server Performance Improvements MAGENTO HOSTING Progressive Server Performance Improvements Simple Helix, LLC 4092 Memorial Parkway Ste 202 Huntsville, AL 35802 sales@simplehelix.com 1.866.963.0424 www.simplehelix.com 2 Table of Contents

More information

Kerrighed: use cases. Cyril Brulebois. Kerrighed. Kerlabs

Kerrighed: use cases. Cyril Brulebois. Kerrighed. Kerlabs Kerrighed: use cases Cyril Brulebois cyril.brulebois@kerlabs.com Kerrighed http://www.kerrighed.org/ Kerlabs http://www.kerlabs.com/ 1 / 23 Introducing Kerrighed What s Kerrighed? Single-System Image (SSI)

More information

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture Last Class: OS and Computer Architecture System bus Network card CPU, memory, I/O devices, network card, system bus Lecture 3, page 1 Last Class: OS and Computer Architecture OS Service Protection Interrupts

More information

BridgeWays Management Pack for VMware ESX

BridgeWays Management Pack for VMware ESX Bridgeways White Paper: Management Pack for VMware ESX BridgeWays Management Pack for VMware ESX Ensuring smooth virtual operations while maximizing your ROI. Published: July 2009 For the latest information,

More information