Post on 15-Jan-2017
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
BuildandRunApplicationsBetteronOracleSolaris11.3TechDay,NYC
Liane Praza,SeniorPrincipalSoftwareEngineerIkroopDhillon,PrincipalProductManagerJune,2016
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
SafeHarborStatementThefollowingisintendedtooutlineourgeneralproductdirection.Itisintendedforinformationpurposesonly,andmaynotbeincorporatedintoanycontract.Itisnotacommitmenttodeliveranymaterial,code,orfunctionality,andshouldnotberelieduponinmakingpurchasingdecisions.Thedevelopment,release,andtimingofanyfeaturesorfunctionalitydescribedforOracle’sproductsremainsatthesolediscretionofOracle.
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
DrivingApplicationInnovationsintothePlatform• SoftwareinSilicon• BasicOSimprovements• NewOSlibraries• Deployment/config automation• Applicationisolation• Debuggingtools• Compilers/IDEs
4
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
DevOps fortheEnterprise
5
ContinuousDeploymentContinuousIntegration
• CorrelationofappandHWinteractions,DTrace
• MemoryprotectioninHW• Optimized, remoteIDE
AgileDevelopment
• Richperformancemonitoring tool• Scalable
• Secure
• Multi-levelfault-tolerant
YOURAPP
YOURAPP
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
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
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
GreatLanguageSupport• ExtensivePythonintegration–Weuseitourselves:IPS,Deployment,OpenStack,newdevelopment
• Java• Perl,Ruby,Erlang …• Obviously,CandC++
• All64-bitwhereappropriate.2038iscloserthanwethink.
8
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
OracleSolarisStudioWriteBetterCode,InLessTime
9
• Productivity–Maximizedeveloperproductivity
• Security– Increaseapplicationsecurity
• Performance– GeneratethefastestSPARCandx86code
• Integration– Leveragehighlyintegratedengineering
Performance
Security
Integration
Productivity
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
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
MultinationalFinancialServicesCompany
• Optimizelowlatencyalgorithmictradingandriskandpricingapps
• KeyBenefits– 20%performanceboost– CorrelatesJavaperformanceandbottleneckstoHW“likenothingelseinthemarket”
– Remote profiling– Mixed-language analysis– Lowcostsupportandlicensingmodel
11
StandardizedonPerformanceAnalyzerforJava
Timelineofevents Callstackforselectedevent
Performancedataorganizedbyviews
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
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
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
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
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
Memoryintrusionprotection
First hardwarebasedmemoryprotection
Always-onmemoryprotection
Improveddeveloperefficiency,security,andreliability
SecurityInSilicon: SiliconSecuredMemoryImprovedSecurity&ReliabilityinHardware
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
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
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
WeFindBugsFor You
• Largeenterpriseappwithheavyuseofmemoryintensiveprocessing• TimetovalueforSPARCM7– 4crossplatformbugstaggedin2days– 180xfasterbugidentification• Othermemoryvalidationtool:3hours• SiliconSecuredMemoryandDiscover:1minute
19
SecureSoftwareMadeSimple– ACaseStudy
SiliconSecuredMemory
Integrated.Simple.Fast.
OracleSolarisStudio
+
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
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
“TherevolutionarySecurityinSiliconcapabilitiesofSPARCM7enableustocatchdifficultsoftwareissuesearlyinthedevelopmentcycle,helpingussavedevelopmenttime,improvecustomersatisfaction,andsignificantlyreducecosts.”– JuanLoaiza,SeniorVicePresident,OracleDatabase
21
OracleDatabasecodetestedonOracleSolarisandSPARCM7
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|
OracleSoftwareInSiliconDeveloperCloud
Availablenowathttp://SWiSdev.Oracle.com
Openinguptobroadersetofdevelopers
• OnlineClickthroughagreement• FreeforOPNpartners• SPARCEnterpriseDevelopers• UniversityResearchers
Copyright©2015, Oracleand/oritsaffiliates.Allrightsreserved.|23
• Learnaboutthebenefitandvalueofourtoolsandtechnologiesforyourapplications
• DirectfromtheEngineeringteam• Contactmetosignup!– ikroop.dhillon@oracle.com
23
DeveloperWorkshopsForYourDevelopmentTeams
Copyright©2016, Oracleand/oritsaffiliates.Allrightsreserved.| 24