Found this neat trick to assist in setting software just right

So recently I found this neat little trick which i now use with pretty much every app on my M1 Mac Mini (Yeah i know it's old but so am I LOL)
I had issues with my Mac sleeping when i went to bed and I collect 3D models (Have over 90Tb (That's right Terabytes as have 6 3D printers)so to save space I discovered that if you compress using 7Zip format instead of zip you get literally over 30-50% MORE COMPRESSION on STL & OBJ files !!!
So I have gone back and written a script using Hazel and / or KB Maestro to expand every zipped file per folder and then re-compress them in 7Zip format. For those that are curious I use Betterzip and Keka which again i have modified with Applescript to make them more efficient. However this brought up the issue of everything going to shit when i would open up the Mac the next night (I stay up nights-Am retired dammit LOL)
So I got the Amphetamine app and it's helper to assist in this but it just wasn't working properly so off the Gemini Pro we went.
Now my new way of figuring things out consists of creating a screenshot for every single tab in the settings and adding them to gemini then expressing my needs and letting it figure it out and VOILA !! Problem solved !!!
I am including screenshots of both my question and the answer given which you will see solved my issue as it turned out I was a chowderhead and mucked up the settings !!1. Ah the Ex-Wife syndrome LOL LOL

Hope this helps someone !!!
PS
turns out that images aren't allowed so I will instead give you the text only but please remember that i also included the above-mentioned screenshots
QUESTION

i am using amphetamine on m1 mac and i am finding that when i'm away from my mac for night time it messes up my huge list of compressing files (I use Betterzip with 4 mac concurrents) . I am including my current setup with images. please either make them better or create a new setup completely or even recommend another app.

ANSWER

Based on your current settings and the goal of running file compression at FULL speed all night on an M1 Mac, your current configuration has two major flaws that are likely causing the "mess up."

Here is the analysis of why it's failing and the recommended "Bulletproof" setup.

🚩 The Problems in Your Current Setup

The "Smoking Gun": In your Session Defaults, you have checked:

Allow system sleep when display is closed

Why this fails: If you turn off your external monitor, or if your Mac detects the "display" is gone/closed, this setting explicitly tells Amphetamine to stop working and let the computer sleep. This is likely why your tasks are pausing.

The "Full Speed" Throttle: You have checked:

Allow display sleep

Why this fails: On M1/Apple Silicon chips, when macOS detects "Display Sleep," it aggressively moves background tasks (like BetterZip) to the Efficiency Cores to save power. This creates a massive drop in speed (often 50-80% slower), even if the machine stays awake.

The "Mouse Move" Hack:

You are using "Move cursor every 5 minutes." This is an unreliable "hack" from the old Intel days. A proper Amphetamine session doesn't need this to keep the Mac awake, and it can interfere with active windows.

✅ Recommended "Full Speed" Setup

To get maximum CPU power for BetterZip all night, you must trick the Mac into thinking you are still sitting there looking at it.

Change your Amphetamine settings to exactly these values:

  1. Preferences > Session Defaults

Default Duration: Indefinitely

Display Sleep: [ ] Allow display sleep (UNCHECK THIS)

Reason: Keeps the GPU and Performance Cores active.

Closed-Display Mode: [ ] Allow system sleep when display is closed (UNCHECK THIS)

Reason: Ensures the Mac stays awake even if the monitor disconnects or is turned off.

Screen Saver: [ ] Allow screen saver (Optional, but better to uncheck)

  1. Preferences > System Control

Cursor: [ ] Move cursor every… (UNCHECK THIS)

Reason: Not needed with the settings above; just adds clutter.

  1. (Optional but Recommended) Preferences > Triggers

Instead of remembering to start a session, let Amphetamine do it for you when BetterZip is open.

Enable Triggers:

Click + -> Select App -> Choose BetterZip.

Condition: "While App is Running".

Save. Now, whenever BetterZip is open, your Mac will never sleep.

⚡️ How to handle the Monitor (Crucial Step)

Since we disabled "Display Sleep" to maintain full CPU speed, your screen will stay on. To fix this without stopping the CPU:

If using an External Monitor: Physically press the power button on the monitor to turn it off. The Mac will still send the video signal (keeping the CPU fast), but the room will be dark.

If using the MacBook Screen: Turn the brightness all the way down to 0 (until the backlight turns off).

🚀 The "Nuclear Option" (Terminal)

If you want to bypass Amphetamine entirely and use a native Apple command that is impossible for the system to ignore, use the caffeinate command.

Open Terminal.

Paste this command:

Bash

caffeinate -d -i -m

Press Enter.

What this does:

-d: Prevents the display from sleeping (Vital for full M1 speed).

-i: Prevents the system from idle sleeping.

-m: Prevents the disk from sleeping.

To stop it: Click the Terminal window and press Control + C.

Relevance: This video explains the caffeinate command in detail, offering a native, lightweight alternative to Amphetamine that ensures your background processes (like file compression) maintain priority on macOS.

Leave a Reply