資源描述:
《linux performance analysis and tools》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫。
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–?ndandeliminatewaste,?ndareastotune,anddomorewithless?Buildscalablearchitectures–understandsystemlimitsanddeveloparoundthem?Solveissues–locatebottlenecksandlatencyoutliersSunday,February24,13SystemsPerformance?Whystudytheoperatingsystem??Findand?xkernel-basedp
7、erfissues?2-20%wins:I/Oorbuffersizetuning,NUMAcon?g,etc?2-200xwins:bugs,disabledfeatures,perturbationscausinglatencyoutliers?Kernelschange,newdevicesareadded,workloadsscale,andnewperfissuesareencountered.?Analyzeapplicationperffromkernel/systemcontext?2-2000xwins:identifyingandelimi
8、natingunnecessarywo