Project

General

Profile

Bug #9936

atomic ops in syscall_mstate() induce significant overhead

Added by John Levon 12 months ago. Updated 11 months ago.

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

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

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 usageClosed2014-07-14

Actions

History

#1

Updated by Marcel Telka 12 months ago

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

Updated by John Levon 12 months ago

Joyent OS-7335

#3

Updated by Electric Monk 11 months 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>

Also available in: Atom PDF