oracle solaris build and run applications better on 11.3

25

Upload: otn-systems-hub

Post on 15-Jan-2017

356 views

Category:

Software


4 download

TRANSCRIPT

Page 1: Oracle Solaris  Build and Run Applications Better on 11.3
Page 2: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

BuildandRunApplicationsBetteronOracleSolaris11.3TechDay,NYC

Liane Praza,SeniorPrincipalSoftwareEngineerIkroopDhillon,PrincipalProductManagerJune,2016

Page 3: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

SafeHarborStatementThefollowingisintendedtooutlineourgeneralproductdirection.Itisintendedforinformationpurposesonly,andmaynotbeincorporatedintoanycontract.Itisnotacommitmenttodeliveranymaterial,code,orfunctionality,andshouldnotberelieduponinmakingpurchasingdecisions.Thedevelopment,release,andtimingofanyfeaturesorfunctionalitydescribedforOracle’sproductsremainsatthesolediscretionofOracle.

Page 4: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

DrivingApplicationInnovationsintothePlatform• SoftwareinSilicon• BasicOSimprovements• NewOSlibraries• Deployment/config automation• Applicationisolation• Debuggingtools• Compilers/IDEs

4

Page 5: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

DevOps fortheEnterprise

5

ContinuousDeploymentContinuousIntegration

• CorrelationofappandHWinteractions,DTrace

• MemoryprotectioninHW• Optimized, remoteIDE

AgileDevelopment

• Richperformancemonitoring tool• Scalable

• Secure

• Multi-levelfault-tolerant

YOURAPP

YOURAPP

Page 6: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

ProgrammaticAutomationwithRAD• Multiplelanguagebindings,administrativeAPI–Manage:Zones,SMF,IPS,ZFS,Datalinks,Flows,Users,AIServer– C,Python,Java,REST– Preciseerrorsemantics

• Createyourownmodules

6

FRemoteAccessDaemon(RAD)interface:C, Python, Java,REST

Solaris SystemLibraries,e.g.libevs

OpenStackHorizonevsadm(1m)OpenStack

Neutron

CustomCLItools OEM/OC Custom

BUItools

Page 7: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

ActivelyParticipatinginOpenSourceCommunitiesandProjectsUpdatedOSSAPIsandTools

– OpenStack,Murano,Trove,Cinder,Swift,Docker,OpenDaylight,Puppet,Clang,LLVM,Kerberos,OpenBSD PF,OpenSSL,OVALCommunity,OpenSCAP,Hadoop,…

– Over500supportedwithSolaris– New11.3evaluationpackagesavailablesoon inhttp://pkg.oracle.com/solaris/release

Dozensofcommunitiesand>500projects FreeandOpenSourcePackages

Page 8: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

GreatLanguageSupport• ExtensivePythonintegration–Weuseitourselves:IPS,Deployment,OpenStack,newdevelopment

• Java• Perl,Ruby,Erlang …• Obviously,CandC++

• All64-bitwhereappropriate.2038iscloserthanwethink.

8

Page 9: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

OracleSolarisStudioWriteBetterCode,InLessTime

9

• Productivity–Maximizedeveloperproductivity

• Security– Increaseapplicationsecurity

• Performance– GeneratethefastestSPARCandx86code

• Integration– Leveragehighlyintegratedengineering

Performance

Security

Integration

Productivity

Page 10: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

DevelopFasterApplicationsFaster

• Upto4.5xfastercode

• Upto50%higherdeveloperefficiency

• PowerfulJava,C,C++profilingtools– HWcounteroverflowandclock-basedprofiling

– Richsetofperformancedata– Lowoverhead,accurate

• Remotedevelopmentandanalysisfromyourlaptop

10

WithOracleSolarisStudio

1.42

4.57

1 1

01234567

Integer FloatingPoint

SpeedPerformanceOracleSPARCM7

SolarisStudio12.44/15PSE GCC4.8.2

1.421.26

1 1

0

1

2

Integer FloatingPoint

ThroughputPerformanceOracleSPARCM7

SolarisStudio12.4,4/15PSE GCC4.8.2

* EstimatedresultsfromSPECCPU2006benchmarksonOracleSPARCM7,seedisclosurestatement

Page 11: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

MultinationalFinancialServicesCompany

• Optimizelowlatencyalgorithmictradingandriskandpricingapps

• KeyBenefits– 20%performanceboost– CorrelatesJavaperformanceandbottleneckstoHW“likenothingelseinthemarket”

– Remote profiling– Mixed-language analysis– Lowcostsupportandlicensingmodel

11

StandardizedonPerformanceAnalyzerforJava

Timelineofevents Callstackforselectedevent

Performancedataorganizedbyviews

Page 12: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

OracleSolarisStudioIDE

12

• OptimizedforC,C++andJava/C++• Remotedevelopment• Customdevelopmentextensions• NetBeansPlug-ins• Tunedforlargeenterpriseapps

MaximizeProductivity

600

3000

100

400

0 1000 2000 3000 4000

FirefoxSource

BoostSource

Seconds

SolarisStudioIDE- ParseTime

SolarisStudio

Eclipse

7.5xFaster

6xFaster

Page 13: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

BestOSdebugging/observability tools• Powerful,integratedobservability– DTrace,kstat,proc tools,*stattools

• 11.3adds– Namedthreads:pthread_attr_setname_np(3C)– Deferreddump– IOMMUstatistics

13

Page 14: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

BasicOSimprovments,BigApplicationValue• Eventports(port_create())– Aggregatemultipleeventtypeswithoutpoll(). Files,andnowsignalsin11.3

• gethrtime()/gettimeofday()–Massiveimprovementsforrealworldapps

• posix_spawn()– Avoidfulladdressspacecopy– Improvesjavaperformance

• Scalableread/writelocks• OSM

14

Page 15: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

PreviouslyUnimaginableResultsforApps&Cloud,AttainableNowBreakthroughHardwareAndSoftwareCo-Engineering

Mid-1990’sLargerMemory

Support,GreaterAccuracy

Mid-2000’sMulti-core,

Multi-threadedComputing Today:

32-CoreRevolutionSoftwareinSilicon:SoftwareFunctionsonChip

OpenSystems Virtualization&Cloud

Page 16: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

Memoryintrusionprotection

First hardwarebasedmemoryprotection

Always-onmemoryprotection

Improveddeveloperefficiency,security,andreliability

SecurityInSilicon: SiliconSecuredMemoryImprovedSecurity&ReliabilityinHardware

Page 17: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

SecurityInSilicon:SiliconSecuredMemory

Applications Memory

Pointer“Y”

Pointer“R”GO

Pointer“B”GO

• Protectsdatainmemory• Hidden“color”bitsaddedtopointers (key),andcontent(lock)• Pointercolor(key)mustmatchcontentcolororprogramisaborted• Setonmemoryallocation,changedonmemoryfree

• Protectsagainstaccessoffendofstructure,stalepointer accessandmaliciousattacks

M7Processor

Page 18: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.| 18

Real-timeMemoryAccessChecking

• CodeAnalyzerfasterthanpopularmemoryaccesscheckingtools• CodeAnalyzer+M7SiliconSecuredMemory= nearreal-timechecking

70x

30x

1.01x

Valgrind/Linux StudioDiscover,software-only

StudioDiscoverwithM7SSM

Baselineperformance

OverheadwithMemorycheckingenabled

Page 19: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

WeFindBugsFor You

• Largeenterpriseappwithheavyuseofmemoryintensiveprocessing• TimetovalueforSPARCM7– 4crossplatformbugstaggedin2days– 180xfasterbugidentification• Othermemoryvalidationtool:3hours• SiliconSecuredMemoryandDiscover:1minute

19

SecureSoftwareMadeSimple– ACaseStudy

SiliconSecuredMemory

Integrated.Simple.Fast.

OracleSolarisStudio

+

Page 20: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

Cool,howdoIuseit?

20

Useindevelopment tofindandfixapplicationmemoryaccesserrors

Useinproductiontolimitmemoryaccesserrorsandattacksinreal-time

Discover-i a.outor

libdiscoverADI.so

LD_PRELOAD_64=/lib/sparcv9/libadimalloc.so;a.out

Near-zerooverheadSiliconSecuredMemory

Page 21: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

“TherevolutionarySecurityinSiliconcapabilitiesofSPARCM7enableustocatchdifficultsoftwareissuesearlyinthedevelopmentcycle,helpingussavedevelopmenttime,improvecustomersatisfaction,andsignificantlyreducecosts.”– JuanLoaiza,SeniorVicePresident,OracleDatabase

21

OracleDatabasecodetestedonOracleSolarisandSPARCM7

Page 22: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|

OracleSoftwareInSiliconDeveloperCloud

Availablenowathttp://SWiSdev.Oracle.com

Openinguptobroadersetofdevelopers

• OnlineClickthroughagreement• FreeforOPNpartners• SPARCEnterpriseDevelopers• UniversityResearchers

Page 23: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|23

• Learnaboutthebenefitandvalueofourtoolsandtechnologiesforyourapplications

• DirectfromtheEngineeringteam• Contactmetosignup!– [email protected]

23

DeveloperWorkshopsForYourDevelopmentTeams

Page 24: Oracle Solaris  Build and Run Applications Better on 11.3

Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.| 24

Page 25: Oracle Solaris  Build and Run Applications Better on 11.3