PDA

View Full Version : Disable app nap


luciushunt
Jun 13, 2013, 02:31 AM
Is there a way to disable app nap? I am doing a rendering that takes 8 hours or so. If I use safari or any other app the rendering loses priority and starts to get superslow.
Of course this is due to the app nap feature, did anyone figure out how to disable it??

thomaskc
Jun 13, 2013, 02:41 AM
Logical but interesting problem... I would assume there was a way to give certain apps priority, say low - default - high giving them a threshold for how fast or if they would go into nap-mode.

luciushunt
Jun 13, 2013, 02:50 AM
Yes, there should be a way of adjusting priority but I cannot find it. Maybe there's a command line for terminal that can disable app nap as a temporary solution.

Concorde Rules
Jun 13, 2013, 03:09 AM
Is there a way to disable app nap? I am doing a rendering that takes 8 hours or so. If I use safari or any other app the rendering loses priority and starts to get superslow.
Of course this is due to the app nap feature, did anyone figure out how to disable it??


Are you sure it is even enabled for the renderer? Look in activity monitor and see if the process is app nap enabled...

leman
Jun 13, 2013, 03:29 AM
Note:*If you experience problems with App Nap, you can temporarily disable it for a particular process by typing:

defaults write <app domain name> NSAppSleepDisabled -bool YES


;)

luciushunt
Jun 13, 2013, 04:46 AM
Thanks, that's amazing.
Anyway, yes app nap column says YES next to my process when minimized or in the background. It is a very cool feature, but in some cases can be dangerous, expecially when deadlines are ahead :)

Of course it's not smart to install a beta on your working machine but I couldn't resist :)

leman
Jun 13, 2013, 06:19 AM
(please ignore this)

luciushunt
Jun 14, 2013, 04:35 AM
;)

What do you think it means "<app domain name>"?
I am clueless on what to write in terminal. Thanks!

leman
Jun 14, 2013, 05:46 AM
What do you think it means "<app domain name>"?
I am clueless on what to write in terminal. Thanks!

You might want to look at the man page for defaults: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/defaults.1.html


Specifically, scroll down to the Options section. The domain is basically the 'address' of the preference file, but you an also specify the application directly using -app AppName switch.

kroat999
Jun 14, 2013, 05:53 AM
you can disable app nap for Apps look here

http://s9.postimg.org/fchqeeg7f/Bildschirmfoto_2013_06_14_um_12_51_38.jpg (http://postimg.org/image/fchqeeg7f/)

Zudeo
Jun 14, 2013, 09:46 AM
;)

I've always wondered how someone is able to know Terminal commands for things like this. Is there a guide or anything so I can learn this on my own? I don't mean to sidejack this, but I'm curious.

luciushunt
Jun 14, 2013, 09:59 AM
That is even better. I wonder why I didn't think about that in the first place!
Thanks everybody :D

leman
Jun 14, 2013, 10:04 AM
I've always wondered how someone is able to know Terminal commands for things like this. Is there a guide or anything so I can learn this on my own? I don't mean to sidejack this, but I'm curious.

There are lots of tutorials online! Just look for linux/unix/bash introduction tutorials. Unix terminal has a very clear logics to it and its easy to grasp the basic concepts. You should try it out, its great fun and it will also explain lots of the internal structure of OS X to you - especially in regards to how the filesystem works :)

RedRaven571
Jun 17, 2013, 11:04 AM
Interesting, Messages does not have the option to disable app nap.

Kariya
Jun 17, 2013, 11:52 AM
Neither does Safari.

1BadMac
Jun 17, 2013, 09:09 PM
Neither does Safari.

Not in the menu, but you can disable it through the command referenced.

Kariya
Jun 19, 2013, 04:12 PM
Not in the menu, but you can disable it through the command referenced.

Ah gotcha

insider-man
Oct 25, 2013, 09:55 PM
you can disable app nap for Apps look here

Image (http://postimg.org/image/fchqeeg7f/)

Thanks!

Just experienced I discovered this morning that App Nap also kicks in when the Display goes in power save - this caused a pain in the butt for my 3D printing as it just stopped when the Display went sleep. I've only just work out what new 'feature' it was causing.

Other than this minor annoyance Mavericks is pretty darn special! :apple:

IzzyJG99
Oct 27, 2013, 07:22 PM
I wish you could turn it entirely off. I am having issues where if I don't do anything in Finder (Open up my Macintosh HD, etc)...and then I do it takes about 10 seconds for there to be anything. I quite literally can open up Macintosh HD and there is nothing. If I wait 10-12 seconds, they all appear. Only way I've been able to bypass this issue is by going via Dock to the Applications Folder first.

mille1j
Feb 3, 2014, 12:14 PM
Is anyone aware of a way to disable app nab globally? I would love to test it.