Defragmenting HD caused 50% increased performance.. at LEAST

Macintosh software/hardware discussion and troubleshooting

Moderator: James Steele

User avatar
FMiguelez
Posts: 8266
Joined: Sun Oct 24, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Body: Narco-México Soul/Heart: NYC

Defragmenting HD caused 50% increased performance.. at LEAST

Post by FMiguelez »

.

I don't know why, but the only computer I had never defragmented is my "office work" MacBook Pro.
It's an early Intel model, so it's not the fastest there is. Also, my HD is encrypted, which makes performance take a hit. I only have 1 GB of RAM. Add to this that a couple of months ago I re-arranged most of my file system, and I must've deleted or moved around 100 GB worth of info.

During the last 6 months or so, the computer performance started to diminish little by little, so it was not obvious. I got used to this at the same pace, and started getting more annoyed every week.
Yesterday I was doing a photo collage, and it was just impossible to work like this... just selecting a photo made the disk spin like crazy. Every time I opened something it took for ever. Even a stupid new Safari window would take up to 15-20 seconds to open... <sigh>.

And then it came to me... NO WONDER! The disk was so fragmented it was looking for bits and pieces of files all over the slow encrypted disk.
When I opened iDefrag, I laughed out loud when I saw its estimation. There were holes and red sectors all over the place. I had never seen something so bad!

It took the computer like 4-5 hours to finish... but man, is it ROCKING NOW!
It almost feels like a fast computer. A totally dramatic difference.
Conservatively, I estimate that this made a 50% increase in overall performance. Opening apps now doesn't take for ever, and the Menu Meters' disk usage meter doesn't show constant disk access for "no reason" anymore.

I never let my studio machines get that fragmented, of course. Maybe that's why I underestimated the benefits of defragmenting my Laptop.

I was going to buy more RAM for it, but I shouldn't throw money away for a vintage computer... vintage according to Apple :roll:
At least it will serve me much faster now, until I can't wait to try Lion and buy a new laptop :roll:
Last edited by FMiguelez on Tue Jul 26, 2011 9:05 am, edited 2 times in total.
Mac Mini Server i7 2.66 GHs/16 GB RAM / OSX 10.14 / DP 9.52
Tascam DM-24, MOTU Track 16, all Spectrasonics' stuff,
Vienna Instruments SUPER PACKAGE, Waves Mercury, slaved iMac and Mac Minis running VEP 7, etc.

---------------------------

"In physics the truth is rarely perfectly clear, and that is certainly universally the case in human affairs. Hence, what is not surrounded by uncertainty cannot be the truth." ― Richard Feynman
User avatar
Phil O
Posts: 7232
Joined: Thu Jul 28, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Scituate, MA

Re: Defragmenting HD caused 50% increase performance... at L

Post by Phil O »

I have heard repeatedly that it's not necessary to defrag a hard drive running OS X, but I don't believe it. I even read something from Apple once saying that for audio and video professionals defragging "may" be beneficial. I'm a fanatic about defragging. I defrag my boot drive about once a month. It may be overkill, but I've never run into the problem you've described and I like it that way. :wink:

Phil
DP 11.23, 2020 M1 Mac Mini [9,1] (16 Gig RAM), Mac Pro 3GHz 8 core [6,1] (16 Gig RAM), OS 14.3.1/11.6.2, Lynx Aurora (n) 8tb, MOTU 8pre-es, MOTU M6, MOTU 828, Apogee Rosetta 800, UAD-2 Satellite, a truckload of outboard gear and plug-ins, and a partridge in a pear tree.
User avatar
buzzsmith
Posts: 3097
Joined: Mon Dec 27, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Houston
Contact:

Re: Defragmenting HD caused 50% increase performance... at L

Post by buzzsmith »

So, what's the safest app for analysis and de-fragging?

Thanks...

Buzzy
Early 2009 Mac Pro 4,1>5,1 3.33 GHz Hex Core Intel Xeon OS X 10.8.5 SSD (32 gigs RAM)
DP 9.51 PCI-424e / original 2408, 2408mkII, 24I/O, MTP-AV

Yamaha C7 Conservatory Grand
Hammond B-3 / Leslie 145
Focal Twin6 Be(s)

User avatar
Phil O
Posts: 7232
Joined: Thu Jul 28, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Scituate, MA

Re: Defragmenting HD caused 50% increase performance... at L

Post by Phil O »

Safest? I really don't know. What I can tell you is that I've been using iDefrag for years without a hitch.

Phil
DP 11.23, 2020 M1 Mac Mini [9,1] (16 Gig RAM), Mac Pro 3GHz 8 core [6,1] (16 Gig RAM), OS 14.3.1/11.6.2, Lynx Aurora (n) 8tb, MOTU 8pre-es, MOTU M6, MOTU 828, Apogee Rosetta 800, UAD-2 Satellite, a truckload of outboard gear and plug-ins, and a partridge in a pear tree.
User avatar
FMiguelez
Posts: 8266
Joined: Sun Oct 24, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Body: Narco-México Soul/Heart: NYC

Re: Defragmenting HD caused 50% increase performance... at L

Post by FMiguelez »

.

+1.

That's the one I use too, and I love it. Coriolis also makes iPartition, and I recommend it too.
Mac Mini Server i7 2.66 GHs/16 GB RAM / OSX 10.14 / DP 9.52
Tascam DM-24, MOTU Track 16, all Spectrasonics' stuff,
Vienna Instruments SUPER PACKAGE, Waves Mercury, slaved iMac and Mac Minis running VEP 7, etc.

---------------------------

"In physics the truth is rarely perfectly clear, and that is certainly universally the case in human affairs. Hence, what is not surrounded by uncertainty cannot be the truth." ― Richard Feynman
User avatar
buzzsmith
Posts: 3097
Joined: Mon Dec 27, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Houston
Contact:

Re: Defragmenting HD caused 50% increase performance... at L

Post by buzzsmith »

Thanks.

I'll check it out.

Buzzy
Early 2009 Mac Pro 4,1>5,1 3.33 GHz Hex Core Intel Xeon OS X 10.8.5 SSD (32 gigs RAM)
DP 9.51 PCI-424e / original 2408, 2408mkII, 24I/O, MTP-AV

Yamaha C7 Conservatory Grand
Hammond B-3 / Leslie 145
Focal Twin6 Be(s)

User avatar
Phil O
Posts: 7232
Joined: Thu Jul 28, 2005 10:01 pm
Primary DAW OS: MacOS
Location: Scituate, MA

Re: Defragmenting HD caused 50% increase performance... at L

Post by Phil O »

Hey Buzz, I notice you have a MacPro. If you have a free HD bay, you can make good use of it by installing a cheap drive just for things like degragging. I have a Western Digital drive that cost 40 bucks that I keep in bay 4. I clone by boot drive there and it acts as my boot drive backup and I also boot from it when I want to defrag my actual boot drive. I keep a second OS on a partition there that I use for testing updates as well. Forty bucks well invested:

http://www.newegg.com/Product/Product.a ... 6822136098" onclick="window.open(this.href);return false;

Ok, so it went up a couple bucks since I got one. :roll:

Phil
DP 11.23, 2020 M1 Mac Mini [9,1] (16 Gig RAM), Mac Pro 3GHz 8 core [6,1] (16 Gig RAM), OS 14.3.1/11.6.2, Lynx Aurora (n) 8tb, MOTU 8pre-es, MOTU M6, MOTU 828, Apogee Rosetta 800, UAD-2 Satellite, a truckload of outboard gear and plug-ins, and a partridge in a pear tree.
User avatar
buzzsmith
Posts: 3097
Joined: Mon Dec 27, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Houston
Contact:

Re: Defragmenting HD caused 50% increase performance... at L

Post by buzzsmith »

Phil O wrote:Hey Buzz, I notice you have a MacPro. If you have a free HD bay, you can make good use of it by installing a cheap drive just for things like degragging. I have a Western Digital drive that cost 40 bucks that I keep in bay 4. I clone by boot drive there and it acts as my boot drive backup and I also boot from it when I want to defrag my actual boot drive. I keep a second OS on a partition there that I use for testing updates as well. Forty bucks well invested:

http://www.newegg.com/Product/Product.a ... 6822136098" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;" onclick="window.open(this.href);return false;

Ok, so it went up a couple bucks since I got one. :roll:

Phil
I do have 1 free bay. Thanks for the tip!

Buzzy
Early 2009 Mac Pro 4,1>5,1 3.33 GHz Hex Core Intel Xeon OS X 10.8.5 SSD (32 gigs RAM)
DP 9.51 PCI-424e / original 2408, 2408mkII, 24I/O, MTP-AV

Yamaha C7 Conservatory Grand
Hammond B-3 / Leslie 145
Focal Twin6 Be(s)

User avatar
FMiguelez
Posts: 8266
Joined: Sun Oct 24, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Body: Narco-México Soul/Heart: NYC

Re: Defragmenting HD caused 50% increase performance... at L

Post by FMiguelez »

Phil O wrote: I clone by boot drive there and it acts as my boot drive backup and I also boot from it when I want to defrag my actual boot drive. I keep a second OS on a partition there that I use for testing updates as well.
Hey, Phil.

Is there a particular reason you choose to defrag your system disk from another disk?

Is it faster or safer?
Mac Mini Server i7 2.66 GHs/16 GB RAM / OSX 10.14 / DP 9.52
Tascam DM-24, MOTU Track 16, all Spectrasonics' stuff,
Vienna Instruments SUPER PACKAGE, Waves Mercury, slaved iMac and Mac Minis running VEP 7, etc.

---------------------------

"In physics the truth is rarely perfectly clear, and that is certainly universally the case in human affairs. Hence, what is not surrounded by uncertainty cannot be the truth." ― Richard Feynman
User avatar
James Steele
Site Administrator
Posts: 21257
Joined: Fri Oct 15, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Diego, CA - U.S.A.
Contact:

Re: Defragmenting HD caused 50% increase performance... at L

Post by James Steele »

FMiguelez wrote:
Phil O wrote: I clone by boot drive there and it acts as my boot drive backup and I also boot from it when I want to defrag my actual boot drive. I keep a second OS on a partition there that I use for testing updates as well.
Hey, Phil.

Is there a particular reason you choose to defrag your system disk from another disk?

Is it faster or safer?
It used to be that you HAD to do this. I also use iDefrag (although not recently and your post is changing my mind about that), and until recently I don't think defragging the volume you booted from was supported. I do the same thing. I have a partition on a separate physical drive I call "Utility Boot Partition" and it is a bootable partition with just a basic system and utilities like iDefrag, Disk Utility, Carbon Copy Cloner and Disk Warrior on it. Also enough empty space since iDefrag uses swap files on the disc it boots from during defragging... at least I think that's how it works... and more free space helps it work better.

Your post reminded me though to do this. It takes a good deal of time on my system, so I start it before going to bed. I think I'll do this tonight.
JamesSteeleProject.com | Facebook | Instagram | Twitter

Mac Studio M1 Max, 64GB/2TB, MacOS 14.5 Public Beta, DP 11.31, MOTU 828es, MOTU 24Ai, MOTU MIDI Express XT, UAD-2 TB3 Satellite OCTO, Console 1 Mk2, Avid S3, NI Komplete Kontrol S88 Mk2, Red Type B, Millennia HV-3C, Warm Audio WA-2A, AudioScape 76F, Dean guitars, Marshall amps, etc., etc.!
User avatar
FMiguelez
Posts: 8266
Joined: Sun Oct 24, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Body: Narco-México Soul/Heart: NYC

Re: Defragmenting HD caused 50% increased performance.. at L

Post by FMiguelez »

.

Yeah, it takes a while.

Looking at the progress of those tinny sectors and how files move is hypnotic :)

I think you are right in saying this feature of being able to defrag the same volume one booted from is recent.
I could see this clearly because iDefrag gets into this special "mode", where nothing else is available, so it locks one down.

BTW, YOU (James) were the one who recommended Coriolis to me a while ago (you recommended iPartition, which works great!). That's when I discovered iDefrag :)

Also, I've read that the OS automatically sort of defragments the system volume as needed. Don't remember the details, but I think that applied to smaller files only. But deleting many huge picture/audio/video files is another story, it seems.
Mac Mini Server i7 2.66 GHs/16 GB RAM / OSX 10.14 / DP 9.52
Tascam DM-24, MOTU Track 16, all Spectrasonics' stuff,
Vienna Instruments SUPER PACKAGE, Waves Mercury, slaved iMac and Mac Minis running VEP 7, etc.

---------------------------

"In physics the truth is rarely perfectly clear, and that is certainly universally the case in human affairs. Hence, what is not surrounded by uncertainty cannot be the truth." ― Richard Feynman
User avatar
mikehalloran
Posts: 15240
Joined: Sun Jan 25, 2009 5:08 pm
Primary DAW OS: MacOS
Location: Sillie Con Valley

Re: Defragmenting HD caused 50% increased performance.. at L

Post by mikehalloran »

I use TechTool Pro. Most of their tools are somewhat useless, IMO but it is a commercially supported program. I do not trust my data to sharware or freeware - ever.

TTP also can create a boot partition where I store my diagnostic and recovery tools. You can also create such a partition on your Time Machine drive - if connected directly and not over the network. Boot into the partition or other drive and work from there.

Many say that de-fragging is unnecessary but streaming data applications that use audio and/or video do benefit. I do it maybe once a year, no reason to do it more often. It took 10 hours to de-frag a 600G on a 1T drive on my iMac when I did it last month. My G5 would have taked 10-20 hours to do the same thing.
DP 11.31; 828mkII FW, micro lite, M4, MTP/AV USB Firmware 2.0.1
2023 Mac Studio M2 8TB, 192GB RAM, OS Sonoma 14.4.1, USB4 8TB external, M-Audio AIR 192|14, Mackie ProFxv3 6/10/12; 2012 MBPs Catalina, Mojave
IK-NI-Izotope-PSP-Garritan-Antares, LogicPro X, Finale 27.4, Dorico 5.2, Notion 6, Overture 5, TwistedWave, DSP-Q 5, SmartScore64 Pro, Toast 20 Pro
User avatar
amergin
Posts: 120
Joined: Tue Nov 23, 2004 10:01 pm
Primary DAW OS: MacOS
Location: Ireland

Re: Defragmenting HD caused 50% increased performance.. at L

Post by amergin »

The serious fragmentation was more than likely due to the encryption on your drive. You might also find that using a separate partition for audio is a faster option. When you feel you need to defrag it copy all the files over to another drive, reformat, then copy them back. This will more than likely be a lot faster than iDefrag (unless they've improved their defrag times considerably in the past couple of years). OSX does defrag in the background and will look after the system stuff for you.
27" iMac, MOTU 828mk2, 10.6, DP7, Melodyne etc, etc.
User avatar
James Steele
Site Administrator
Posts: 21257
Joined: Fri Oct 15, 2004 10:01 pm
Primary DAW OS: MacOS
Location: San Diego, CA - U.S.A.
Contact:

Defragmenting HD caused 50% increased performance.. at LEAST

Post by James Steele »

mikehalloran wrote:I use TechTool Pro. Most of their tools are somewhat useless, IMO but it is a commercially supported program. I do not trust my data to sharware or freeware - ever.
IDefrag I believe is commercial software. I've used it numerous times without incident, FWIW.
JamesSteeleProject.com | Facebook | Instagram | Twitter

Mac Studio M1 Max, 64GB/2TB, MacOS 14.5 Public Beta, DP 11.31, MOTU 828es, MOTU 24Ai, MOTU MIDI Express XT, UAD-2 TB3 Satellite OCTO, Console 1 Mk2, Avid S3, NI Komplete Kontrol S88 Mk2, Red Type B, Millennia HV-3C, Warm Audio WA-2A, AudioScape 76F, Dean guitars, Marshall amps, etc., etc.!
User avatar
mikehalloran
Posts: 15240
Joined: Sun Jan 25, 2009 5:08 pm
Primary DAW OS: MacOS
Location: Sillie Con Valley

Re: Defragmenting HD caused 50% increased performance.. at L

Post by mikehalloran »

>IDefrag I believe is commercial software.<

I didn't mean to imply that it wasn't. Sorry.
http://www.coriolis-systems.com/iDefrag.php" onclick="window.open(this.href);return false;

It is just that, in such a conversation as this, non-commercial software is likely to come up. That is what prompted my remark.

AlSoft used to have a really nice de-fragger that worked in the background on your boot drive. They promised an upgrade for OS 8, then 9. When X came out, they said it wasn't necessary.

OS X does not optimize the data, it tries to optimize the Directory which, supposedly renders de-fragging unnecessary. I have had a number of Apple engineers and AlSoft explain this to me. Sorry but a 50MB audio or .5G video file streams much more easily when the drive head and cache aren't working so hard to keep it in line.

So I agree that most users do not need to de-frag. I also believe that we would be nuts not to now and then.
DP 11.31; 828mkII FW, micro lite, M4, MTP/AV USB Firmware 2.0.1
2023 Mac Studio M2 8TB, 192GB RAM, OS Sonoma 14.4.1, USB4 8TB external, M-Audio AIR 192|14, Mackie ProFxv3 6/10/12; 2012 MBPs Catalina, Mojave
IK-NI-Izotope-PSP-Garritan-Antares, LogicPro X, Finale 27.4, Dorico 5.2, Notion 6, Overture 5, TwistedWave, DSP-Q 5, SmartScore64 Pro, Toast 20 Pro
Post Reply