Wydajne Systemy Komputerowe. Przewodnik Dla Administratorów

Total Page:16

File Type:pdf, Size:1020Kb

Wydajne Systemy Komputerowe. Przewodnik Dla Administratorów Tytuł oryginału: Systems Performance: Enterprise and the Cloud Tłumaczenie: Robert Górczyński ISBN: 978-83-246-9157-9 Authorized translation from the English language edition, entitled: SYSTEMS PERFORMANCE: ENTERPRISE AND THE CLOUD; ISBN 0133390098; by Brendan Gregg; published by Pearson Education, Inc; publishing as Prentice Hall. Copyright © 2014 Pearson Education, Inc. All rights reserved. No part of this book may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording or by any information storage retrieval system, without permission from Pearson Education, Inc. Polish language edition published by HELION S.A., Copyright © 2014. Wszelkie prawa zastrzeżone. Nieautoryzowane rozpowszechnianie całości lub fragmentu niniejszej publikacji w jakiejkolwiek postaci jest zabronione. Wykonywanie kopii metodą kserograficzną, fotograficzną, a także kopiowanie książki na nośniku filmowym, magnetycznym lub innym powoduje naruszenie praw autorskich niniejszej publikacji. Wszystkie znaki występujące w tekście są zastrzeżonymi znakami firmowymi bądź towarowymi ich właścicieli. Autor oraz Wydawnictwo HELION dołożyli wszelkich starań, by zawarte w tej książce informacje były kompletne i rzetelne. Nie bierze jednak żadnej odpowiedzialności ani za ich wykorzystanie, ani za związane z tym ewentualne naruszenie praw patentowych lub autorskich. Wydawnictwo HELION nie ponosi również żadnej odpowiedzialności za ewentualne szkody wynikłe z wykorzystania informacji zawartych w książce. Wydawnictwo HELION ul. Kościuszki 1c, 44-100 GLIWICE tel. 32 231 22 19, 32 230 98 63 e-mail: [email protected] WWW: http://helion.pl (księgarnia internetowa, katalog książek) Drogi Czytelniku! Jeżeli chcesz ocenić tę książkę, zajrzyj pod adres http://helion.pl/user/opinie/wysyko Możesz tam wpisać swoje uwagi, spostrzeżenia, recenzję. Printed in Poland. • Kup książkę • Księgarnia internetowa • Poleć książkę • Lubię to! » Nasza społeczność • Oceń książkę Spis treści Wstęp 19 Podziękowania 27 O autorze 31 Rozdział 1. Wprowadzenie 33 1.1. Wydajnoħè systemów 33 1.2. Role 34 1.3. Dziađania 35 1.4. Perspektywy 36 1.5. Zapewnienie wydajnoħci to wyzwanie 37 1.5.1. Wydajnoħè jest subiektywna 37 1.5.2. Systemy sæ skomplikowane 37 1.5.3. Moľe istnieè wiele problemów zwiæzanych z wydajnoħciæ 38 1.6. Opóļnienie 39 1.7. Monitorowanie dynamiczne 40 1.8. Przetwarzanie w chmurze 41 1.9. Studium przypadku 42 1.9.1. Wolno dziađajæce dyski 42 1.9.2. Zmiana oprogramowania 44 1.9.3. Co dalej? 46 3 Kup książkę Poleć książkę 4 Spis treści Rozdział 2. Metodologia 47 2.1. Terminologia 48 2.2. Modele 49 2.2.1. Wydajnoħè systemu podczas testu 49 2.2.2. Systemy kolejkowe 50 2.3. Koncepcje 50 2.3.1. Opóļnienie 50 2.3.2. Skala czasu 52 2.3.3. Kompromisy 52 2.3.4. Dostrajanie wydajnoħci 54 2.3.5. Poziomy trafnoħci 55 2.3.6. Rekomendacje w danym momencie 56 2.3.7. Obciæľenie kontra architektura 56 2.3.8. Skalowalnoħè 57 2.3.9. Znane niewiadome 59 2.3.10. Metryki 59 2.3.11. Poziom wykorzystania 60 2.3.12. Nasycenie 62 2.3.13. Profilowanie 63 2.3.14. Buforowanie 63 2.4. Perspektywy 66 2.4.1. Analiza zasobów 66 2.4.2. Analiza obciæľenia 67 2.5. Metodologia 68 2.5.1. Jawna antymetoda 70 2.5.2. Antymetoda losowej zmiany 70 2.5.3. Antymetoda obwiniania kogoħ innego 71 2.5.4. Metoda przygotowanej ad hoc listy rzeczy do sprawdzenia 71 2.5.5. Opis problemu 72 2.5.6. Metoda naukowa 73 2.5.7. Cykl diagnostyczny 74 2.5.8. Metoda narzúdzi 75 2.5.9. Metoda USE 76 2.5.10. Charakterystyka obciæľenia 83 2.5.11. Analiza dræľæca 84 2.5.12. Analiza opóļnienia 85 2.5.13. Metoda R 87 2.5.14. Monitorowanie zdarzeē 87 2.5.15. Dane statystyczne búdæce punktem odniesienia 89 2.5.16. Statyczne dostosowanie wydajnoħci 89 2.5.17. Dostosowanie bufora 90 2.5.18. Mikrotesty wydajnoħci 91 2.6. Modelowanie 91 2.6.1. Biznes kontra chmura 92 2.6.2. Identyfikacja wizualna 92 Kup książkę Poleć książkę Spis treści 5 2.6.3. Prawo skalowalnoħci Amdahla 94 2.6.4. Prawo skalowalnoħci uniwersalnej 95 2.6.5. Teoria kolejek 96 2.7. Planowanie pojemnoħci 100 2.7.1. Ograniczenia zasobu 100 2.7.2. Analiza wspóđczynnika 102 2.7.3. Skalowanie rozwiæzaē 103 2.8. Statystyka 103 2.8.1. Ocena wydajnoħci 104 2.8.2. Wartoħè ħrednia 105 2.8.3. Odchylenie standardowe, percentyle i mediana 106 2.8.4. Wspóđczynnik zmiennoħci 107 2.8.5. Rozkđad wielomodalny 107 2.8.6. Elementy odstajæce 108 2.9. Monitorowanie 108 2.9.1. Wzorce na podstawie czasu 109 2.9.2. Produkty sđuľæce do monitorowania 110 2.9.3. Podsumowanie od chwili uruchomienia systemu 110 2.10. Wizualizacja 111 2.10.1. Wykres liniowy 111 2.10.2. Wykres punktowy 112 2.10.3. Mapy cieplne 113 2.10.4. Wykres warstwowy 114 2.10.5. Narzúdzia wizualizacji 115 2.11. çwiczenia 115 2.12. Odwođania 116 Rozdział 3. Systemy operacyjne 117 3.1. Terminologia 118 3.2. Ħrodowisko 119 3.2.1. Jædro 119 3.2.2. Stosy 122 3.2.3. Przerwania i wætki przerwaē 123 3.2.4. Poziom priorytetu przerwania 124 3.2.5. Procesy 125 3.2.6. Wywođania systemowe 127 3.2.7. Pamiúè wirtualna 129 3.2.8. Zarzædzanie pamiúciæ 130 3.2.9. Algorytm szeregowania 130 3.2.10. Systemy plików 132 3.2.11. Buforowanie 134 3.2.12. Sieci 134 3.2.13. Sterowniki urzædzeē 135 3.2.14. Wieloprocesorowoħè 136 Kup książkę Poleć książkę 6 Spis treści 3.2.15. Wywđaszczenie 136 3.2.16. Zarzædzanie zasobami 137 3.2.17. Monitorowanie 137 3.3. Jædra systemów 138 3.3.1. UNIX 139 3.3.2. Systemy Solaris 139 3.3.3. Systemy Linux 143 3.3.4. Róľnice 146 3.4. çwiczenia 147 3.5. Odwođania 147 Rozdział 4. Narzędzia monitorowania 149 4.1. Rodzaje narzúdzi 150 4.1.1. Liczniki 150 4.1.2. Monitorowanie 152 4.1.3. Profilowanie 153 4.1.4. Monitorowanie (sar) 154 4.2. Ļródđa danych statystycznych 155 4.2.1. Interfejs /proc 156 4.2.2. Interfejs /sys 161 4.2.3 Framework kstat 162 4.2.4. Zliczanie opóļnienia 165 4.2.5. Zliczanie mikrostanu 166 4.2.6. Inne narzúdzia monitorowania 166 4.3. DTrace 168 4.3.1. Monitorowanie statyczne i dynamiczne 170 4.3.2. Sondy 171 4.3.3. Dostawcy 172 4.3.4. Argumenty 172 4.3.5. Júzyk D 173 4.3.6. Wbudowane zmienne 173 4.3.7. Akcje 173 4.3.8. Typy zmiennych 173 4.3.9. Jednowierszowe wywođania DTrace 177 4.3.10. Skrypty 177 4.3.11. Obciæľenie 178 4.3.12. Dokumentacja i zasoby 179 4.4. SystemTap 180 4.4.1. Sondy 181 4.4.2. Zestawy tapset 181 4.4.3. Akcje i wbudowane zmienne 182 4.4.4. Przykđady 182 4.4.5. Obciæľenie 184 4.4.6. Dokumentacja i zasoby 185 Kup książkę Poleć książkę Spis treści 7 4.5. perf 185 4.6. Obserwowanie monitorowania 186 4.7. çwiczenia 187 4.8. Odwođania 187 Rozdział 5. Aplikacje 189 5.1. Podstawy dotyczæce aplikacji 190 5.1.1. Cele 191 5.1.2. Optymalizacja najczústszego sposobu uľycia aplikacji 192 5.1.3. Monitorowanie 193 5.1.4. Notacja „duľe O” 193 5.2. Techniki sprawdzania wydajnoħci aplikacji 194 5.2.1. Ustalenie wielkoħci operacji wejħcia-wyjħcia 194 5.2.2. Pamiúè podrúczna 195 5.2.3. Buforowanie 195 5.2.4. Technika odpytywania 196 5.2.5. Wspóđbieľnoħè i równolegđoħè 196 5.2.6. Nieblokujæce operacje wejħcia-wyjħcia 199 5.2.7. Powiæzanie z procesorem 200 5.3. Júzyki programowania 200 5.3.1. Júzyki kompilowane 201 5.3.2. Júzyki interpretowane 202 5.3.3. Maszyny wirtualne 203 5.3.4. Mechanizm usuwania nieuľytków 203 5.4. Metodologia i analiza 204 5.4.1. Analiza stanu wætku 205 5.4.2. Profilowanie procesora 208 5.4.3. Analiza wywođaē systemowych 210 5.4.4. Profilowanie operacji wejħcia-wyjħcia 218 5.4.5. Charakterystyka obciæľenia 219 5.4.6. Metoda USE 219 5.4.7. Analiza dræľæca 220 5.4.8. Analiza blokad 221 5.4.9. Statyczne dostosowanie wydajnoħci 223 5.5. çwiczenia 224 5.6. Odwođania 226 Rozdział 6. Procesory 227 6.1. Terminologia 228 6.2. Modele 229 6.2.1. Architektura procesora 229 6.2.2. Pamiúci podrúczne w procesorze 230 6.2.3. Kolejki dziađania w procesorze 230 Kup książkę Poleć książkę 8 Spis treści 6.3. Koncepcje 231 6.3.1. Czústotliwoħè taktowania zegara 231 6.3.2. Instrukcje 232 6.3.3. Potok instrukcji 232 6.3.4. Wielkoħè instrukcji 232 6.3.5. Wartoħci CPI, IPC 233 6.3.6. Poziom wykorzystania 233 6.3.7. Czasy uľytkownika i jædra 234 6.3.8. Poziom nasycenia 234 6.3.9. Wywđaszczenie 235 6.3.10. Odwrócenie priorytetów 235 6.3.11. Wieloprocesowoħè, wielowætkowoħè 236 6.3.12. Dđugoħè sđowa 237 6.3.13. Optymalizacja kodu wynikowego 238 6.4. Architektura 238 6.4.1. Sprzút 238 6.4.2. Oprogramowanie 246 6.5. Metodologia 253 6.5.1. Metoda narzúdzi 254 6.5.2. Metoda USE 255 6.5.3. Charakterystyka obciæľenia 256 6.5.4. Profilowanie 257 6.5.5. Analiza cykli 259 6.5.6. Monitorowanie wydajnoħci 260 6.5.7. Statyczne dostosowanie wydajnoħci 260 6.5.8. Dostrojenie priorytetu 261 6.5.9. Kontrola zasobów 262 6.5.10. Powiæzanie z procesorem 262 6.5.11. Mikrotesty wydajnoħci 262 6.5.12. Skalowanie 263 6.6. Analiza 264 6.6.1. uptime 265 6.6.2. vmstat 267 6.6.3.
Recommended publications
  • Man Pages Section 3 Library Interfaces and Headers
    man pages section 3: Library Interfaces and Headers Beta Part No: 819–2242–33 February 2010 Copyright ©2010 Sun Microsystems, Inc. All Rights Reserved 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more U.S. patents or pending patent applications in the U.S. and in other countries. U.S. Government Rights – Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. This distribution may include materials developed by third parties. Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. Sun, Sun Microsystems, the Sun logo, the Solaris logo, the Java Coffee Cup logo, docs.sun.com, Java, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. The OPEN LOOK and SunTM Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry.
    [Show full text]
  • Sun Microsystems Solaris 10 What's
    Solaris 10 What’s New Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 817–0547–15 January 2005 Copyright 2005 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. This product or document is protected by copyright and distributed under licenses restricting its use, copying, distribution, and decompilation. No part of this product or document may be reproduced in any form by any means without prior written authorization of Sun and its licensors, if any. Third-party software, including font technology, is copyrighted and licensed from Sun suppliers. Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. Sun, Sun Microsystems, the Sun logo, docs.sun.com, AnswerBook, AnswerBook2, SunVTS, Java, J2SE, J2EE, JavaServer, JumpStart, Sun Fire, StarOffice, Sun Blade, Sun Ray, Solstice Enterprise Agents, CacheFS, Sun StorEdge, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. FireWire is a trademark of Apple Computer, Inc., used under license. Netscape and Netscape Navigator are trademarks or registered trademarks of Netscape Communications Corporation. Mozilla is a trademark or registered trademark of Netscape Communications Corporation in the United States and other countries.
    [Show full text]
  • Solaris 10 & Opensolaris Performance, Observability & Debugging
    USE IMPROVE EVANGELIZE Solaris 10 & OpenSolaris Performance, Observability & Debugging (POD) Jim Mauro Significant Material/Content contributions: Richard McDougall Principal Engineer Chief Performance Architect Sun Microsystems, Inc VMware [email protected] [email protected] USE IMPROVE EVANGELIZE This tutorial is copyright © 2009 by Richard McDougall and James Mauro. It may not be used in whole or part for commercial purposes without the express written consent of Richard McDougall and James Mauro About The Authors Jim Mauro is a Principle Engineer in the Systems Group Quality Office at Sun Microsystems, where he focuses on systems performance with real customer workloads. Jim also dabbles in performance for ZFS and Virtualization. Richard McDougall is the Chief Performance Architect at VMware. Richard and Jim authored Solaris Internals: Solaris 10 and Open Solaris Kernel Architecture. Prentice Hall, 2006. ISBN 0-13-148209-2 Richard and Jim (with Brendan Gregg) authored Solaris Performance and Tools: DTrace and MDB Techniques for Solaris 10 and Open Solaris Prentice Hall, 2006. ISBN 0-13-156819-1 Richard and Jim authored Solaris Internals:Core Kernel Architecture, Prentice Hall, 2001. ISBN 0-13-022496-0 [email protected] [email protected] LISA '09 Baltimore, Md. 2 USE IMPROVE EVANGELIZE The Books (Shameless Plug) ● Solaris Internals: Solaris 10 and OpenSolaris Kernel Architecture ● Community effort: over 35 contributing authors ● Kernel data structures and algorithms ● A lot of DTrace and mdb(1) examples to support the text ● Solaris Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris ● Guide to using the tools and utilities, methods, examples, etc LISA '09 Baltimore, Md.
    [Show full text]
  • Oracle Solaris Administration Common Tasks
    Oracle® Solaris Administration: Common Tasks Part No: 821–1451–11 December 2011 Copyright © 1998, 2011, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract,and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
    [Show full text]
  • Oracle® Solaris 11.3 Programming Interfaces Guide
    ® Oracle Solaris 11.3 Programming Interfaces Guide Part No: E54815 April 2019 Oracle Solaris 11.3 Programming Interfaces Guide Part No: E54815 Copyright © 2001, 2019, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs. No other rights are granted to the U.S.
    [Show full text]
  • Dtrace Dynamic Tracing in Oracle® Solaris, Mac OS X, and Freebsd
    DTrace This page intentionally left blank DTrace Dynamic Tracing in Oracle® Solaris, Mac OS X, and FreeBSD Brendan Gregg Jim Mauro Upper Saddle River, NJ • Boston • Indianapolis • San Francisco New York • Toronto • Montreal • London • Munich • Paris • Madrid Capetown • Sydney • Tokyo • Singapore • Mexico City Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and the publisher was aware of a trademark claim, the designations have been printed with initial capital letters or in all capitals. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC Inter- national, Inc. UNIX is a registered trademark licensed through X/Open Company, Ltd. The authors and publisher have taken care in the preparation of this book, but make no expressed or implied warranty of any kind and assume no responsibility for errors or omissions. No liability is assumed for inciden- tal or consequential damages in connection with or arising out of the use of the information or programs con- tained herein. This document is provided for information purposes only and the contents hereof are subject to change with- out notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose.
    [Show full text]
  • How Joyent Operates Node.Js in Production
    How Joyent Operates Node.js in Production David Pacheco (@dapsays) How Joyent Observes Node.js in Production David Pacheco (@dapsays) Node in production at Joyent • Joyent Public Cloud (runs Smart Data Center) • Smart Data Center (SDC) • Manta First principles • When a problem is seen in production: • Restore service immediately • Root-cause the problem fully -- the first time Easier said than done • Production is far more constrained than development: • Cannot edit code and restart (hard to manage, and many problems are transient) • Cannot stop and attach a debugger (way too disruptive to service) • Traditional debuggers (e.g., gdb) generally don’t work on dynamic environments Kang • Super simple toolset for browsing state of a running distributed system • Used as the basis for dashboards vasync • “async”-like library • forEach, forEachParallel, pipeline, queue, barrier • Stores state in an object (not closures) • Can view state in kang, MDB, REPL, etc. Example: Cloud Analytics Launch Example: Cloud Analytics Launch • Symptom: UI freeze • Quick health check: 1 of 16 data aggregators not responding to application-level ping • Process is 100% on-CPU, in userland • Doing 0 syscalls (no network activity, no file activity) • WTF do we do? Core files • Includes all of your Node program’s state • Create with gcore(1) • View with MDB Core files for crashes • Best of both goals (service restoration, debuggability) • Configure Node to dump core on crashes: • v0.10.7 and earlier: On uncaughtException, call process.abort() • v0.10.8 and later: Use --abort-on-uncaught-exception
    [Show full text]
  • Developer's Guide for Migrating to Oracle Solaris 11
    Developer's Guide for Migrating to Oracle Solaris 11 Part No: E60338 April 2020 Developer's Guide for Migrating to Oracle Solaris 11 Part No: E60338 Copyright © 2015, 2020, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
    [Show full text]
  • Oracle® Solaris 11.4 Programming Interfaces Guide
    ® Oracle Solaris 11.4 Programming Interfaces Guide Part No: E61059 November 2020 Oracle Solaris 11.4 Programming Interfaces Guide Part No: E61059 Copyright © 2001, 2020, Oracle and/or its affiliates. License Restrictions Warranty/Consequential Damages Disclaimer This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. Warranty Disclaimer The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. Restricted Rights Notice If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are "commercial computer software" or
    [Show full text]
  • What Linuxcan Learn From
    What Linux can learn from Solaris performance and vice-versa Brendan Gregg Lead Performance Engineer [email protected] SCaLE12x @brendangregg February, 2014 Linux vs Solaris Performance Differences DTrace libumem Symbols Microstate futex Up-to-date Accounting packages Mature fully preemptive Applications DynTicks RCU System Libraries System Call Interface SLUB VFS Sockets Scheduler ZFS Process File Systems TCP/UDP swapping btrfs Volume Managers IP Virtual Block Device Interface Ethernet Memory Overcommit Virtualization & OOM Killer CPU scalability likely()/unlikely() CONFIGurable Device Drivers I/O MPSS Zones Scheduler Crossbow FireEngine Lazy TLB KVM More device drivers whoami • Lead Performance Engineer at Joyent • Work on Linux and SmartOS performance • Work/Research: tools, visualizations, methodologies • Did kernel engineering at Sun Microsystems; worked on DTrace and ZFS Joyent • High-Performance Cloud Infrastructure • Compete on cloud instance/OS performance • OS Virtualization for bare metal performance (Zones) • Core developers of illumos/SmartOS and Node.js • Recently launched Manta: a high performance object store • KVM for Linux guests • Certified Ubuntu on Joyent cloud now available! SCaLE11x: Linux Performance Analysis strace Operating System netstat Hardware perf pidstat Applications DBs, all server types, ... System Libraries mpstat perf System Call Interface CPU Interconnect dtrace VFS Sockets Scheduler CPU stap File Systems TCP/UDP top ps 1 lttng pidstat Volume Managers IP Virtual Memory perf ktap Memory Linux Kernel Block Device Interface Ethernet Bus vmstat Device Drivers slabtop DRAM iostat perf I/O Bus free iotop I/O Bridge blktrace Expander Interconnect tcpdump nicstat ip I/O Controller Network Controller Interface Transports Various: Disk Disk Swap Port Port sar dstat swapon ping traceroute /proc Latest version: http://www.brendangregg.com/linuxperf.html SCaLE12x: Linux and Solaris Performance • Also covered in my new book, Systems Performance (Prentice Hall, 2013) • Focus is on understanding systems and the methodologies to analyze them.
    [Show full text]
  • Red Hat Enterprise Linux to Oracle Solaris Porting Guide
    An Oracle Technical White Paper July 2012 Red Hat Enterprise Linux to Oracle Solaris Porting Guide Red Hat Enterprise Linux to Oracle Solaris Porting Guide What’s New in Oracle Solaris 11? ..................................................... 4 Oracle Portability and Compatibility Guarantee ............................. 5 Similarities and Differences Between Oracle Solaris and Linux ......... 5 Tools and Development Environment ............................................ 6 GNU Utilities and Popular Developer Tools ................................... 6 Availability of Open Source Software on the Oracle Solaris Platform7 Advantages of Porting to Oracle Solaris 11 ....................................... 7 Recommended Strategy .................................................................... 9 Assessment of the Application Porting Effort ................................... 10 Limiting the Scope ....................................................................... 10 Classification of Code .................................................................. 11 Scripts and Other Portable Components ..................................... 11 Build Environment Dependencies ................................................ 11 Assess Food Chain Dependencies .............................................. 12 Data Portability ................................................................................ 13 Data Migration Considerations ..................................................... 13 Data Portability, Well-Known Issues, and Solutions ....................
    [Show full text]
  • Solaris 10 7/07 HW Release Notes
    Solaris 10 7/07 HW Release Notes Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A. Part No: 820–2713–11 July 2007 Copyright 2007 Sun Microsystems, Inc. 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more U.S. patents or pending patent applications in the U.S. and in other countries. U.S. Government Rights – Commercial software. Government users are subject to the Sun Microsystems, Inc. standard license agreement and applicable provisions of the FAR and its supplements. This distribution may include materials developed by third parties. Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and other countries, exclusively licensed through X/Open Company, Ltd. Sun, Sun Microsystems, the Sun logo, the Solaris logo, the Java Coffee Cup logo, docs.sun.com, Java, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the U.S. and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. The OPEN LOOK and SunTM Graphical User Interface was developed by Sun Microsystems, Inc. for its users and licensees. Sun acknowledges the pioneering efforts of Xerox in researching and developing the concept of visual or graphical user interfaces for the computer industry.
    [Show full text]