Thursday, December 1, 2011

Speeding-Up My Mac Pro

We love our Mac Pro. It's an early model from Apple; designated the MacPro1,1, it was built way back in November 2007. It has served us faithfully and reliably for several years now. However, the two 2.66 GHz Dual-Core Intel Xeon processors are getting a little old (from a technology age standpoint), and it no longer has the pep of a shiny, brand new machine. I considered the possibility of purchasing a new Mac Pro, but just cannot justify the expense at this time. So I decided to look for ways to breathe some new life into the box I already owned.

Although this blog specifically references the Mac Pro, the same changes could be made to other models of Apple computers that have more than one hard disk. Use the advice provided in this blog at your own risk. We are not responsible for any damage to your computer or loss of data that may occur!

The Mac Pro uses Serial-ATA (SATA) technology operating at a 3 Gigabit link speed to support its data storage devices. I've upgraded the drives a few times and currently have 5 Tb of hard disk storage provided by a combination of four SATA drives. One drive stores the OS X operating system, the second is used for local data storage, the third is used as a backup drive for the local data, and the fourth drive is used for Time Machine. I know there is a lot of backup storage here, but the two methods of archiving copies (plus occasional backup to external hard disks) has saved my rear end more than once.

As fast as the 3 Gigabit SATA hardware is, spinning magnetic disks remain a performance bottleneck. But all is not lost, because the beauty of the SATA hardware is that it can access multiple drives at the same time. What I discovered is that Apple's default method for locating folders does not take advantage of this capability, and herein lies my zero to low-cost method to improve the performance of your Mac Pro.

A few months ago I installed a nifty menu bar app named DiskLED. This app provides a disk activity monitor that can be customized to display an icon in the menu bar that changes color with disk activity (think traffic light with red, yellow, and green indicators). What I noticed right away was that the disk where OS X resided was constantly being hit, and hit hard. The corresponding icon was almost always colored red, while the disk with my local data was only sparingly used when files were loaded or saved.

When I viewed the folder structure of the main disk, I noticed that it not only contained the OS X files, but the Users folder as well. While I had already moved much of my data from the Users folder to my local data storage (i.e. the music, movie, and photo libraries), there was still a lot of other data in the Users folder. Specifically, there are a lot of user-specific application settings and support files that are located in hidden files and folders, and they are apparently accessed quite often as you use applications. If you would like to view these hidden files and folders, you must first tell Finder to reveal them. You can do this by opening the Terminal app and entering the following commands:

     defaults write com.apple.finder AppleShowAllFiles TRUE
     killall Finder

To return Finder to its default of keeping these certain files and folders hidden, enter the following commands in Terminal:

     defaults write com.apple.finder AppleShowAllFiles FALSE
     killall Finder

It was my hypothesis that an easy way to better leverage the speed and capability of the fast SATA devices was to separate the operating system and applications from the user data. However, it's not simply a matter of dragging the Users folder to the neighboring hard disk. Here is the process that is required.

1) Preparation

Start out by creating a backup of your hard disk that contains the operating system, applications, and users folders. It's better to be safe than sorry.

After you have successfully created the backup, it's a good opportunity to do some spring cleaning. Delete some of those old apps you have never used, delete user accounts that are no longer needed, clear your web browser(s) cache, and empty the Trash.

My final preparation step is to open the Disk Utility app and select the corresponding hard drive, and Repair File Permissions. This will help to make certain that the Users folder is in good order before it is moved.

2) Copy the User Folder

To copy all of the files and folders within the Users folder, including the hidden, locked, and system related files, you should use a backup or copy utility such as Synchronize! Pro X, SuperDuper, or Carbon Copy Cloner. These utilities are currently free to use on a limited basis, but we believe that these types of apps are invaluable for maintaining a scheduled backup of important files and folders. We recommend that you consider supporting the developers and purchase a copy.

Select as the source the operating system drive and the Users folder only. Then as the destination, the local data drive. Click on copy / clone and wait patiently for the data to be copied between hard drives. An example screen shot from Carbon Copy Cloner is shown below.


3) Link Each User Account to the New Users Folder Location

This is an important step. You must tell OS X to use the new location for the Users folder, otherwise it will continue to look for the folder in its original location. Open System Preferences, then select Users and Groups. Click the lock to enter your admin password to make changes. Now for each account, Control-Click the account name for access to Advanced Options. Then for the Home Directory entry, click on Choose to navigate to the new location of the Users folder. An example screen shot from the Users and Groups dialog is shown below.


You must repeat this linking process for each user account.

In order to activate the link to the new Users folder location, you must restart your computer. After restarting, you can verify that you have linked to the new location by navigating to the Home Directory, Control-Click on the "Home" icon and select Get Info. Here you will see the path to the folder, and it should designate the new drive location.

4) Delete the Old Users Folder

With the User folder successfully moved and linked to the new location, you can now delete the old User folder. After sending it to the Trash, empty the Trash.

5) Create a Symbolic Link to the New Users Folder

This last step may be the most important. Many applications (i.e. iTunes) will look for the Users folder on the same hard drive where OS X is installed. However, we have moved the folder, thereby "breaking" the application. We can fix that by creating a symbolic link to the new folder location.

Don't be fooled. A symbolic link is not the same thing as an alias. A symbolic link (symlink) is recognized by the OS X filesystem, whereas an alias is only used by Finder. The easiest way to create a symlink is to use a utility named Symbolic Linker. Download the utility and carefully follow the installation instructions. Then Control-Click on the Users folder and choose to Make Symbolic Link. You will now have a new folder named "Users symlink". While holding the Command key, drag and drop this folder to the same location as your original Users folder (that you have since deleted). Holding the Command key forces the folder to be moved instead of copied between hard drives. After you move "Users symlink", rename it to "Users". Now every application that looks for the Users folder will be redirected to the new location on your local data drive.

6) Enjoy the Improved Performance

That's it! You have successfully moved the Users folder. Now the Mac Pro will more effectively use the computer's fast SATA capability to access data from multiple drives simultaneously, essentially increasing the speed of the computer.

I have not completed benchmark speed tests to scientifically quantify the performance improvement, but anecdotally, applications do run faster. Observing the DiskLED icons, I can visually see that the OS X drive is no longer being accessed constantly since the files have been spread across two drives. This is most obvious when using disk intensive graphics applications like iPhoto or GIMP.

As a bonus, moving the Users folder will make it easier to transition the user data to a new computer because all of the data is installed on one drive. This also makes creating backups a more simple process; I no longer have to select specific folders from the OS X drive, I just backup the entire local data drive!

Saturday, November 5, 2011

This Holiday Season, Support Your Small, Locally-Owned Businesses!

I don't often re-post other people's work, but I believe that the message I've published below is worth repeating. I am not certain who the original author is, as I have seen this same message on a couple of other websites. And I would have probably written it a bit differently. However, the basic idea remains reasonable and sound. 

It doesn't matter if you are a Democrat or a Republican, whether you live in a big city or a small town, whether you have a lot of money or if you are struggling to make ends meet. We all stand to benefit if you please support the small, locally-owned businesses in your community this holiday season. The gifts are likely to have more meaning to the recipients, and our society is certain to benefit from the economic stimulus.

Christmas 2011 -- Birth of a New Tradition

As the holidays approach, the giant Asian factories are kicking into high gear to provide Americans with monstrous piles of cheaply produced goods -- merchandise that has been produced at the expense of American labor. This year will be different. This year Americans will give the gift of genuine concern for other Americans. There is no longer an excuse that, at gift giving time, nothing can be found that is produced by American hands. Oh.... Yes there is! 

It is time to think outside the box, people. Who says a gift needs to fit in a shirt box, wrapped in Chinese produced wrapping paper? 

Everyone -- yes EVERYONE gets their hair cut. How about gift certificates from your local American hair salon or barber? 

Gym membership? It's appropriate for all ages who are thinking about some health improvement. 

Who wouldn't appreciate getting their car detailed? Small, American owned detail shops and car washes would love to sell you a gift certificate or a book of gift certificates. 

Are you one of those extravagant givers who think nothing of plunking down the Benjamins on a Chinese-made flat-screen TV? Perhaps that grateful gift receiver would like his driveway sealed, or lawn mowed for the summer, or driveway plowed all winter, or games at the local golf course. 

There are a gazillion owner-run restaurants -- all offering gift certificates. And, if your intended isn't the fancy eatery sort, what about a half dozen breakfasts at the local breakfast joint. Remember, folks this isn't about big National chains -- this is about supporting your home town Americans with their financial lives on the line to keep their doors open. 

How many people couldn't use an oil change for their car, truck or motorcycle, done at a shop run by the American working guy? 

Thinking about a heartfelt gift for mom? Mom would LOVE the services of a local cleaning lady for a day. 

My computer could use a tune-up, and I KNOW I can find some young guy who is struggling to get his repair business up and running. 

OK, you were looking for something more personal. Local crafts people spin their own wool and knit them into scarves. They make jewelry, and pottery and beautiful wooden boxes. 

Plan your holiday outings at local, owner operated restaurants and leave your server a nice tip. And, how about going out to see a play or ballet at your hometown theatre. 

Musicians need love too, so find a venue showcasing local bands and purchase their CD's. Honestly people, do you REALLY need to buy another ten thousand Chinese lights for the house? When you buy a five dollar string of light, about fifty cents stays in the community. If you have those kinds of bucks to burn, leave the mailman, trash guy or babysitter a nice BIG tip. 

You see, Christmas is no longer about draining American pockets so that China can build another glittering city. Part of Christmas is now about encouraging American small businesses to keep plugging away to follow their dreams. And, when we care about other Americans, we care about our communities, and the benefits come back to us in ways we could not imagine. 

THIS is the new American Christmas tradition!! Forward this to everyone on your mailing list 
-- post it to discussion groups. 
-- throw up a post on Craig's List in the Rants and Raves section in your city. 
-- send it to the editor of your local paper and radio stations, and TV news departments.

This is a revolution of caring about each other, and our country.

Thursday, November 3, 2011

We're Living on a Ball of Confusion

One of the perks of my job is rather frequent business travel. I call it a perk because a portion of the travel is regional and it allows me to drive my own car. Unlike some people, I enjoy driving about the countryside, and I have often said that my vehicle's windshield is the very best window in the office!

I often listen to satellite radio while I drive. Sometimes it's news programming or talk radio, but I mostly listen to my favorite music from the 1970s and 80s. Hearing these songs again after thirty or more years can be an experience. Certainly I recall the popular melodies and the majority of the lyrics. However, now that I am older, I tend to pay more attention to the song's message.

One song that has really (re)captured my attention is "Ball of Confusion," performed and recorded by the Temptations in 1970. I recall listening to this song when it first came out and considering the state of the world at that time, I believe that their song had great meaning. The beauty is, the song is still very much relevant today. For me, that staying power is the sign of a true work of art. It's quite possible that this song will remain quite relevant for years to come. Let's hope that humanity can prove me wrong.

If you haven't heard the song lately, here are the lyrics. Read them carefully and enjoy.

People movin' out
People movin' in
Why, because of the color of their skin
Run, run, run, but you sho' can't hide
An eye for an eye
A tooth for a tooth
Vote for me, and I'll set you free
Rap on brother, rap on
Well, the only person talkin'
'Bout love thy brother is the preacher
And it seems,
Nobody is interested in learnin'
But the teacher
Segregation, determination, demonstration,
Integration, aggravation,
Humiliation, obligation to our nation
Ball of Confusion
That's what the world is today 

The sale of pills are at an all time high
Young folks walk around with
Their heads in the sky
Cities aflame in the summer time
And, the beat goes on

Air pollution, revolution, gun control,
Sound of soul
Shootin' rockets to the moon
Kids growin' up too soon
Politicians say more taxes will
Solve everything
And the band played on
So round 'n' round 'n' round we go
Where the world's headed, nobody knows
Just a Ball of Confusion
Oh yea, that's what the world is today

Fear in the air, tension everywhere
Unemployment rising fast,
The Beatles' new record's a gas
And the only safe place to live is
On an indian reservation
And the band played on
Eve of destruction, tax deduction
City inspectors, bill collectors
Mod clothes in demand,
Population out of hand
Suicide, too many bills, hippies movin'
To the hills
People all over the world, are shoutin'
End the war
And the band played on.

Copyright 1970 Jobete Music Company, Inc.

Monday, October 10, 2011

Paintless Dent Repair Using a Heat Gun and a Can of Compressed Gas Duster

Our daughter surprised us this past weekend by getting into a fender bender with my car. It was a very minor incident and fortunately nobody was injured. However, now I was faced with the task of dealing with a couple of dents in my car.


As you can see by the before-photo above, the damage was limited to two small areas. A large dent between the tail light and the gas tank filler door, and a small dent between the gas tank filler door and wheel well. Neither dent included any tearing of the metal or removal of the painted finish. It was just two simple dents. While I am not a body repair technician, I am an avid do it yourself kind of guy. It wouldn't be my nature to take this job to the body shop without trying to repair it myself first.

If I could access the rear quarter panel from behind, I could probably push the damage out with ease. The problem that I faced; there was no easy way to access the body panel from behind. In this vehicle the space between the body panel and the interior trim houses a rear air conditioner unit that leaves no access to the body panel.

I determined that I could try to pull out the dent by use of a suction device, or by drilling holes and using a dent puller. Well, I do not own a powered suction device, and purposely making holes in the car body would turn this into a more time consuming and expensive auto body repair project than what I was ready to tackle.

Then I recalled reading about paintless dent repair services. Maybe there was a way that I could do the same type of repair myself?

After some quick Internet searches, I found several videos of a technique that called for the application of a heat source (i.e. heat gun, hair dryer, or small torch) then a cold source (i.e. the liquid propellent used in compressed air dusters) to expand then contract the metal. The process was supposed to pop-out the dent, placing the body panel back into its original shape. Some of the videos demonstrated what was apparently a successful repair, while others were an obvious failure and claimed hoax. While I had no desire to play Mythbusters, the junior high school science fair aspect of the process intrigued me and I convinced myself that it was worth a try.

I already owned a powerful heat gun that is intended for use in removing paint and softening adhesives. Think of it as a supercharged hair dryer, except that this model can provide temperatures that are close to 1,000º F (538º C). If I was not careful, the heat source would easily peel the paint right off the vehicle's body panel.

For the cold source, I stopped by the local Target and purchased a two-can pack of Endust for Electronics, Multi-Purpose Duster. The two-pack of 10 ounce cans was priced at $8.99. Typical of these kinds of canned air packages, Endust Duster contains Difluoroethane. In addition to serving as a refrigerant for air conditioners, Difluoroethane is also commonly used in many consumer aerosol products such as canned air dusters.

Used as intended, the can is held upright and when the trigger is pressed, a stream of high-pressure air is released from the can. The dry, anti-static nature of the canned air makes it perfect for blowing dust and debris from sensitive electronic equipment. However, when the can is held upside down and the trigger pressed, the can releases a stream of the liquid Difluoroethane. As it is emitted from the can, the liquid has a temperature of approximately -13º F (-25º C). Definitely cold enough to cause frostbite or other possible injury to the user and anyone nearby.

It's important to note that the canned air is NOT intended for use in this manner. The Endust Duster can has clear warnings that you should never hold the can upside down and release the liquid Difluoroethane. We do not endorse this use either and cannot be held liable for any injuries or damage that may occur from misuse!

Now I was ready to give the process a try. First I heated the dent area with the heat gun, making certain to move the heat source over the affected area to provide even and thorough heating. Apply the heat for three to five minutes, or until the metal is very hot to the touch. Then, holding the air duster can upside down, quench the dent with the liquid Difluoroethane for about ten seconds. The liquid will create a frosty coating on the hot metal. Allow the frost to thaw and wipe the condensation dry with a clean cloth.

Depending upon the severity of the dent, you may see the damage begin to magically repair itself. In the instance of my two dents, I had to repeat the process a few times. However, it did work!


In the un-retouched after-photo above, you can see that the large dent is virtually indistinguishable. The small dent between the gas tank filler door and the wheel well is still slightly visible. Based upon this repair experience, I have concluded that the degree of success with using this method depends upon the location and severity of the damage. In my case, the large dent was located in an area of the body panel that was relatively flat and void of strength. That seems to have been a factor in my successful repair. 

The small dent was located along the curve of the wheel well and near the two arcing creases of the body panel. These features provide strength to the body panel and made repair of the dent more difficult. However, the process did in fact help to make the dent smaller and much less noticeable.

The following two-minute video summarizes the repair process and demonstrates the instructions provided above. If you have any doubt that this process really works, watch carefully at the 1:05 mark where the large dent pops back into place.



To view a larger, High Definition version of this video (much better than what I could place here within the blog), please follow this link to YouTube.

So, can you repair dents in an automobile with a hair dryer and a can of compressed air? Yes and no. It depends upon the location and severity of the damage. But as I have demonstrated, with a heat gun, $9 worth of Endust Duster, and about 15 minutes, you can achieve some remarkable results.

Tuesday, October 4, 2011

Mazda CX-9 - Blower Motor Stays On After Key is Turned Off

A few weeks ago, our 2007 Mazda CX-9 Grand Touring model started doing something rather peculiar. When we turned-off the vehicle, the rear cabin fan would power-on at full-blast speed and continue to run for a few minutes. The blower would operate as expected when the vehicle was running; it was just this odd behavior when the ignition was turned-off.

A quick web search revealed that this seems to be a fairly common problem for Mazda CX-9 vehicles that were made between 2007 and 2009, and it's probably why you wound up finding this blog post.

There is a Technical Service Bulletin ("TSB") from Mazda concerning this problem: TSB 07-008/09, 2007-2009 CX-9 - BLOWER MOTOR STAYS ON AFTER KEY OFF. The TSB details the replacement of the blower relays, Mazda Part No. G115-67-730. There are two; one for the front (dashboard) fan and one for the rear (center console) fan.

This is not a very complex repair. However, that does not stop most Mazda dealerships from generating a handsome profit from the typical customer's repair fears. We have learned that other CX-9 owners have paid $150 or more to their dealer and lost a good part of their day to have this repair done. We would like to show you how to do the very same repair for about $30 or less in a matter of a few minutes.

ANYONE can perform this easy and inexpensive repair. You do not need any mechanical training or special tools. A simple pair of pliers are all that is needed. Just follow these three steps.

1) Confirm the problem. Okay, this seems kind of silly, but you should make certain that the problem we are explaining how to fix is really your vehicle's issue. When you turn-off the ignition on your 2007, 2008, or 2009 Mazda CX-9, does the front or rear cabin blower fan suddenly turn-on and then run for a few minutes? Problem confirmed. Proceed to the next step.

2) Purchase replacement relays. Surprisingly, there are a limited number of sources for these electrical components. What's even more surprising is that we found the best price from a Mazda dealership! If you live close to a dealer, phone their parts department and ask them for the price of Mazda Part No. G115-67-730 (Blower Motor Relay). If they want to charge you more than $15 each, consider making the purchase online.

We found the best price from a Mazda dealer in Arlington, Virginia; Rosenthal Mazda. They sell the relay for $12.68 each with reasonable UPS shipping costs. We ordered the parts late one evening and received them in the afternoon two days later. CLICK HERE to go to the part listing on this dealer's online store. Here is a photo of what you should have purchased and received.


You will need two relays; one for the front blower and one for the rear blower. Even if only one fan is acting-up, we recommend that you replace both. The parts are inexpensive and the repair is easy. Fix them both while you have the hood open!

We also found these blower motor relays for sale on eBay. However, they were used parts and we cannot recommend that you purchase a used part for this repair. When a brand new relay can be purchased for such a low price, why bother with a used part that is likely to fail quicker?

3) Replace the defective relays. This step is best demonstrated through a series of photos.


Open the hood to the engine compartment and look to the far-right, near the firewall (top right corner). There you will find the relay box; the plastic box circled in red in the photo above. Press the latch on the front of the box to release the cover and expose the parts within.


Take a look at the inside of the cover after you remove it. Here you will see the layout of the various relays that are housed within this box. Note the location of the two Blower Motor Relays (F. BLOWER RELAY and R. BLOWER RELAY).


Firmly grip the sides of the Blower Motor Relay with a pair of pliers and using a slight side-to-side motion, carefully loosen the relay and pull it from its socket. Repeat for the other Blower Motor Relay.


Insert the replacement relay into the vacant socket. Be certain to align the relay's tabs correctly. The relay's tabs are oriented such that the part will only fit when positioned correctly. If it does not seat with a firm push, make certain that it is properly aligned. Repeat for the other Blower Motor Relay.


Once both relays have been replaced, place the cover back on the box and make certain that it is secure. Close the engine compartment hood and wash your hands... you are done! Wasn't that easy?