Project

General

Profile

Actions

Feature #12552

closed

increase get_max_pages

Added by Patrick Mooney about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
bhyve
Gerrit CR:

Description

Upstreaming SmartOS OS-6627 (currently marked private):

This increases the maximum pages that can be retrieved in order to allow virtual machines to consume a significant portion of the system's memory. Joyent found this to be useful for running bhyve instances.

The added function get_max_page_get will be used by bhyve.

Actions #1

Updated by Patrick Mooney about 2 years ago

To test this independently in illumos-gate, I booted up a platform with the patch and checked in mdb -k that max_page_get was set to 23/32 of the page count reported by ::memstat.

Actions #2

Updated by Patrick Mooney about 2 years ago

  • Description updated (diff)
Actions #3

Updated by Electric Monk about 2 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 0418219cf21334a9c6712bbb2cec543b2ee4f989

commit  0418219cf21334a9c6712bbb2cec543b2ee4f989
Author: Jerry Jelinek <jerry.jelinek@joyent.com>
Date:   2020-04-21T19:29:06.000Z

    12552 increase get_max_pages
    Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
    Reviewed by: Mike Gerdts <mike.gerdts@joyent.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF