Dear screenreader-user, please let me know, if I can make any improvements for your convinience. Mail me to "n" dot "company" at "mac" dot "com". Thank you.
Skip to the navigation. / Zur Navigation springen. Newer Entries / Neuere Einträge Older Entries / Ältere Einträge Skip to the search. / Zur Suche springen. Skip to the content. / Zum Inhalt springen. Skip to the bottom. / Zum Ende springen.
Fullscreen-Modus einschalten um die Artikel besser lesen zu können.
SSD Festplatten sind eine tolle Sache. Super schnell, leise, erschütterungssicher, stromsparend. Doch neben den vielen Vorteilen haben sie noch zwei Nachteile – der Preis, da kann man, ausser warten, nicht viel machen – und die Daten-Sicherheit. SSD Festplatten reagieren empfindlicher auf schreib- Zugriffe und werden mit der Zeit “abgenutzt”. Die Festplattenhersteller haben daher ein System entwickelt, mit den Schreibzugriffen optimaler umzugehen. Dieses System nennt sich TRIM und kommt mit Lion integriert – für SSDs die Apple einbaut. Pech hat, wer selber eine Platte einbaut.
Ob man TRIM Support hat, sieht man wenn man mit gedrückter “alt” Taste auf den Apfel im Menu klickt und “System Information…” wählt. Unter Serial-ATA findet sich irgendwo der Entrag “TRIM Support:” – und der steht wahrscheinlich auf “No”.
Mit folgenden Terminal-Tricks, kann man TRIM aktivieren und so seiner SSD Festplatte eine hoffentlich längere Lebensdauer abgewinnen.
Zuerst sichern wir eine Kopie der angepassten Datei:
sudo cp /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage /IOAHCIBlockStorage.original
Danach aktivieren wir den TRIM support:
sudo perl -pi -e ‘s|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00).{9}(\x00\x51)|$1\x00\x00\x00\x00\x00\x00\x00\x00\x00$2|sg’ /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage
Nun verwerfen wir die alten Einstellungen:
sudo kextcache -system-prelinked-kernel
sudo kextcache -system-caches
Nach einem Neustart sollte TRIM für die Festplatte aktiviert sein:

Da wir ja keine herkömmliche Festplatte mehr haben, können wir noch einige Überbleibsel aus dieser Zeit optimieren. Der Stromsparmodus, bei dem herkömmliche Festplatten im Standby zu drehen aufgehört haben, macht bei SSDs keinen Sinn und kann deaktiviert werden:

Jedes mal, wenn auf eine Datei zugegriffen wird, wird der Zeitpunkt des Zugriffs gespeichert. Um diese unnötigen Schreibvorgänge zu verhindern kann eine Datei “/Library/LaunchDaemons/com.noatime.root.plist” mit folgendem Inhalt angelegt werden:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.noatime.root</string>
<key>ProgramArguments</key>
<array>
<string>mount</string>
<string>-uwo</string>
<string>noatime</string>
<string>/</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Wenn der Mac zugeklappt wird, wird der Inhalt des RAM auf die Festplatte geschrieben. Die RAM sind jedoch weiter unter Strom. Die Festplatte wird nur für den Fall eines Stromausfalls benötigt. Auf kosten von etwas Sicherheit, kann verhindert werden, dass der Inhalt auf die Festplatte geschrieben wird – als kleiner Zusatznutzen wird noch Fesplatenspeicher in der grösse des RAM frei:
sudo pmset -a hibernatemode 0
Wenn man den Standard wieder einstellen möchte, kann man den Wert 0 durch 3 ersetzen.
Die bestehende Sicherungsdatei kann gelöscht werden:
sudo rm /var/vm/sleepimage
Sollte man TRIM wieder deaktivieren wollen, hilft dieser Befehl:
sudo perl -pi -e ‘s|(\x52\x6F\x74\x61\x74\x69\x6F\x6E\x61\x6C\x00).{9}(\x00\x51)|$1\x41\x50\x50\x4C\x45\x20\x53\x53\x44$2|sg’ /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage
Und wenn etwas ganz schief läuft, kann man auch die Original Datei zurückholen:
sudo cp /IOAHCIBlockStorage.original /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage
Quellen: TRIM und Optimierungen
A few days ago, I was at the sea. I got up early in the morning and went to the beach – waiting for the sun to rise. The sky was clear and painted in a light grey and the water was calm like a table of glass you might think, you could walk on to the end of the horizon.
For a moment, I looked back, and when I turned – there she was. She had risen without me taking notice, clothed in her beautiful shining, red dress. She made no noise, no big announcement, she just appeared.
In this second, it struck me, what a wonder this is. The sun gave me a new chance. She didn’t remember the former days. She just gave me a new day, a new page in the book of my life, with no words written on it yet. I didn’t ask her to, she just did.
That’s what she always does, till this very day. While millions of people – me included – most of the time don’t even realize what a wonder and privilege this is. A new beginning, a new start, over and over and over again. Not looking back, just giving us a new canvas to paint life on.
We are occupied with our little problems and sorrows, this little itch here, that thing that didn’t turn out as we planed there, this person who was mean to us… In the meantime we let days pass without realizing, that grace is new every morning. That life itself is a wonder, day after day, and a chance to make things better. To change things, in our own life, in the life of our family and friends. To smile at life, like the sun smiles at us, morning after morning.
She has forgotten what she saw the other day on the face of the earth – decided to give it another try. I am willing to do the same. Forget what lies behind me, looking forward, making the best of the day that was given to me as a gift from god.