As we start to explore Apple’s latest undocumented service, Trial, gaining easy access to its log entries becomes important. I’ve therefore added another readymade log browsing option to my free utility Mints.
As with other readymade log windows, click on the Trial button to open it.
This window provides colour-coded log content from com.apple.trial, com.apple.triald, com.apple.cloudkit, and ‘Other’, which includes both
triald processes not covered by the subsystem term in the predicate. I normally turn off CloudKit when getting log excerpts, because its entries are copious and generally not relevant to Trial. However, it does enable you to see where Trial uses CloudKit when you want.
For pre-release testing and to expand my insight into what Trial is up to, I have surveyed its activities as recorded in the log over a period of 24 hours, one hour at a time. This was performed on my production iMac Pro (macOS 12.3.1) over a Saturday-Sunday when it’s relatively lightly used. Sleep is disabled, as is Siri. No use was made of ML features such as Live Text or Visual Look Up, and although there is a modest-sized Photos library, no access was made to that in the period studied.
Immediately apparent are a succession of periods of a couple of minutes during which com.apple.mediaanalysisd.fullanalysis was ‘checked in’ and active. TRIClient (presumably a reference to Trial) was initialised more than 20 times in each of these, during which
mediaanalysisd performed image analysis of the following types:
apparently on the default Photos library.
These sessions occurred when the Mac was awake (as it was throughout) but not in active use, for example at around 0100, 0220, 0400, 0530, 1330, 1530, and 2300.
I previously remarked on Trial’s main daily maintenance being performed in the small hours of the morning. In this particular period, it started at 0323, and consisted of the following tasks under the heading of com.apple.triald.fetch-experiments:
- Garbage collection for Trial’s asset store at ~/Library/Trial/v6/AssetStore
Over the 24-hour period, TRIClient was initialised more than 200 times. Among the namespaces found in Trial’s entries were:
NL doesn’t refer to Dutch, but Natural Language. I also believe that MORPHUN refers to linguistic morphology.
Trial appears to be involved in all parts of macOS which benefit from ML, including Siri, natural language processing, Photos library and other image analysis, Spotlight search ranking, and Safari search ranking and other features. This is a non-trivial system.