Forum

Disable tailspind a...
 

Disable tailspind and spindump to Speed Up your Mac  

Page 2 / 2
  RSS

tdearborn@district106.net
(@tdearborndistrict106-net)
New Member
Joined: 2 years ago
Posts: 2
August 27, 2018 10:59 EST PM  

If you are entering a command that has sudo in front of it, you may be prompted for your admin password.

A word of caution and a  disclaimer: do not enter commands if you do not fully understand what they are doing.  MacObserver or the contributors to this forum are not responsible if you machine blows up in a flaming ball of fire because of something you enter in the terminal.


ReplyQuote
brucemusic
(@brucemusic)
New Member
Joined: 1 year ago
Posts: 1
August 28, 2018 9:23 EST AM  

Fantastic tip, thanks a lot!

- Alex

This post was modified 1 year ago by Dave Hamilton

ReplyQuote
NerdyDeeds
(@nerdydeeds)
New Member
Joined: 1 year ago
Posts: 2
October 20, 2018 8:01 EST PM  
Posted by: Steven De Schamphelaere

Possibly very helpfull, but before I try: how can you enable both processes again in case some critical applications rely on it?

Yeah man. To reverse it it's as follows:

sudo mv /System/Library/LaunchDaemons/com.apple.spindump.plist.bak /System/Library/LaunchDaemons/com.apple.spindump.plist

sudo mv /System/Library/LaunchDaemons/com.apple.tailspind.plist.bak /System/Library/LaunchDaemons/com.apple.tailspind.plist

See what's happening here in his code is the following:
1. sudo launchctl unload -w [...]apple.spindump.plist
stop the process that handles the dumping:
sudo
("super-user: do")
launchctl ("launch controller" - basically the process manager for Linux)
unload ("stop" - unload it from memory)
-w ("[w]rite" - save the new configuration to disk)
[...]apple.spindump.plist (I abbreviated the path here. This is the 'p-list' or 'preferences list or 'processes list'' file for spindump, get it?)

2. sudo mv [...].apple.spindump.plist [...].apple.spindump.plist.bak
Rename the process so it cannot be found by the system (which has its name hard-coded). The .bak extension is used so you've got it as a "bak-up". You could just as easily call it "roses.are.red" but this makes it easier to change back later.
sudo again
mv ('move'. Which Linux also uses for 'rename")
[...].apple.spindump.plist [...].apple.spindump.plist.bak (from the first path listed to the second. Basically, he's just tacking on .bak to the end of the process, so when something tries to run it, it cannot be located, and fails gracefully, meaning the computer just carries on with its business).

3, sudo launchctl unload -w [...]apple.tailspin.plist 
sudo mv [...].apple.tailspin.plist [...].apple.tailspin.plist.bak
The next lines do the same as #1-2 for tailspin.

See, there's no great arcane magic taking place here. He's stopping two background-processes, then "misplacing" them so your Mac can't call 'em.

csrutil disable

Basically says to your mac, "[Disable] the [c]omputer's [s]ystem [r]egulator [util]ity until further notice. S'why AFTER you make this change (which will persist until you mv the file names back to their originals, as the code I provided above does) it's really important that you run the restart process again, csrutil enable the regulators back ON, and then reboot one final time. All that rigamarole is just to give you enough temporary access rights to screw with the Mac's deep-down settings. You DO NOT want said regulators disabled all the time.

Leaving spindump and tailspin disabled won't hurt anything other than Apple's ability to get a detailed explanation of an event when something goes wrong anonymously mailed to them. Unless you're a hardcore developer (as I used to be - for Apple, point of fact) you won't care. If it boots your performance? Knock yourself out; you're safe. Won't void your warranty or nothin'.

NerdyDeedsDone.Cheap

This post was modified 1 year ago 2 times by NerdyDeeds

ReplyQuote
Graham McKay
(@kiwigraham)
Reputable Member
Joined: 3 years ago
Posts: 297
October 31, 2018 10:50 EST AM  

Does anybody have direct experience that this procedure is still valid for 10.14.x Mojave?

My 2012 MBPr is starting to feel like it can't afford to waste any CPU cycles!


ReplyQuote
Dave Hamilton
(@davehamilton)
Admin
Joined: 21 years ago
Posts: 493
October 31, 2018 11:16 EST AM  

Those processes all seem to exist the same on my Mojave Mac, so yeah, if you're seeing them slow things down I think this method would help alleviate that here, too.


ReplyQuote
NerdyDeeds
(@nerdydeeds)
New Member
Joined: 1 year ago
Posts: 2
November 22, 2018 4:45 EST PM  

@kiwigraham

Yeah, I'm running Mojave on both my MBP's. I can confirm.

This post was modified 12 months ago by NerdyDeeds

ReplyQuote
Graham McKay
(@kiwigraham)
Reputable Member
Joined: 3 years ago
Posts: 297
November 22, 2018 6:08 EST PM  

Thx - I'll try to follow through on this over the weekend!


ReplyQuote
Darkshadow
(@darkshadow)
New Member
Joined: 5 days ago
Posts: 1
November 6, 2019 7:02 EST PM  

I know this is an old post, but I wanted to point out that you can disable these services (or any other ones) without disabling SIP. You just need to use the newer launchctl syntax. For spindump and tailspind, it would be these four commands:

sudo launchctl bootout system/com.apple.spindump
sudo launchctl disable system/com.apple.spindump
sudo launchctl bootout system/com.apple.tailspind
sudo launchctl disable system/com.apple.tailspind

The bootout lines unload the service, and the disable lines keep launchd from ever loading them again.

If you ever want to reverse it, you would do this:

sudo launchctl enable system/com.apple.spindump
sudo launchctl bootstrap system /System/Library/LaunchDaemons/com.apple.spindump.plist
sudo launchctl enable system/com.apple.tailspind
sudo launchctl bootstrap system /System/Library/LaunchDaemons/com.apple.tailspind.plist


ReplyQuote
conglyvaness
(@conglyvaness)
New Member
Joined: 4 days ago
Posts: 1
November 8, 2019 1:52 EST AM  

Dave, during your researches did you happen across anywhere that describes tailspind and spindump in more detail ?


ReplyQuote
Page 2 / 2
Share: