© 2005 IBM Software Environment Some Useful System Commands.

Slides:



Advertisements
Similar presentations
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Advertisements

Unix Systems Performance Tuning Project of COSC 513 Name: Qinghui Mu Instructor: Prof. Anvari.
CSC 360- Instructor: K. Wu Overview of Operating Systems.
Operating System Structures
Operating System Structure
Operating Systems High Level View Chapter 1,2. Who is the User? End Users Application Programmers System Programmers Administrators.
Phones OFF Please Operating System Introduction Parminder Singh Kang Home:
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Performance Tuning By Samriti Uppal Dec 1 st, 2004.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
IBM RS/6000 SP POWER3 SMP Jari Jokinen Pekka Laurila.
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
ThreadsThreads operating systems. ThreadsThreads A Thread, or thread of execution, is the sequence of instructions being executed. A process may have.
The Origin of the VM/370 Time-sharing system Presented by Niranjan Soundararajan.
Page 1 © 2001 Hewlett-Packard Company Tools for Measuring System and Application Performance Introduction GlancePlus Introduction Glance Motif Glance Character.
Seaborg Cerise Wuthrich CMPS Seaborg  Manufactured by IBM  Distributed Memory Parallel Supercomputer  Based on IBM’s SP RS/6000 Architecture.
N ATIONAL E NERGY R ESEARCH S CIENTIFIC C OMPUTING C ENTER 1 Porting from the Cray T3E to the IBM SP Jonathan Carter NERSC User Services.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
INDUSTRIAL UNIX-AIX COURSE OUTLINES AND SYLLABUS Document Version: 2.0 Created: 09/19/2009 Modified: 11/09/2014 Author: Walter Takang Confirmed by: Walter.
Back To The Basics UNIXSYSTEM ADMINISTRATION IBM HP Chris RichardsKris Robertson Systems Engineer Systems Engineer.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview Part 2: History (continued)
Parallel Programming on the SGI Origin2000 With thanks to Igor Zacharov / Benoit Marchand, SGI Taub Computer Center Technion Moshe Goldberg,
© 2005 IBM MPI Louisiana Tech University Ruston, Louisiana Charles Grassl IBM January, 2006.
Issues Autonomic operation (fault tolerance) Minimize interference to applications Hardware support for new operating systems Resource management (global.
Chapter 1: Introduction and History  Where does the operating system fit in a computing system?  What does the operating system achieve?  What are the.
02/09/2010 Industrial Project Course (234313) Virtualization-aware database engine Final Presentation Industrial Project Course (234313) Virtualization-aware.
NUG Meeting Performance Profiling Using hpmcount, poe+ & libhpm Richard Gerber NERSC User Services
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
1 Lecture 1: Computer System Structures We go over the aspects of computer architecture relevant to OS design  overview  input and output (I/O) organization.
Lecture on Central Process Unit (CPU)
© 2005 IBM Essential Overview Louisiana Tech University Ruston, Louisiana Charles Grassl IBM January, 2006.
System Administration. Logging in as System Administrator System Admin login (aka superuser, aka root) –login id: root –Default PS1 prompt: # –Home directory:
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
UNIX/AIX COURSE OUTLINES AND SYLLABUS Document Version: 1.0 Created on: 09/19/2014 Author: Walter Takang Confirmed by: Walter Takang.
Performance Analysis. Computer Center, CS, NCTU 2 Help! My system is slow!  slow.pdf.
Background Computer System Architectures Computer System Software.
CITA 171 Section 1 DOS/Windows Introduction. DOS Disk operating system (DOS) –Term most often associated with MS-DOS –Single-tasking operating system.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
An Introduction to GPFS
Guide to Parallel Operating Systems with Windows 7 and Linux Chapter 10 Operating System Management.
CIT 140: Introduction to ITSlide #1 CSC 140: Introduction to IT Operating Systems.
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Operating System Overview
Introduction to Operating Systems
Linux203Training Module System Mgmt.
2. OPERATING SYSTEM 2.1 Operating System Function
Chapter 1: A Tour of Computer Systems
CS 6560: Operating Systems Design
Andy Wang COP 5611 Advanced Operating Systems
Chapter 2: System Structures
Performance Analysis pmli.
Computer Organization & Assembly Language Chapter 3
CS490 Windows Internals Quiz 2 09/27/2013.
Introduction to Operating Systems
CS703 - Advanced Operating Systems
Operating Systems : Overview
Operating System Review
Lecture Topics: 11/1 General Operating System Concepts Processes
Operating Systems : Overview
Windows Virtual PC / Hyper-V
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
System Calls System calls are the user API to the OS
Performance Analysis.
Performance Analysis.
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
III. Operating System Structures
Presentation transcript:

© 2005 IBM Software Environment Some Useful System Commands

2 © 2005 IBM Corporation Agenda Background on AIX and HPC Software Stack Comments on 64-bit vs 32-bit address Getting know your system Useful commands

3 © 2005 IBM Corporation Operating System Software Server OS AIX (Advanced Interactive eXecutive) AT&T System V Journaled Cluster System Management (CSM) Management of distributed or clustered servers Parallel System Support Program (PSSP) Predecessor to CSM Parallel Environment (PE) Node 0 AIX Node 1 AIX Node 2 AIX Node 3 AIX PSSP or CSM

4 © 2005 IBM Corporation PSSP and CSM SP Switch, Switch2 SP Legacy Hardware AIX 4.3 HPC Software Stack AIX 5L POWER5 SP Legacy Hardware AIX 5.3 HPS Linux PSSPCSM

5 © 2005 IBM Corporation HPC Software Stack Batch queuing: LoadLeveler Parallel file system: General Parallel File System (GPFS) Math library: Engineering and Scientific Software Library (ESSL) MPI tools and library: Parallel Environment (PE)

6 © 2005 IBM Corporation AIX Operating System AIX 5L Current (new) generation of IBM's Unix Linux “affinity” Combines Unix technologies of AIX and Linux Current Versions: AIX 5L version 5.2 AIX 5L version 5.3 <-

7 © 2005 IBM Corporation AIX Characteristics Journaled file system JFS and JFS2 File coherency Other AIX'isms and terms LPP - Licensed Program Product (/usr/lpp/...) BOS - Base Operating System (bos.rte, bos.up, etc) Administration: PTF- A specific software patch APAR - A software fault or enhancement description EFIX -An emergency software fix, invalidated Note: New process for delivering fixes Sets of fully tested combinations of updates

8 © 2005 IBM Corporation Linux Affinity AIX bias toward “Linux – like” environment Emerging Linux applications GNU tools GNU utilities Linux look & feel

9 © 2005 IBM Corporation 64-bit Operating System Operating system address modes: 32-bit kernel Limitation: 96 Gbyte memory Built -qarch=com 64-bit kernel No limitations Built -qarch=ppc Hardware: 64-bit design Software: 32-bit model (default) 64-bit model

10 © 2005 IBM Corporation Application Address Mode Application address mode is independent of operating system address mode Program Data -q32 -q64 32-bit Object 64 bit Wide Address 64-bit Object Data 32 bit Wide Address Pointers 32-bit Pointers 64-bit Pointers long

11 © 2005 IBM Corporation Even more on 64-bit... (because it is so often confused) 64-bit floating point representation is higher precision Fortran: REAL*8, DOUBLE PRECISION C/C++: double You can use 64-bit floating point with –q32 or –q64 64-bit addressing is totally different. It refers to how many bits are used to store memory addresses and ultimately how much memory one can access. Compile and link with –q64 Use file a.out myobj.o to query addressing mode The AIX kernel can be either a build that uses 32-bit addressing for kernel operations or uses 64-bit addressing, but that does not affect an application’s addressibilty. ls –l /unix to find out which kernel is used Certain system limits depend on kernel chosen

12 © 2005 IBM Corporation One more thing about 64-bit… If you use –q64: You can use lots of memory INTEGER*8 or long long operations are faster If you use –q32: You may run a few percent faster Fewer bytes are used storing and moving pointers You will have to learn about –bmaxdata AIX link option -bmaxdata:0x = 256 Mbyte = default -bmaxdata:0x = 2 Gbyte -bmaxdata:0xC = not widely publicized trick to use more than 2 Gbyte with –q32 “C” is the maximum -q64 –bmaxdata:0 = default = unlimited Other –bmaxdata values will be enforced if set

13 © 2005 IBM Corporation Getting to know your system uname –a oslevel –f -r df lspv... lslv... lsvg... ifconfig –a; netstat –I; vmstat; iostat lsdev –C | grep proc | wc –l lsattr -E –l proc0 –a type /usr/bin/pmcycles Install bos.pmapi lsattr -E -l mem0 -a size prtconf

14 © 2005 IBM Corporation Hardware Configuration lscfg: Installed resource list /home/myuid$ lscfg INSTALLED RESOURCE LIST The following resources are installed on the machine. +/- = Added or deleted from Resource List. * = Diagnostic support not available. Model Architecture: chrp Model Implementation: Multiple Processor, PCI bus + sysplanar System Planar + mem Memory + proc Processor + L2cache L2 Cache

15 © 2005 IBM Corporation Software Configuration lslpp: Installed Software /home/myuid$ lslpp -L Fileset Level State Description Adobe.acrobat C Adobe acrobat reader DB2V5CAE.Bnd C DB2 Client Application DB2V5SERV.Bnd C DB2 Server(s) Software IBMVJava.dab.adt C VisualAge for Java IBMVJava.dab.rte C VisualAge for Java

16 © 2005 IBM Corporation Configuration Report prtconf Print Configuration Standard Unix command Information Processors Memory Operating system

17 © 2005 IBM Corporation prtconf $ prtconf -ckLms CPU Type: 64-bit Kernel Type: 32-bit LPAR Info: 1 NULL Memory Size: MB Processor Clock Speed: 1900 MHz

18 © 2005 IBM Corporation Performance Monitors System (node) performance topas Similar to Linux “top” Root user has to invoke first time to create a file in /etc nmon Freeware from IBM UK vmstat virtual memory statistics

19 © 2005 IBM Corporation Topas magnet averages: 7.90, 7.90, 7.38 Cpu states:...system, 0.0% wait, 50.0% idle Real memory:...procs 512.0M files M total Virtual memory:... used 150.2M total PID USER...STAT TIME CPU% COMMAND myusrid... run 0: % lu.W 516 root... run 591: % Kernel (wait) myusrid... run 0:00 0.4% monitor root... run 568:46 0.0% Kernel

20 © 2005 IBM Corporation nmon Performance tuning utility Freeware, AIX and Linux Performance data: CPU utilization Memory use Kernel statistics and run queue information Disks I/O rates, transfers, and read/write ratios Free space on file systems Disk adapters Network I/O rates, transfers, and read/write ratios Paging space and paging rates Etc.

21 © 2005 IBM Corporation Virtual Memory STATistics: vmstat System (node) resources Memory Page faults CPU Large Pages (-l) $ vmstat 1 kthr memory faults cpu r b avm fre... us sy id wa

22 © 2005 IBM Corporation VMSTAT vmstat: virtual memory statistics. Syntax: vmstat n [m]n = refresh interval, optional m = count vmstat [interval [count]] vmstat –s (summary) [v07n20:/u/user] vmstat 1 5 kthr memory page faults cpu r b avm fre re pi po fr sr cy in sy cs us sy id wa r = kernel threads placed on the run queue b = kernel threads blocked avm = active virtual memory pages (1 page = 4KBytes) fre = free memory pages pi = page-ins from paging space po = page-outs to paging space fr = pages freed sr = pages scanned cy = scan cycles in = device interrupts sy = system calls cs = context switches us = user cpu utilization % sy = system cpu utilization % id = cpu idle time wa = time waiting on I/O

23 © 2005 IBM Corporation NETSTAT netstat : network statistics. Syntax : netstat n [m] n = refresh interval, optional m = count netstat –i –f inet (lists internet interfaces) netstat –I css0 (switch status) netstat -I css0 interval (switch IP traffic) netstat –D (packet counts) [v01n14:/u/user] netstat -Icss0 1 input (css0) output input (Total) output packets errs packets errs colls packets errs packets errs colls

24 © 2005 IBM Corporation Parallel Environment (PE) Develop, debug, analyze, tune, and execute parallel applications Parallel Operating Environment (POE) MPI Optimized for IBM switches and nodes pdbx (Parallel Debugger) Attach to running process Parallel utilities, for easing file manipulation

25 © 2005 IBM Corporation PE Example ***************************************************************** c* Hello World Fortran Example c To compile: mpxlf_r -o hello_world_f hello_world.f f c*************************************************************** c program hello implicit none write(6,*) 'Hello, World!' stop end

26 © 2005 IBM Corporation PE Example Host.list: Node1 Node2 $ xlc –o hello_world hello_world.c $ export MP_HOSTFILE=$PWD/host.list $ poe hello_world_f -procs 4 Hello, World!

27 © 2005 IBM Corporation System Management Installation Tool (SMIT or SMITTY) Move cursor to desired item and press Enter. Software Installation and Maintenance Software License Management Devices System Storage Management (Physical & Logical Storage)... Problem Determination Performance & Resource Scheduling.. Applications F1=Help F2=Refresh F3=Cancel F8=Image F9=Shell F10=Exit Enter=Do

28 © 2005 IBM Corporation Essential Commands Software interrogation Hardware interrogation System management