Skip to content

Turn on performance mode for macOS Sierra Server

In many Blogs the wrong command is still listed to turn on the performance mode for macOS Sierra Server.

The correct one for Sierra to turn it on:

1
sudo nvram boot-args="serverperfmode=1 $(nvram boot-args 2>/dev/null | cut -f 2-)"

And to turn it off:

1
sudo nvram boot-args="$(nvram boot-args 2>/dev/null | sed -e $'s/boot-args\t//;s/serverperfmode=1//')"

To check if the the performance mode is turned on:

1
2
[email protected]:~ $ nvram boot-args
boot-args serverperfmode=1

And you need to reboot to make it work!

If you see the following, it is the default:

1
2
[email protected]:~ $ nvram boot-args
nvram: Error getting variable - 'boot-args': (iokit/common) data was not found

The following will NOT work:

1
2
sudo serverinfo —setperfmode 1
sudo serveradmin settings info:enableServerPerformanceMode = yes

More info: Apple

This content is older than 2 years. It might be outdated.
Published inHowTo

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2018 by Joerg Hochwald. All rights reserved. ● Site is powered by Author