Project

General

Profile

Actions

Bug #9936

closed

atomic ops in syscall_mstate() induce significant overhead

Added by John Levon over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2018-10-29
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

As described by Mateusz Guzik:

https://illumos.topicbox.com/groups/discuss/T602520cd39c57fc9/scalability-issues-due-to-5003-want-kstats-for-per-zone-cpu-usage

the atomic operations added in bug 5003 appear to have a significant cost, at least in this
type of load:


Files

illumos5003.png (4.74 KB) illumos5003.png John Levon, 2018-10-29 12:16 PM

Related issues

Related to illumos gate - Feature #5003: want kstats for per-zone cpu usageClosedJerry Jelinek2014-07-14

Actions
Actions #1

Updated by Marcel Telka over 4 years ago

  • Related to Feature #5003: want kstats for per-zone cpu usage added
Actions #2

Updated by John Levon over 4 years ago

Joyent OS-7335

Actions #3

Updated by Electric Monk over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 2918c4a32d09a835c1eba8b0b02fe1dcb7a83175

commit  2918c4a32d09a835c1eba8b0b02fe1dcb7a83175
Author: John Levon <john.levon@joyent.com>
Date:   2018-11-21T20:07:44.000Z

    9936 atomic ops in syscall_mstate() induce significant overhead
    9942 zone secflags are not initialized correctly
    Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
    Reviewed by: Robert Mustacchi <rm@joyent.com>
    Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
    Reviewed by: Andy Fiddaman <andy@omniosce.org>
    Reviewed by: Toomas Soome <tsoome@me.com>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Actions

Also available in: Atom PDF