Cycles Mac OS

Description of Burn:Cycle. Burn:Cycle is a video game published in 1995 on Mac by Philips Interactive Media, Inc. It's an action and adventure game, set in a cyberpunk / dark sci-fi, shooter, video backdrop, fps, full motion video and puzzle elements themes, and was also released on Windows 3.x. Welcome to Mac's Cycle Supply We have been local and family operated since 1991 and here at Mac's, we want to make your powersports experience the best that it can be. With one of the largest and nicest showrooms in the area, you will be sure to find the ride you are looking for. We are located just 30 short minutes from Charleston.

Short summary: Mac OS X’s default power management settings might wear your hard drive down unnecessarily. This post provides a lot of background information and how to change these settings.

I recently got a new MacBook Pro and one interesting thing i noticed was light “click” (a clicking noise) from it whenever it was idle for a few seconds. I pay attention to such things since I heard about problems with power management settings under Ubuntu, which could quickly wear down a hard drive. I experienced this myself, where one of my old hard drives started to sound like a frog :-/. So I installed smartmontools (either use MacPorts, fink or Homebrew) and checked:

On my Mac, for instance, I changed Control-F4 to Command-Control-`, so it’s quite similar to the existing Command-` shortcut for cycling windows within an application. Note Export lifecycle information from the Lifecycle Export page. Microsoft Lifecycle provides consistent and predictable guidelines for support throughout the life of a product, helping customers manage their IT investments and environments while strategically planning for the future. Search below for a list of Microsoft commercial products and services and then select your result to find.

As you can see I have a Hitachi 500GB 7200rpm drive. The puzzling fact here is the Load_Cycle_Count. You can see a value of 36,492 load cycle counts in 351 hours the HD was powered on, so approx. 100 per hour.
Put easily the load cycle count is how often your HD decided to park its heads. Depending on the manufacturer and HD model this can mean several things. In my case it means the number of times the HD’s heads are moved to a ramp next to the platters. The advantage of this is that being in this “parked” position the drive can shut down some energy consuming parts and it is much harder to damage the drive when the heads are parked (nothing there for a Head crash).


The downside of parking the heads is that HDs are usually not designed to do this every few seconds. Typical limits range from 300,000 to 600,000 (link) load cycle counts. (This doesn’t mean your HD will break if it does it more often, just that it’s more likely to fail if worn down like that.)

There was a growing payload of bugs in Cycles related on OpenCL on macOS platform, and those issues were caused by a compiler bug, which we have no control over. In this case compiler will not get fixed since Apple decided to discontinue OpenCL on its platform.

To observe the development of your Load_Cycle_Count you can use the terminal with this small one-liner:

The script will log the load cycle count to your terminal and a file called hddLoadCounts.log in the current directory every minute.

You might notice that when doing nothing but browsing this count increases by 2-8 every minute. Playing music with iTunes seems to stop this, as the HD keeps busy reading your music. Doing the maths you’ll find that it’s not unlikely that your drive will have over 300,000 load cycle counts withing the first half year (lucky music listeners, yours will last much longer 🙂 ).

As I had a bad feeling about this, i went on to have a look into Hitachi’s technical specs for my HD. Here you can find that my HD is designed for up to 600,000 load cycles (page 2), meaning approx. 6000 hours at the 100 cycles per hour rate. In the specs on page 135 you can find that if Advanced Power Management is enabled, the deepest reachable power saving is depending on the Power Management level. In general the Advanced Power Management Level is between 1 (power saving) and 254 (performance). If the Level is 0 or 255 no power saving is done, if the level is 1-127 it’s “Standby”, if the level is 128-191 it’s “Low Power Idle” and if it’s 192-254 it’s “Active Idle”.

As we’ll find out in a second, the default value (which Mac OS X sometimes seems to reset) seems to be 128, so “Low Power Idle” mode. The three power saving levels are explained in Section 12.6 “Advanced Power Management (Adaptive Battery Life Extender 3) Feature” of the specs. In short: “Active Idle” mode cuts down power consumption by 45-55%, the heads are parked near the mid-diameter of the disk, recovering takes about 20ms. In “Low Power Idle” mode power is cut down by 60-65%, the heads are unloaded to the ramp (this is the “parked” counted by Load_Cycle_Count), recovering takes 300ms. Transition into these modes is magically done internally by the HD (it observes what’s going on and decides what to do next), taking into account the Advanced Power Management Level. (“Standby” mode isn’t mentioned here, but it sure unloads the heads to the ramp, as it spins down the HD… recovery will take long, but unimportant, as we’re having a problem with “Low Power Idle” mode.)

So how do we find out which Advanced Power Management (APM) Level our HDD uses?
This doesn’t seem to be very easy in Mac OS X as there’s nothing like the hdparm on Linux.
There is the hdapm tool, but it can’t read the value, you can just set it. We’ll learn why this tool is necessary in a moment, but first let’s find out what the current value is.
The easiest way to accomplish this was to throw in a Linux Boot CD (Knoppix, Ubuntu, whatever you like), reboot, boot from CD (hold down the “c”-key), then fire up some terminal, become root (sudo -i and check the current APM value:

For me it was 128.
You can check the immediate effect from within the Live CD: you can use smartctl -a /dev/sda. As before this kept increasing.

As I always handle my laptop with care and can live with 10 % more power consumption of my HD, I decided to change the default. WARNING: This might not be suitable for you, it’s your decision.

Cycle Macon

To stop this rapid growth of the load cycles, I first tried to set the value to 191, but i could still observe a rapid increase.
After setting the value to 192, it immediately stopped:

Afterwards i rebooted, the Load_Cycle_Count increased by 1 over the reboot and no more after a couple of hours runtime (without iTunes keeping my HD busy, draining my battery). To my surprise the next day my logs showed that the load cycle count was increasing rapidly again, i rebooted back into linux and found the value was reset to 128. Weird. I reset it, rebooted, the count didn’t increase anymore, but at some point i again found it increasing rapidly. Based on this I assume Mac OS X or something else (like Windows run via bootcamp) sometimes resets that value to 128. My first guess was that maybe it is reset after resuming from sleep, but I couldn’t reproduce it by this. If someone finds out let us know in the comments.

To overcome this problem it seems sufficient to have a tool which explicitly resets the APM level once during system startup to something meaningful. That’s where we remember the hdapm tool: You can download it from the given page and install it as described in the user guide.
Afterwards edit /Library/LaunchDaemons/hdapm.plist to set the correct APM value. As a reference my file looks like this:

Notice that for other drives, especially other manufacturers the 192 might not be the right value. If you found the correct values for other drives, be welcome to share them (preferably with links to tech specs) in the comments.

Now, after four months since discovering the problem went by, my load cycle count only increased by about 500 (which is about the number of times i sent the mac to standby). Isn’t that a figure compared to the 36500 within the first month? 🙂

Edit (Sep. 22, 2011): Revised my guess about sleep causing the reset. Thx to Sam.

Mac

Related

About battery cycles

When you use your Mac notebook, its battery goes through charge cycles. A charge cycle happens when you use all of the battery’s power—but that doesn’t necessarily mean a single charge.

For example, you could use half of your notebook's charge in one day, and then recharge it fully. If you did the same thing the next day, it would count as one charge cycle, not two. In this way, it might take several days to complete a cycle.

Batteries have a limited amount of charge cycles before their performance is expected to diminish. Once the cycle count is reached, a replacement battery is recommended to maintain performance. You can use your battery after it reaches its maximum cycle count, but you might notice a reduction in your battery life.

Knowing how many charge cycles your battery has and how many are left can help you determine when a battery replacement is required. Your battery is designed to retain up to 80% of its original charge capacity at its maximum cycle count. For best performance, replace your battery when you reach its maximum cycle count.

Follow these steps to access information about your Mac notebook battery, including its cycle count:

  1. Hold the Option key and click the Apple  menu. Choose System Information.
  2. Under the Hardware section of the System Information window, select Power. The current cycle count is listed under the Battery Information section.

Identify your computer

Cycle count limits vary between Mac models. For help identifying your Mac notebook, use the Tech Specs page or these articles:

Cycle count limits

Use the table below to see the cycle count limit for your computer's battery. The battery is considered consumed once it reaches the limit.

ComputerMaximum Cycle Count
MacBook
MacBook (Retina, 12-inch, 2017)
MacBook (Retina, 12-inch, Early 2016)
MacBook (Retina, 12-inch, Early 2015)
MacBook (13-inch, Mid 2010)
MacBook (13-inch, Late 2009)
1000
MacBook (13-inch Aluminum, Late 2008)500
MacBook (Mid 2009)
MacBook (Early 2009)
MacBook (Late 2008)
MacBook (Early 2008)
MacBook (Late 2007)
MacBook (Mid 2007)
MacBook (Late 2006)
MacBook (13-inch)
300
MacBook Pro
MacBook Pro (13-inch, M1, 2020)
MacBook Pro (13-inch, 2020, Two Thunderbolt 3 ports)
MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports)
MacBook Pro (16-inch, 2019)
MacBook Pro (15-inch, 2019)
MacBook Pro (13-inch, 2019, Four Thunderbolt 3 ports)
MacBook Pro (13-inch, 2019, Two Thunderbolt 3 ports)
MacBook Pro (15-inch, 2018)
MacBook Pro (13-inch, 2018, Four Thunderbolt 3 ports)
MacBook Pro (15-inch, 2017)
MacBook Pro (13-inch, 2017, Four Thunderbolt 3 ports)
MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
MacBook Pro (15-inch, 2016)
MacBook Pro (13-inch, 2016, Four Thunderbolt 3 ports)
MacBook Pro (13-inch, 2016, Two Thunderbolt 3 ports)
MacBook Pro (Retina, 13-inch, Early 2015)
MacBook Pro (Retina, 13-inch, Mid 2014)
MacBook Pro (Retina, 13-inch, Late 2013)
MacBook Pro (Retina, 13-inch, Early 2013)
MacBook Pro (Retina, 13-inch, Late 2012)
MacBook Pro (13-inch, Mid 2012)
MacBook Pro (13-inch, Late 2011)
MacBook Pro (13-inch, Early 2011)
MacBook Pro (13-inch, Mid 2010)
MacBook Pro (13-inch, Mid 2009)
MacBook Pro (Retina, 15-inch, Mid 2015)
MacBook Pro (Retina, 15-inch, Mid 2014)
MacBook Pro (Retina, 15-inch, Late 2013)
MacBook Pro (Retina, 15-inch, Early 2013)
MacBook Pro (Retina, Mid 2012)
MacBook Pro (15-inch, Mid 2012)
MacBook Pro (15-inch, Late 2011)
MacBook Pro (15-inch, Early 2011)
MacBook Pro (15-inch, Mid 2010)
MacBook Pro (15-inch, 2.53 GHz, Mid 2009)
MacBook Pro (15-inch Mid 2009)
MacBook Pro (17-inch, Late 2011)
MacBook Pro (17-inch, Early 2011)
MacBook Pro (17-inch, Mid 2010)
MacBook Pro (17-inch, Mid 2009)
MacBook Pro (17-inch, Early 2009)
1000
MacBook Pro (15-inch Late 2008)500
MacBook Pro (15-inch, Early 2008)
MacBook Pro (15-inch, 2.4/2.2GHz)
MacBook Pro (15-inch, Core 2 Duo)
MacBook Pro (15-inch Glossy)
MacBook Pro (15-inch)
MacBook Pro (17-inch, Late 2008)
MacBook Pro (17-inch, Early 2008)
MacBook Pro (17-inch, 2.4GHz)
MacBook Pro (17-inch Core 2 Duo)
MacBook Pro (17-inch)
300
MacBook Air
MacBook Air (M1, 2020)
MacBook Air (Retina, 13-inch, 2020)
MacBook Air (Retina, 13-inch, 2019)
MacBook Air (Retina, 13-inch, 2018)
MacBook Air (13-inch, 2017)
MacBook Air (11-inch, Early 2015)
MacBook Air (11-inch, Early 2014)
MacBook Air (11-inch, Mid 2013)
MacBook Air (11-inch, Mid 2012)
MacBook Air (11-inch, Mid 2011)
MacBook Air (11-inch, Late 2010)
MacBook Air (13-inch, Early 2015)
MacBook Air (13-inch, Early 2014)
MacBook Air (13-inch, Mid 2013)
MacBook Air (13-inch, Mid 2012)
MacBook Air (13-inch, Mid 2011)
MacBook Air (13-inch, Late 2010)
1000
MacBook Air (Mid 2009)500
MacBook Air (Late 2008)
MacBook Air
300

Cycles Mac Os Catalina

Learn more

See these resources for more information about the batteries in your Apple notebook.