資源描述:
《linux performance analysis and tools (1)》由會員上傳分享,免費在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
1、LinuxPerformanceAnalysisandToolsBrendanGreggLeadPerformanceEngineerbrendan@joyent.comSCaLE11x@brendangreggFebruary,2013Sunday,February24,13FindtheBottleneckOperatingSystemHardwareApplicationsDBs,allservertypes,...SystemLibrariesCPUSystemCallInterfaceInter-con
2、nectVFSSocketsSchedulerCPUext3/...ZFSTCP/UDP1LVMIPVirtualMemoryMemoryBusBlockDeviceInterfaceEthernetLinuxKernelDRAMDeviceDriversI/OBusI/OBridgeExpanderInterconnectI/OControllerNetworkControllerInterfaceTransportsDiskDiskPortPortSunday,February24,13whoami?Lead
3、PerformanceEngineer?Work/Research:tools,visualizations,methodologies?WasBrendan@SunMicrosystems,Oracle,nowJoyentSunday,February24,13Joyent?High-PerformanceCloudInfrastructure?Competeoncloudinstance/OSperformance?Public/privatecloudprovider?OS-Virtualizationfo
4、rbaremetalperformance(Zones)?CoredevelopersofSmartOSandnode.js?KVMforLinuxguestsSunday,February24,13SCaLE10x:CloudPerformanceAnalysis?Exampleperfissues,includingnewtoolsandvisualizations:http://dtrace.org/blogs/brendan/2012/01/30/performance-analysis-talk-at-
5、scale10x/Sunday,February24,13SCaLE11x:LinuxPerformanceAnalysis?Theprimaryoperatingsystemformynextbook:(secondaryistheOpenSolaris-illumos-basedSmartOS)SystemsPerformanceENTERPRISEANDTHECLOUDBrendanGreggPrenticeHall,2013Sunday,February24,13Agenda?Background?Lin
6、uxAnalysisandTools?Basic?Intermediate?Advanced?Methodologies?ChallengesSunday,February24,13Performance?Whydoperformanceanalysis??ReduceITspend–?ndandeliminatewaste,?ndareastotune,anddomorewithless?Buildscalablearchitectures–understandsystemlimitsanddeveloparo
7、undthem?Solveissues–locatebottlenecksandlatencyoutliersSunday,February24,13SystemsPerformance?Whystudytheoperatingsystem??Findand?xkernel-basedperfissues?2-20%wins:I/Oorbuffersizetuning,NUMAcon?g,etc?2-200xwins:bugs,disabledfeatures,perturbationscausinglatenc
8、youtliers?Kernelschange,newdevicesareadded,workloadsscale,andnewperfissuesareencountered.?Analyzeapplicationperffromkernel/systemcontext?2-2000xwins:identifyingandeliminatingunnecessarywo