资源描述:
《linux performance analysis and tools》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、LinuxPerformanceAnalysisandToolsBrendanGreggLeadPerformanceEngineerbrendan@joyent.comSCaLE11x@brendangreggFebruary,2013Sunday,February24,13FindtheBottleneckOperatingSystemHardwareApplicationsDBs,allservertypes,...SystemLibrariesCPUSystemCallInterfaceInter-connectVFSSocketsSchedulerC
2、PUext3/...ZFSTCP/UDP1LVMIPVirtualMemoryMemoryBusBlockDeviceInterfaceEthernetLinuxKernelDRAMDeviceDriversI/OBusI/OBridgeExpanderInterconnectI/OControllerNetworkControllerInterfaceTransportsDiskDiskPortPortSunday,February24,13whoami•LeadPerformanceEngineer•Work/Research:tools,visualiz
3、ations,methodologies•WasBrendan@SunMicrosystems,Oracle,nowJoyentSunday,February24,13Joyent•High-PerformanceCloudInfrastructure•Competeoncloudinstance/OSperformance•Public/privatecloudprovider•OS-Virtualizationforbaremetalperformance(Zones)•CoredevelopersofSmartOSandnode.js•KVMforLin
4、uxguestsSunday,February24,13SCaLE10x:CloudPerformanceAnalysis•Exampleperfissues,includingnewtoolsandvisualizations:http://dtrace.org/blogs/brendan/2012/01/30/performance-analysis-talk-at-scale10x/Sunday,February24,13SCaLE11x:LinuxPerformanceAnalysis•Theprimaryoperatingsystemformynex
5、tbook:(secondaryistheOpenSolaris-illumos-basedSmartOS)SystemsPerformanceENTERPRISEANDTHECLOUDBrendanGreggPrenticeHall,2013Sunday,February24,13Agenda•Background•LinuxAnalysisandTools•Basic•Intermediate•Advanced•Methodologies•ChallengesSunday,February24,13Performance•Whydoperformancea
6、nalysis?•ReduceITspend–findandeliminatewaste,findareastotune,anddomorewithless•Buildscalablearchitectures–understandsystemlimitsanddeveloparoundthem•Solveissues–locatebottlenecksandlatencyoutliersSunday,February24,13SystemsPerformance•Whystudytheoperatingsystem?•Findandfixkernel-basedp
7、erfissues•2-20%wins:I/Oorbuffersizetuning,NUMAconfig,etc•2-200xwins:bugs,disabledfeatures,perturbationscausinglatencyoutliers•Kernelschange,newdevicesareadded,workloadsscale,andnewperfissuesareencountered.•Analyzeapplicationperffromkernel/systemcontext•2-2000xwins:identifyingandelimi
8、natingunnecessarywo