Project

General

Profile

Feature #5003

want kstats for per-zone cpu usage

Added by Robert Mustacchi over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2014-07-14
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

We'd like some by-zone CPU kstats for customers to view historical CPU usage trends. This would look something like the thread microstate accounting, but for all threads in a zone. We would like to track SYS and USR time for the zone, as well as LAT (dispatcher latency). I expect these would just be running counters of clock ticks or nanoseconds (as they are for the per-cpu kstats and the thread microstates).


Related issues

Related to illumos gate - Bug #9936: atomic ops in syscall_mstate() induce significant overheadClosed2018-10-29

Actions

History

#1

Updated by Electric Monk over 5 years ago

  • Status changed from New to Closed

git commit 542a813c9f6736dc348fecc7244bf22b4e0a319c

commit  542a813c9f6736dc348fecc7244bf22b4e0a319c
Author: Jerry Jelinek <jerry.jelinek@joyent.com>
Date:   2014-07-16T17:24:12.000Z

    5003 want kstats for per-zone cpu usage
    Reviewed by: Garrett D'Amore <garrett@damore.org>
    Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
    Reviewed by: Richard Elling <richard.elling@gmail.com>
    Approved by: Rich Lowe <richlowe@richlowe.net>

#2

Updated by Marcel Telka about 1 year ago

  • Related to Bug #9936: atomic ops in syscall_mstate() induce significant overhead added

Also available in: Atom PDF