Bine, încep eu.
Am trecut pe Mini 2011 și Mini 2014 la High Sierra.
În ambele am câte un SSD Samsung 850.
Înainte de instalare, HFS+ cu FileVault.
Instalarea m-a trecut automat și fără comentarii la APFS pe ambele:
diskutil list /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *512.1 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_APFS Container disk1 511.3 GB disk0s2
diskutil apfs list APFS Container (1 found) | +-- Container disk1 xxxxxx ==================================================== APFS Container Reference: disk1 Capacity Ceiling (Size): 511250432000 B (511.3 GB) Capacity In Use By Volumes: 216279719936 B (216.3 GB) (42.3% used) Capacity Available: 294970712064 B (295.0 GB) (57.7% free) | +-< Physical Store disk0s2 xxxxxx | ----------------------------------------------------------- | APFS Physical Store Disk: disk0s2 | Size: 511250432000 B (511.3 GB) | +-> Volume disk1s1 xxxxxx | --------------------------------------------------- | APFS Volume Disk (Role): disk1s1 (No specific role) | Name: 850 (Case-insensitive) | Mount Point: / | Capacity Consumed: 215581196288 B (215.6 GB) | Encrypted: Yes (Unlocked) | +-> Volume disk1s2 xxxxxx | --------------------------------------------------- | APFS Volume Disk (Role): disk1s2 (Preboot) | Name: Preboot (Case-insensitive) | Mount Point: Not Mounted | Capacity Consumed: 18649088 B (18.6 MB) | Encrypted: No | +-> Volume disk1s3 xxxxxx | --------------------------------------------------- | APFS Volume Disk (Role): disk1s3 (Recovery) | Name: Recovery (Case-insensitive) | Mount Point: Not Mounted | Capacity Consumed: 517365760 B (517.4 MB) | Encrypted: No | +-> Volume disk1s4 xxxxxx --------------------------------------------------- APFS Volume Disk (Role): disk1s4 (VM) Name: VM (Case-insensitive) Mount Point: /private/var/vm Capacity Consumed: 20480 B (20.5 KB) Encrypted: No
Să vedem rapid cum funcționează copierea pe APFS.
du -csh Documents/ 2.3G Documents/ 2.3G total
time rsync -a Documents test
real 0m27.482s user 0m14.540s sys 0m14.111s
time cp -a Documents test2
real 0m8.056s user 0m0.127s sys 0m3.991s
time cp -ac Documents test5
real 0m0.641s user 0m0.033s sys 0m0.552s
Hm, rsync pare de trei ori mai ineficient decât cp, în timp ce cp cu flag-ul c face clone quasiinstantaneu.
Ia să vedem, ce mai e nou ?
Time Machine. The King is dead, long live the King.
După WWDC a fost un interviu de John Gruber cu Craig & Phil, în care Federighi spune la un moment dat că adaptarea Time Machine pentru APFS a constat în “scoaterea a circa 50k linii de cod din TM”.
Noul TM nu este altceva decât un skin la APFS snapshots.
tmutil localsnapshot Created local snapshot with date: 2017-09-27-191044
WHAT ? Au stricat Time Machine ? Daca face snapshot-uri la disc inseamna ca nu mai poti exclude directoare sau fisiere din TM - deci va utiliza TONE de spatiu. Si cum naiba faci restore la un singur fisier pe o alta masina ? Doar daca salveaza complet imaginea de la HDD si dupa aia snapshot-urile de diferenta. Terabytes de spatiu mancat ... Raman la 10.11 si dupa aia oi vedea.
addexclusion [-pv] item ... Configure an exclusion that tells Time Machine not to back up a file, directory, or volume during future backups.
There are three kinds of user-configurable exclusions in Time Machine:
The first kind of exclusion, which is the default behavior for the addexclusion verb, is a location-independent ("sticky") exclusion that follows a file or directory. When the file or directory is moved, the exclusion goes with the item to the new location. Additionally, when the item is copied, the copy retains the exclusion.
The second kind of exclusion is a fixed-path exclusion. With this, you tell Time Machine that you want a specific path to be excluded, agnostic of the item at that path. If there is no file or direc- tory at the specified path, the exclusion has no effect; if the item previously at the path has been moved or renamed, the item is not excluded, because it does not currently reside at the excluded path. As a consequence of these semantics, moving a file or directory to the path will cause the item to be excluded--fixed-path exclusions are not automatically cleaned up when items are moved or deleted and will take effect again once an item exists at an excluded path.
The third kind of exclusion is a volume exclusion. These track volumes based on file system UUID, which is persistent across volume name and mount path changes. Erasing the volume will cause Time Machine to apply default behavior for the newly erased volume.
The -p option configures fixed-path exclusions. The -v option configures volume exclusions. Both require root privileges. The -v option is the only supported way to exclude or unexclude a volume; behavior is undefined if a sticky or fixed-path exclusion is specified.
restore [-v] src ... dst Restore the item src, which is inside a snapshot, to the location dst. The dst argument mimics the destination path semantics of the cp tool. You may provide multiple source paths to restore. The last path argument must be a destination.
When using the restore verb, tmutil behaves largely like Finder. Custom Time Machine metadata (extended security and other) will be removed from the restored data, and other metadata will be preserved.
Iar lista de excluziuni se poate edita de către tot muritorul din System Preferences -> Time Machine -> Options. Ca și până acum.
De fapt dacă nu ai auzit de apfs și ai făcut update la High Sierra nici nu-ți dai seama că s-a schimbat radical motorul de sub capotă, bordul arată la fel.
Se mișcă bine, aș spune chiar mai bine decât Sierra. Lasă-l câteva ore să termine de indexat Spotlight, se vede în Activity monitor când termină.
Modificări majore de interfață nu sunt, trebuie să te uiți bine la About This Mac să-ți dai seama că nu mai ești pe Sierra.
Sigur, ar trebui să verifici compatibilitatea programelor pe care le folosești uzual.
Pe Mini2014, la Graphics/Displays, am asta:
Metal: Supported, feature set OSX_GPUFamily1 v2
Ce înseamnă asta găsim repede: https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf
Adică am ce aveam și pe Sierra, înțeleg, cu grafica integrată Iris. Cu deosebirea că acum tot procesul WindowServer randează tot ce vezi pe ecran, toate ferestrele, Finder, orice, prin api-uri Metal2.
Îmi aduce aminte când am trecut vrând-nevrând de la Office 2010 la 2016 o rețea de windows-uri.
Eu eram într-o sesiune RDP pe un laptop Windows7, mă uitam la Excel 2016 cum se mișcă și-mi venea să plâng. Până când mi-a trăznit să schimb sesiunea pe 16-bit color. Brusc a întinerit Excelul, altfel pe RDP era inutilizabil.
Și ăla randează prin DirectX, inclusiv pe Windows 7.
Spre deosebire, Mac-ul pe High Sierra pare că a câștigat din randarea Metal2.
Review-urile susțin că plusul de performanță este mai vizibil la sisteme cu grafică slabă, integrată.
Și cam asta este și impresia mea până acum.
Și de la trecerea la APFS te poți aștepta la un câștig de performanță.
Atenție, sunt migrate automat doar Mac-urile care au SSD. Nu cele cu hard disc, nu cele cu Fusion Drive. Suportul APFS pentru Fusion Drive vine, vine, e pe șine, dar not yet, not yet.
We’ve seen a number of stories from people saying that after installing macOS High Sierra, they’ve seen better performance on their old Macs. Two members of The Mac Observer have 2011 MacBook Airs, and have seen improvements after upgrading. People from Reddit are also reporting performance gains, even as far back as a 2009 Mac.