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. Mid-product Cycle. The iPhone 12 Pro and 12 Pro Max are Apple's high-end flagship devices with 5G, triple-lens cameras, LiDAR Scanners, refreshed designs, and A14 chip. The iPhone 12 Pro went up for pre-order on October 16 ahead of an October 23 launch, while the iPhone 12 Pro Max became available for pre-order on November 6 ahead of a November. sdl This section contains all of the low level system settings for how DOSBox interacts with your. I also use the free Mac app Coconut Battery, which checks you mac laptop battery, and if an iOS device plugged in will tell you those details including cycle count, design capacity and current capacity. Also saves the info in a running sheet.
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:
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.)
Cycle Macon
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.
Cycles Mac Os X
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.
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.