资源描述:
《linux performance analysis and tools (1)》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
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–findandeliminatewaste,findareastotune,anddomorewithless•Buildscalablearchitectures–understandsystemlimitsanddeveloparo
7、undthem•Solveissues–locatebottlenecksandlatencyoutliersSunday,February24,13SystemsPerformance•Whystudytheoperatingsystem?•Findandfixkernel-basedperfissues•2-20%wins:I/Oorbuffersizetuning,NUMAconfig,etc•2-200xwins:bugs,disabledfeatures,perturbationscausinglatenc
8、youtliers•Kernelschange,newdevicesareadded,workloadsscale,andnewperfissuesareencountered.•Analyzeapplicationperffromkernel/systemcontext•2-2000xwins:identifyingandeliminatingunnecessarywo