[Radiance-general] Radiance under Mac OS X (Mavericks 10.9 and later)

Stephen Wasilewski stephen at coolshadow.com
Wed Aug 30 17:56:09 PDT 2017


I tested this on 10.9.5:
Using a rtrace process running for 10 minutes as a benchmark, the run with
app nap disabled calculated the same general number of points as the run
where app nap kicked in after a minute or two.

Activity Monitor shows app nap in effect for terminal, but not any of its
child processes (bash, rtrace, etc), so it's possible it has no effect on
these, to be safe I will be leaving app nap disabled for terminal.

You cannot disable app nap for terminal per the instructions in the article
greg linked, so you need to either use the system wide command (in
terminal):

defaults write NSGlobalDomain NSAppSleepDisabled -bool YES

OR, to just disable for terminal:

defaults write com.apple.Terminal NSAppSleepDisabled -bool YES

to undo either of these replace YES with NO in the command.  Global changes
requires a restart to take effect, terminal specific changes requires
quitting and reopening terminal.


Stephen Wasilewski
*LOISOS *+* UBBELOHDE*
- - - - - - - - - - - - - - - - - - - - - - - - - - -
1917 Clement Avenue  Building 10A
Alameda, CA  94501 USA
- - - - - - - - - - - - - - - - - - - - - - - - - - -
510 521 3800 VOICE
510 521 3820 FAX
- - - - - - - - - - - - - - - - - - - - - - - - - - -
www.coolshadow.com

On Tue, Aug 29, 2017 at 2:05 PM, Gregory J. Ward <gregoryjward at gmail.com>
wrote:

> If you are running Radiance under a recent edition of Mac OS X, you may
> want to selectively disable "App Nap", which is a feature that makes your
> process take longer because it thinks you're not "using it."  See:
>
>         https://www.howtogeek.com/277414/what-is-app-nap-is-it-
> slowing-down-my-mac-apps/
>
> You can scroll down for how to disable App Nap for specific applications.
> I haven't experimented with it enough to be sure if it's sufficient to just
> disable it for the Terminal, or if you have to individually apply it to the
> Radiance renderers (if such a thing is possible), or if you need to do it
> system-wide.  You may need to experiment, and please report back with what
> you found.
>
> I'm still running Lion (10.7), because it's the *oldest* version of OS X
> my MacBook supports.   So, I don't really know how big a problem this is,
> but I've noticed that background renders take forever under more recent
> versions.  (Can't say I'm a fan of anything Apple has done in the last 5
> years.)
>
> Also check out a very useful command-line tool called "caffeinate", which
> I just heard about.  It flags a process to keep the system from going to
> sleep while it's running.
>
> Cheers,
> -Greg
> _______________________________________________
> Radiance-general mailing list
> Radiance-general at radiance-online.org
> https://www.radiance-online.org/mailman/listinfo/radiance-general
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.radiance-online.org/pipermail/radiance-general/attachments/20170830/757587bb/attachment.html>


More information about the Radiance-general mailing list