Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mimic: mds: curate priority of perf counters sent to mgr #24467

Merged
merged 10 commits into from Nov 12, 2018

Commits on Nov 6, 2018

  1. mds: add perf counters to track current open/stale sessions

    Signed-off-by: Venky Shankar <vshankar@redhat.com>
    (cherry picked from commit 315aa47)
    vshankar committed Nov 6, 2018
    Copy the full SHA
    85ac426 View commit details
    Browse the repository at this point in the history
  2. mds: decay counter for tracking request load average

    Signed-off-by: Venky Shankar <vshankar@redhat.com>
    (cherry picked from commit 816d8aa)
    
     Conflicts:
    	src/mds/SessionMap.cc
    	src/common/options.cc
    vshankar committed Nov 6, 2018
    Copy the full SHA
    ef720ca View commit details
    Browse the repository at this point in the history
  3. mds: allow request load average decay rate configurable via admin socket

    Signed-off-by: Venky Shankar <vshankar@redhat.com>
    (cherry picked from commit 3809d96)
    
     Conflicts:
    	src/mds/MDSDaemon.cc
    	src/mds/MDSRank.h
    vshankar committed Nov 6, 2018
    Copy the full SHA
    b357952 View commit details
    Browse the repository at this point in the history
  4. mds: show session load average in dump session

    Signed-off-by: Venky Shankar <vshankar@redhat.com>
    (cherry picked from commit 682dc08)
    vshankar committed Nov 6, 2018
    Copy the full SHA
    0a3669b View commit details
    Browse the repository at this point in the history
  5. mds: reorganize and curate perf log counters

    Categorize perf counters into high (PRIO_{CRITICAL/INTERESTING}),
    medium (PRIO_USEFUL) and low priority (PRIO_DEBUGONLY). High and
    medium priority stats are transmitted to ceph mgr and included in
    prometheus output.
    
    Signed-off-by: Venky Shankar <vshankar@redhat.com>
    Fixes: http://tracker.ceph.com/issues/26991
    (cherry picked from commit 48a33f6)
    
     Conflicts:
    	src/mds/Server.cc
    vshankar committed Nov 6, 2018
    Copy the full SHA
    5e2d1a2 View commit details
    Browse the repository at this point in the history
  6. mds: simplify beacon init

    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    (cherry picked from commit b7448f8)
    
     Conflicts:
    	src/mds/Beacon.cc
    batrick authored and vshankar committed Nov 6, 2018
    Copy the full SHA
    9889872 View commit details
    Browse the repository at this point in the history
  7. mds: use monotonic clock in beacon

    Also update other parts of MDS which interact.
    
    Fixes: http://tracker.ceph.com/issues/35837
    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    (cherry picked from commit e77a2f5)
    
     Conflicts:
    	src/mds/Beacon.cc
    	src/mds/MDCache.h
    	src/mds/MDSRank.cc
    	src/mds/MDSRank.h
    	src/mds/Server.cc
    batrick authored and vshankar committed Nov 6, 2018
    Copy the full SHA
    8e0ed23 View commit details
    Browse the repository at this point in the history
  8. mds: use monotonic waits in Beacon

    This guarantees that the sender thread cannot be disrupted by system clock
    changes. This commit also simplifies the sender thread by manually managing the
    thread and avoiding unnecessary context creation.
    
    Fixes: http://tracker.ceph.com/issues/32090
    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    (cherry picked from commit a5fc29b)
    
     Conflicts:
    	src/mds/Beacon.cc
    batrick authored and vshankar committed Nov 6, 2018
    Copy the full SHA
    4f425d6 View commit details
    Browse the repository at this point in the history
  9. mds: track average uptime of sessions

    Average session age math improvements by Patrick.
    
    Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
    Signed-off-by: Venky Shankar <vshankar@redhat.com>
    (cherry picked from commit d2627b9)
    
     Conflicts:
    	src/mds/SessionMap.h
    vshankar committed Nov 6, 2018
    Copy the full SHA
    3e57834 View commit details
    Browse the repository at this point in the history
  10. mds: include session uptime when diplaying session list

    Fixes: https://tracker.ceph.com/issues/35938
    Signed-off-by: Venky Shankar <vshankar@redhat.com>
    (cherry picked from commit b23a204)
    vshankar committed Nov 6, 2018
    Copy the full SHA
    56c730b View commit details
    Browse the repository at this point in the history