zoukankan      html  css  js  c++  java
  • Note after reading "googlewide profiling: a continuous profiling infrastructure for data cente"

    pdf download

    What is this GWP (Google Wide Prifile) for ? It try to give answer to the following question :

    What are the hottest processes, routines, or code regions?
    How does performance differ across software versions?
    Which locks are most contended?
    Which processes are memory hogs?
    Does a particular memory allocation scheme benefit a particular class of applications?
    What is the cycles per instruction (CPI) for applications across platforms?

    From paper, we can get some notes :

    1. Data center monitor is different data center profiling tools, Monitor is coarse degree, and profiling tools is fine grained.

    2. Sample at two demension :  select part of machines and sample selected events

    3. Result shows when sampling rate reach 0.01, we can get what we wanted, so higher sampling is not necessary.

    4. Every machine has a lightweight daemon to collect machine and event info

    5. It seems more than one kind of OS were installed in one datacenter, the reason maybe different app can get higher performance on some special kind of OS.

    6. Profling lib act as a http server with hanlders for each type of profiler so what developer only need to do is link the profiling lib and remote client can get prifiling info from that service.

    7. It seems symbol of online app process was stripped, but I think we can stripped job process but keep service process symbol.

    8. Web interface can provide:

    • qeury any part of data
    • call graph and execution time
    • source code align

    9. The scale of GWP storage cluster will limit sample rate
    10. Some interesting observation :

    • zlib consume 5% cpu, so we can concentrate on zip optimization
    • online coverage meaurement
    • job scheduler optimization, some kind of job instance perform better on some spedical CPU architecture.arious
    • Collect many demension, such as function name, compile, shared lib version, ... to support group aggregation to prifile performance of different unit, such as date center, compiler
  • 相关阅读:
    使用RedisDesktopManager工具,解决连接失败问题
    安装redis,搭建环境
    CentOS 7下GitLab搭建及配置
    Metasploit之Hash攻击(Hashdump、Quarks PwDump、Windows Credentials Editor、Mimikatz)
    Metasploit之令牌窃取
    Metasploit之漏洞利用( Metasploitable2)
    Metasploit之主机扫描
    Metasploit模块简介
    WAF的那些事
    XXE漏洞介绍 & XXE漏洞攻击 & 修复建议
  • 原文地址:https://www.cnblogs.com/raymondshiquan/p/2075750.html
Copyright © 2011-2022 走看看