Oracle Solaris Studio July, 2014

Total Page:16

File Type:pdf, Size:1020Kb

Oracle Solaris Studio July, 2014 How to Increase Applicaon Security & Reliability with SoGware in Silicon Technology Angelo Rajuderai, SPARC Technology Lead, Oracle SysteMs Partners Ikroop Dhillon, Principal Product Manager, Oracle Solaris Studio July, 2014 Please Stand By. This session will begin promptly at the me indicated on the agenda. Thank You. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 1 Safe Harbor StateMent The following is intended to outline our general product direcAon. It is intended for inforMaon purposes only, and May not be incorporated into any contract. It is not a coMMitment to deliver any Material, code, or funcAonality, and should not be relied upon in Making purchasing decisions. The developMent, release, and AMing of any features or funcAonality described for Oracle’s products reMains at the sole discreAon of Oracle. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2 Agenda 1 Hardware and SoGware Engineered to work together 2 SoGware in Silicon Overview 3 Security with Applicaon Data Integrity 4 Oracle Solaris Studio DevelopMent Tools 5 Q + A Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 3 The Unique Oracle Advantage Hardware and Software Engineered to Work Together One Engineering Team vs Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Application Accelerators In SPARC T5 The Integrated Stack Advantage One Engineering Team Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Partners Benefit froM Innovaon & Integraon All Software Benefit System Software Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle SPARC No Change in ABI Your exisng apps just run beer .. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | The M7 Chip Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | • 32 SPARC Cores M7 Processor • Fourth Generaon CMT Core (S4) • Dynamically Threaded, 1 to 8 Threads Per Core • New Cache Organizaons • Shared Level 2 Data and InstrucAon Caches COREExtreMe CORE CORE CORE CLUSTER CLUSTER CLUSTER CLUSTER • 64MB Shared & ParAAoned Level 3 Cache PerforMance • DDR4 DRAM • Up to 2TB Physical MeMory per Processor INTERCONNECT INTERCONNECT • 2X-3X MeMory Bandwidth over Prior Generaons MEMORY CONTROL CONTROL MEMORY ACCELERATORS ACCELERATORS COHERENCE, SMP & I/O & I/O COHERENCE, SMP • PCIe Gen3 Support L3$ & ON-CHIP ACCELERATORS ACCELERATORS NETWORK • MEMORY CONTROL CONTROL MEMORY Applicaon Acceleraon • Real-AMe Applicaon Data Integrity • Concurrent MeMory Migraon and VA Masking CORE CORE CORE CORE • DB Query Offload Engines CLUSTER CLUSTER CLUSTER CLUSTER INTERCONNECT INTERCONNECT • SMP Scalability froM 1 to 32 Processors COHERENCE, SMP & I/O & I/O COHERENCE, SMP • Coherent MeMory Clusters • Technology: 20nM, 13ML Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 5 M7 Processor PerforMance Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 12 “… the UlAMate SoGware OpAMizaon is Hardware… John Fowler Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | SoGware Acceleraon Integrated into Hardware Over all Strategy to Move SoGware features into Hardware Database Query Application DB 12c Acceleration JVM OpAMizaon Acceleration Hardware • In MeMory •CoMpletely in OpAMizaon Moved to •Move SoGware opAMizaon to •Large MeMory hardware hardware •SoGware systeMs opAMizaon only HW SW Current • Work on • Comp DB tesAng Oracle Compress • MeMor TradiAonal Studio Hardware based ed data res- tools Tools sion y • low • Wire Bandwi • 200X • Reduced overhead Real time • Perf overhead overhead Data speed dth Application Uncompr Data Integrity Decompression Penalt LiMited ess y Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle ConfidenAal Hardware SoGware & Silicon Engineered to Work Together Soware in Silicon Performance Reliability/Security DB In-MeMory Applicaon Data Acceleraon Engines Integrity Capacity Revolu8on, Compression Engines Not Evoluon! Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | List of SoGware in Silicon Features • Applicaon Data Integrity • Virtual Address (VA) Masking • Database Query Accelerator Engine • Fine Grain MeMory Migraon • On-Chip Uncompression Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle ConfidenAal SoGware in Silicon Cloud Third Party developers can benefit froM the SoGware in Silicon • SoGware in Silicon Cloud available TODAY! • Access to M7 Hardware • Secure environMent to develop, build and test your applicaon with SoGware in Silicon features • Open to ISV Partners and CustoMer • Developer tools and IPS pkg repository included • “How to” Guides and technical support included • Need to sign Beta Legal AgreeMent Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle ConfidenAal – Restricted 20 Safe Harbor StateMent The following is intended to outline our general product direcAon. It is intended for inforMaon purposes only, and May not be incorporated into any contract. It is not a coMMitment to deliver any Material, code, or funcAonality, and should not be relied upon in Making purchasing decisions. The developMent, release, and AMing of any features or funcAonality described for Oracle’s products reMains at the sole discreAon of Oracle. hpps://SWiSDev.Oracle.COM/ Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle ConfidenAal – Internal/Restricted/Highly Restricted 16 MeMory CorrupAon – The ProbleM • Applicaons vulnerable to MeMory corrupAon caused by soGware error. • Major source of database and OS corrupAons and crashes • Databases and OS(s) have tens of Millions of lines of code, developed by distributed teams of thousands of developers, so errors introduced by a subsysteM could adversely affect one or More subsysteMs. • Buffer overflows are a Major source of security exploits • In-MeMory database increases exposure – terabytes of criAcal data in-meMory • MeMory corrupAon bugs are extreMely hard to find • VicAM thread finds corrupted data long aer corrupAon happens. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle ConfidenAal “… this is the Most iMportant thing we have done in Silicon in May be ever…” … because even sMart programMers Make Mistakes” Larry Ellison Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Applicaon Data Integrity • Near Real-AMe Data Integrity M7 M7 Core Pipeline ExecuAon MeMory & Caches Checking in Dev, Test & ProducAon version 64Bytes ld … • Version Metadata Associated with version 64Bytes st … version address version 64Bytes 64Byte Aligned MeMory Data version 64Bytes • Metadata Stored in MeMory, Maintained version 64Bytes Version MiscoMpare Throughout the Cache Hierarchy and All version 64Bytes Interconnects version 64Bytes version 64Bytes ld … • MeMory Version Metadata Checked st … version address Version MeMory Against Reference Version by Core Load/ Metadata Data Reference Store Units Versions • HW ImpleMentaon, Very Low Overhead Safeguards Against Invalid/Stale References and • Enables Applicaons to Inspect Buffer Overruns for Solaris and DB Clients FaulAng References, Diagnose and Take Appropriate Recovery AcAons Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle ConfidenAal 13 Dramac ReducAon in over head with ADI Test Case: gcc compile Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle ConfidenAal 20 Safe Harbor StateMent The following is intended to outline our general product direcAon. It is intended for inforMaon purposes only, and May not be incorporated into any contract. It is not a coMMitment to deliver any Material, code, or funcAonality, and should not be relied upon in Making purchasing decisions. The developMent, release, and AMing of any features or funcAonality described for Oracle’s products reMains at the sole discreAon of Oracle. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle ConfidenAal – Internal/Restricted/Highly Restricted 21 Heartbleed - Impacted Websites using OpenSSL Heartbeat request sent Vicm responds with to vic8m requested payload size (64K bytes) Type Payload_size Payload Type Payload_size Payload HB_REQUEST 65535 Hello HB_RESPONSE 65535 Hello ………. …………………. Payload_size does not match Payload Unauthorized data returned to requestor Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 22 How can you use the ADI APIs • Oracle’s SoGware enhanced with ADI – Ex. Oracle DB uses ADI in SGA. • Solaris Malloc() enhanced with ADI - libadiMalloc – LD_PRELOAD able with no applicaon change • Solaris ADI API – Add ADI to applicaons – Libraries in libc in Solaris 11.2 • Studio Discover tool with ADI – Find and fix bugs during developMent – Available on Studio 12.4 All of the above available on the SWiSDev cloud Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle ConfidenAal Oracle Solaris Studio Ikroop Dhillon, Principal Product Manager Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 24 Oracle Solaris Studio Security Producvity Performance Integraon Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle ConfidenAal – Internal/Restricted/Highly Restricted 25 MulA-language Applicaon IDE DevelopMent AnalyAcs COMPLETE TOOLSUITE Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 26 CoMplete & CoMprehensive Toolsuite Mul8-language Development Applica8on Analy8cs C, C++ Compilers Code Analyzer Fortran Compiler Performance Analyzer Debugger Thread Analyzer Performance
Recommended publications
  • SPARC S7 Servers
    Oracle’s SPARC S7 Servers Technical Overview Rainer Schott Oracle Systems Sales Consulting September 2016 Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 3 • App Data Integrity SPARC @ Oracle Including • DB Query Acceleration Software in Silicon } • Inline Decompression 7 Processors in 6 Years • More…. 2010 2011 2013 2013 2013 2015 2016 SPARC T3 SPARC T4 SPARC T5 SPARC M5 SPARC M6 SPARC M7 SPARC S7 16 x 2nd Gen cores 8 x 3rd Gen Cores 16 x 3rd Gen Cores 16x 3 rd Gen Cores 12 x 3rd Gen Cores 32 x 4th Gen Cores 8 x 4th Gen Cores 4MB L3 Cache 4MB L3 Cache 8MB L3 Cache 48MB L3 Cache 48MB L3 Cache 64MB L3 Cache 16MB L3 cache 1.65 GHz 3.0 GHz 3.6 GHz 3.6 GHz 3.6 GHz 4.1 GHz 4.5 GHz Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Advancing the State-of-the-Art M7 Microprocessor – World’s First Implementation of Software Features in Silicon • SQL in Silicon – High-Speed Memory Decompression… – Accelerates In-Memory Database • Always-On Security in Silicon – Memory intrusion detection • High-Speed Encryption – Near zero performance impact Copyright © 2016, Oracle and/or its affiliates.
    [Show full text]
  • Application Performance Optimization
    Application Performance Optimization By Börje Lindh - Sun Microsystems AB, Sweden Sun BluePrints™ OnLine - March 2002 http://www.sun.com/blueprints Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95045 USA 650 960-1300 Part No.: 816-4529-10 Revision 1.3, 02/25/02 Edition: March 2002 Copyright 2002 Sun Microsystems, Inc. 4130 Network Circle, Santa Clara, California 95045 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, Sun BluePrints, Sun Enterprise, Sun HPC ClusterTools, Forte, Java, Prism, and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. in the US and other countries. Products bearing SPARC trademarks are based upon an architecture developed by Sun Microsystems, Inc. The OPEN LOOK and Sun™ 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]
  • Oracle® Developer Studio 12.6
    ® Oracle Developer Studio 12.6: C++ User's Guide Part No: E77789 July 2017 Oracle Developer Studio 12.6: C++ User's Guide Part No: E77789 Copyright © 2017, 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 Magazine, P.O
    NOVEMBER/DECEMBER 2013 Information Acceleration Oracle Database In-Memory option delivers query results 100 times faster and doubles transaction processing rates / 14 C Is for Cloud, Consolidation, and Customers Oracle customers drive the genesis and marquee features of Oracle Database 12c / 15 The Next Big Wave Explore mobile frontiers with Oracle ADF Mobile / 38 SQL in PL/SQL Enhancements Oracle Database 12c enhances writing and executing SQL in PL/SQL / 51 On Oracle Database 12c, Part 2 Our technologist fi nds a match for his SQL and makes his undo temporary / 55 ENGINEERING AS A SERVICE Organizations deploy database as a service in private clouds with Oracle Exadata The Business of Growing Land O’Lakes invests in Oracle engineered systems to plant the seeds of change Record- Breaking Oracle OpenWorld, JavaOne, and MySQL Connect deliver a week of innovative technology ND13_COVER.indd 1 10/9/13 9:44 AM Untitled-1 6 9/27/13 2:54 PM Untitled-1 7 9/27/13 2:54 PM 2 VOLUME XXVII - ISSUE 6 CONTENTS RECORD-BREAKING Oracle OpenWorld, JavaOne, and MySQL Connect deliver a week of innovative technology to 60,000 people onsite and 2.1 million people online. —Tom Caldecott / 24 THE BUSINESS ENGINEERING OF GROWING AS A SERVICE The second-largest cooperative in the Organizations are turning to Oracle Exadata for United States, Land O’Lakes invests in consolidation and deployment of database as a service Oracle engineered systems to plant the in private clouds. —David A. Kelly seeds of change. —Marta Bright / 28 / 34 Cover: I-Hua Chen Up Front / 4 INTERVIEW / 15 Technology / 38 PL/SQL / 51 C Is for Cloud, SQL in PL/SQL FROM THE EDITOR / 4 Consolidation, and Enhancements Quintessential and Customers Oracle Database 12c Collaborative —Tom Haunert Oracle customers drive the enhances writing and MASHUP / 5 genesis and marquee features executing SQL in PL/SQL.
    [Show full text]
  • Memory Subsystem Profiling with the Sun Studio Performance Analyzer
    Memory Subsystem Profiling with the Sun Studio Performance Analyzer CScADS, July 20, 2009 Marty Itzkowitz, Analyzer Project Lead Sun Microsystems Inc. [email protected] Outline • Memory performance of applications > The Sun Studio Performance Analyzer • Measuring memory subsystem performance > Four techniques, each building on the previous ones – First, clock-profiling – Next, HW counter profiling of instructions – Dive deeper into dataspace profiling – Dive still deeper into machine profiling – What the machine (as opposed to the application) sees > Later techniques needed if earlier ones don't fix the problems • Possible future directions MSI Memory Subsystem Profiling with the Sun Studio Performance Analyzer 6/30/09 2 No Comment MSI Memory Subsystem Profiling with the Sun Studio Performance Analyzer 6/30/09 3 The Message • Memory performance is crucial to application performance > And getting more so with time • Memory performance is hard to understand > Memory subsystems are very complex – All components matter > HW techniques to hide latency can hide causes • Memory performance tuning is an art > We're trying to make it a science • The Performance Analyzer is a powerful tool: > To capture memory performance data > To explore its causes MSI Memory Subsystem Profiling with the Sun Studio Performance Analyzer 6/30/09 4 Memory Performance of Applications • Operations take place in registers > All data must be loaded and stored; latency matters • A load is a load is a load, but > Hit in L1 cache takes 1 clock > Miss in L1, hit in
    [Show full text]
  • What's New in Oracle® Solaris Studio 12.4
    ® What's New in Oracle Solaris Studio 12.4 Part No: E37071 December 2014 Copyright © 2014, 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 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. Government. This software or hardware is developed for general use in a variety of information management applications.
    [Show full text]
  • SPARC T5-2 Server Service Manual
    SPARC T5-2 Server Service Manual Part No: E28856-12 May 2016 SPARC T5-2 Server Service Manual Part No: E28856-12 Copyright © 2013, 2016, 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]
  • Oracle's SPARC T5-2, SPARC T5-4, SPARC T5-8, and SPARC T5-1B Server Architecture Oracle's SPARC T5-2, SPARC T5-4, SPARC T5-8, and SPARC T5-1B Server Architecture
    An Oracle White Paper February 2014 Oracle's SPARC T5-2, SPARC T5-4, SPARC T5-8, and SPARC T5-1B Server Architecture Oracle's SPARC T5-2, SPARC T5-4, SPARC T5-8, and SPARC T5-1B Server Architecture Introduction ....................................................................................... 1 Comparison of SPARC T5–Based Server Features........................... 2 SPARC T5 Processor ........................................................................ 3 Taking Oracle’s Multicore/Multithreaded Design to the Next Level 5 SPARC T5 Processor Architecture ................................................ 6 SPARC T5 Processor Cache Architecture ..................................... 8 SPARC T5 Core Architecture ........................................................ 9 Oracle Solaris for Multicore Scalability............................................. 16 Oracle Solaris 11 Operating System ................................................ 18 Oracle Solaris Predictive Self Healing, Fault Management Architecture, and Service Management Facility ....................................................... 19 Oracle Solaris Cryptographic Frameworks................................... 19 End-to-End Virtualization Technology .............................................. 19 A Multithreaded Hypervisor ......................................................... 20 Oracle VM Server for SPARC ...................................................... 20 Oracle Solaris Zones ................................................................... 21 Enterprise-Class
    [Show full text]
  • Oracle Solaris Studio 12.2 Performance Analyzer MPI Tutorial
    Oracle® Solaris Studio 12.2: Performance Analyzer MPITutorial Part No: 820–5551 September 2010 Copyright © 2010, 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 software 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 setforth 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 Studio 12.4: Performance Analyzer Tutorials
    ® Oracle Solaris Studio 12.4: Performance Analyzer Tutorials Part No: E37087 December 2014 Copyright © 2014, 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 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. Government. This software or hardware is developed for general use in a variety of information management applications.
    [Show full text]
  • Openmp Performance 2
    OPENMP PERFORMANCE 2 A common scenario..... “So I wrote my OpenMP program, and I checked it gave the right answers, so I ran some timing tests, and the speedup was, well, a bit disappointing really. Now what?”. Most of us have probably been here. Where did my performance go? It disappeared into overheads..... 3 The six (and a half) evils... • There are six main sources of overhead in OpenMP programs: • sequential code • idle threads • synchronisation • scheduling • communication • hardware resource contention • and another minor one: • compiler (non-)optimisation • Let’s take a look at each of them and discuss ways of avoiding them. 4 Sequential code • In OpenMP, all code outside parallel regions, or inside MASTER and SINGLE directives is sequential. • Time spent in sequential code will limit performance (that’s Amdahl’s Law). • If 20% of the original execution time is not parallelised, I can never get more that 5x speedup. • Need to find ways of parallelising it! 5 Idle threads • Some threads finish a piece of computation before others, and have to wait for others to catch up. • e.g. threads sit idle in a barrier at the end of a parallel loop or parallel region. Time 6 Avoiding load imbalance • It’s a parallel loop, experiment with different schedule kinds and chunksizes • can use SCHEDULE(RUNTIME) to avoid recompilation. • For more irregular computations, using tasks can be helpful • runtime takes care of the load balancing • Note that it’s not always safe to assume that two threads doing the same number of computations will take the same time.
    [Show full text]
  • Openmp 4.0 Support in Oracle Solaris Studio
    OpenMP 4.0 Support In Oracle Solaris Studio Ruud van der Pas Disnguished Engineer Architecture and Performance, SPARC Microelectronics SC’14 OpenMP BOF November 18, 2014 Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 1 Safe Harbor Statement The following is intended to outline our general product direcEon. It is intended for informaon purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or funcEonality, and should not be relied upon in making purchasing decisions. The development, release, and Eming of any features or funcEonality described for Oracle’s products remains at the sole discreEon of Oracle. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 2 What Is Oracle Solaris Studio ? • Supported on Linux too • Compilers and tools, • It is actually a comprehensive so-ware suite, including: – C, C++ and Fortran compilers – Various tools (performance analyzer, thread analyzer, code analyzer, debugger, etc) • Plaorms supported – Processors: SPARC, x86 – Operang Systems: Solaris, Linux Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 3 hp://www.oracle.com/technetwork/ server-storage/solarisstudio/overview/index.html Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 4 OpenMP Specific Support/1 • Compiler – Various opEons and environment variables – Autoscoping – Compiler Commentary • General feature to inform about opEmizaons, but also specific to OpenMP • Performance Analyzer – OpenMP “states”, metrics, etc – Task and region specific informaon Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 5 Performance Analyzer - Profile Comparison Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 6 A Comparison– More Detail Copyright © 2014, Oracle and/or its affiliates.
    [Show full text]