Forum

Disable tailspind a...
 
Notifications
Clear all

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 EDT 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: 2 years ago
Posts: 1
August 28, 2018 9:23 EDT AM  

Fantastic tip, thanks a lot!

- Alex


ReplyQuote
NerdyDeeds
(@nerdydeeds)
New Member
Joined: 2 years ago
Posts: 2
October 20, 2018 8:01 EDT 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 2 years ago 2 times by NerdyDeeds

ReplyQuote
Graham McKay
(@kiwigraham)
Reputable Member
Joined: 4 years ago
Posts: 315
October 31, 2018 10:50 EDT 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: 22 years ago
Posts: 549
October 31, 2018 11:16 EDT 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: 2 years 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 2 years ago by NerdyDeeds

ReplyQuote
Graham McKay
(@kiwigraham)
Reputable Member
Joined: 4 years ago
Posts: 315
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: 8 months 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


hobs0n liked
ReplyQuote
conglyvaness
(@conglyvaness)
New Member
Joined: 8 months 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
melaniestaines
(@melaniestaines)
Active Member
Joined: 9 months ago
Posts: 13
November 28, 2019 5:48 EST AM  

Disabling it now to see is it really working for me or not 😀


ReplyQuote
hobs0n
(@hobs0n)
New Member
Joined: 6 months ago
Posts: 1
January 4, 2020 12:10 EST PM  

Thanks! This is great! Ive searched alot for this and your post is the ONLY one ive found that tells about this 🙂


ReplyQuote
TimAnthonyAlexander
(@timanthonyalexander)
New Member
Joined: 2 weeks ago
Posts: 1
June 24, 2020 1:29 EDT PM  

Hey there, on Mac OS 11 (Big Sur) it is no longer possible to edit these files (even with SIP off)! Just wanted to let everybody know!


ReplyQuote
Page 2 / 2
Share: