Reading view

There are new articles available, click to refresh the page.

Those in need: paintings of Christmas Eve

I’m celebrating this Christmas in three parts. Today, for Christmas Eve, I ignore the excesses of the contemporary commercial feast and consider those less fortunate. On Christmas Day I’ll show some modern depictions of the Nativity, followed on Boxing Day by those of the Adorations.

In Christian tradition, Christmas isn’t all turkey and tinsel, but centred on a poor family living temporarily in an animal shed when Mary gave birth there.

vonuhdedifficultjourney
Fritz von Uhde (1848–1911), A Difficult Journey (Transition to Bethlehem) (1890), oil on canvas, 117 × 127 cm, Neue Pinakothek, Munich, Germany. Wikimedia Commons.

Fritz von Uhde painted one of his finest modernised religious works, A Difficult Journey, in 1890. This imagines Joseph and the pregnant Mary walking on a rough muddy track to Bethlehem, in a wintry European village. Joseph has a carpenter’s saw on his back as the tired couple move on through the dank mist.

In more northern parts of Europe and North America, this time of year can be particularly challenging.

millaischristmaseve
John Everett Millais (1829–1896), Christmas Eve (1887), oil on canvas, 157.5 x 134 cm, location not known. Wikimedia Commons.

John Everett Millais’ view of Christmas Eve from 1887 is bleak. Bare trees, barren snow with just tracks, and a few crows foraging. The lights may be lit in the house behind those trees, but out here it feels pretty grim.

Appropriately, Christmas was a time for charity, although perhaps not as ostentatious as that shown by royalty.

Carl Oesterley, Marie, Königin von Hannover, teilt ihren Untertanen Weihnachtsgaben aus, 1908 (4.57)
Carl Oesterley junior (1839-1930), Queen Marie of Hanover Giving Presents to the Poor and Needy (1908), oil, dimensions and location not known. Wikimedia Commons.

The younger Carl Oesterley captured history in his painting of Queen Marie of Hanover Giving Presents to the Poor and Needy (1908). Princess Marie of Saxe-Altenburg, as I believe she’s more properly known, lived between 1818-1907. The artist’s father, Carl Oesterley senior, had been court painter to her family, but in 1866 her father’s kingdom was annexed by Prussia. The Princess married King George V of England, and her family never relinquished the throne. Princess Marie is shown as a saintly figure, bathed in light as the poor and needy, including a sick boy in the bed behind her, worship her grace.

kossakchristmaswar
Wojciech Kossak (1856–1942), Soldiers’ Christmas (1915), oil on canvas, 82 × 72 cm, location not known. Wikimedia Commons.

Seven years later, in 1915, when the whole of Europe was engulfed by the Great War, Wojciech Kossak painted this Soldiers’ Christmas. The decorations on the small Christmas tree in the foreground echo the uniforms in their greyness. In the sky, a shellburst acts as a metaphor for the guiding star which led the Magi to the infant Jesus in Bethlehem, but below that celestial light these infantry soldiers must continue to fight.

The war’s end brought the deadly flu pandemic that reached even into the most remote communities, including those hidden among the maze of fjords to the north of Bergen in western Norway.

astrupchristmaseve
Nikolai Astrup (1880–1928), Christmas Eve at Sandalstrand (1918), woodcut print on paper, 33.8 x 50.5 cm, Private collection. The Athenaeum.

In Nikolai Astrup’s woodcut print of his family’s Christmas Eve at Sandalstrand from 1918, his wife and young son have fallen asleep exhausted, amid traditional Norwegian decorations, including a well-decked Christmas tree.

In the Norwegian capital of Oslo, then still named Kristiania, the Naturalist painter Christian Krohg saw Christmas Eve as an opportunity for redemption.

krohgseamstresschristmaseve
Christian Krohg (1852–1925), Seamstress’s Christmas Eve (1921), oil on canvas, dimensions not known, Nordnorsk Kunstmuseum, Tromsø, Norway. Wikimedia Commons.

In Krohg’s Seamstress’s Christmas Eve from 1921, a young woman is in her garret bed-sit, where she has been toiling long hours at her sewing machine. An affluent couple, relatives or employers perhaps, have just arrived to give the young woman a Christmas tree, a large wicker basket of presents, and more. Maybe that young woman can still be saved from the fate brought on by her sweated labour at the sewing machine, and what was seen as her inevitable decline into prostitution.

Moralising approaches to Christmas had developed during the nineteenth century, initially in literature. A Christmas Carol wasn’t Charles Dickens’ first attempt at a Christmas story, but probably remains the most successful of any writer in the English language. Published on 19 December 1843, its first edition had completely sold out by Christmas Eve, and in its first year it was released in no less than thirteen editions.

One edition of A Christmas Carol published in 1915 was illustrated by Arthur Rackham (1867–1939), who from about 1900 onwards produced some of the finest illustrations using pen, ink and watercolour. If there is one British illustrator of that time whose work consistently demonstrates that illustration can be fine art, it must be the great Arthur Rackham.

rackham01
Arthur Rackham (1867–1939), Illustration for Edition of ‘A Christmas Carol’ (1915), pen, ink and watercolour, further details not known. Images from the British Library and others, via Wikimedia Commons.

In its most memorable scene, the ghost of his former partner Jacob Marley warns the miserly Ebenezer Scrooge that he faces a grim fate, but has one chance of redemption. He’s then visited by three further spirits who show him how.

Just over twenty years later, Victor Hugo’s Les Miserables seized the opportunity to tackle similar themes.

geoffroyjeanvaljeancosette
Henri Jules Jean Geoffroy (1853–1924), Jean Valjean and Cosette (1879-1882), oil on canvas, dimensions not known, Maison de Victor Hugo, Paris. Wikimedia Commons.

Around 1879-1882, Henri Jules Jean Geoffroy painted this work showing a well-known scene from Les Miserables, of Jean Valjean and Cosette. This shows the hero Valjean when he arrives in Montfermeil on Christmas Eve and discovers young Cosette fetching a pail of water for her abusive guardians the Thénardiers, early in the novel. He walks with her to an inn, where he orders her a meal, and learns about her mistreatment.

It’s relevant that Les Miserables was published while Victor Hugo was in exile on the island of Guernsey, after he had openly declared Emperor Napoleon III a traitor to France, following Napoleon’s seizure of power in 1851. That leads on to my final painting, with greatest relevance to the world today.

malczewskisiberia
Jacek Malczewski (1854–1929), Christmas Eve in Siberia (1892), oil on canvas, 81 x 126 cm, Muzeum Narodowe w Krakowie, Kraków, Poland. Wikimedia Commons.

In Jacek Malczewski’s Christmas Eve in Siberia from 1892, these men have been deported from their native Poland and imprisoned in the extreme cold and remoteness of Siberia. Although there’s a steaming samovar at the end of the table, they have only had soup and a wedge of bread for their seasonal feast. Following the Polish Uprising in 1863, at least 18,000 were ‘exiled’ to Siberia, many of whom never returned.

This Christmas we should all be thinking of those who, for whatever reason, can’t spend this holiday in safety and comfort with their family.

Solving Finder tag problems

Finder tags are a popular way to add accessible metadata to files and folders in macOS, with attractive properties:

  • Their associated colour tags are easily seen and instantly recognisable.
  • Each colour can be associated with one or more text labels.
  • The Finder can display tagged items conveniently.
  • Tags propagate through iCloud Drive, and can be used fully in iOS and iPadOS.
  • Tags are generally preserved within macOS, for example when copying or moving items between volumes.
  • Tags are searchable using Spotlight, as their text labels are indexed.

I have explained their use in this article.

Their principle limitation is that they’re limited to 7 colours, together with no colour. That allows you to assign multiple text labels to each colour, but the results of that can be confusing given that Finder display and search are based on their text labels not colours.

Implementation

Finder tags are implemented as extended attributes (xattr), currently of type com.apple.metadata:_kMDItemUserTags. However, historically they can also be implemented alongside other Finder information in com.apple.FinderInfo xattrs.

com.apple.metadata:_kMDItemUserTags xattrs consist of a binary property list containing brief UTF-8 text. This is an NSArray consisting of Strings, each containing a text label, followed by the newline character, followed by the colour number (0-7). The array can be empty. Obviously, labels can’t include the newline character; although they can include the colon character :, that has been reported as causing problems in some versions of macOS and is worth avoiding.

tags04

Colour numbers used are:

  • none, 0
  • grey, 1
  • green, 2
  • purple, 3
  • blue, 4
  • yellow, 5
  • red, 6
  • orange, 7.

Thus a tag name might read Red\n6, or Orange\n7 Green\n2 for two colours, where \n represents the newline character 0a.

When the Finder writes a tag xattr to an item, it also adds a null com.apple.FinderInfo xattr of 32 bytes length, if a xattr of that type isn’t already present.

com.apple.FinderInfo xattrs can be used to store a single colour tag without a text label, although this shouldn’t be encountered any more. When they do, a single byte is set in their fixed length of 32 bytes, the kColor flag just to the right of the Hide extension flag. For instance, <00000000 00000000 00040000 00000000 00000000 00000000 00000000 00000000> sets the Green tag. This scheme uses a different encoding for colour flag values:

  • none = 00, 01
  • grey = 02, 03
  • green = 04, 05
  • purple = 06, 07
  • blue = 08, 09
  • yellow = 0A, 0B
  • red = 0C, 0D
  • orange = 0E, 0F.

Basic checks

With a selection of tagged items, first verify the colours and text labels are shown correctly in the Finder’s Get Info dialog, and match those against com.apple.metadata:_kMDItemUserTags xattrs inspected using xattred‘s drag and drop interface. Also check com.apple.FinderInfo xattrs, although they shouldn’t have their kColor flag set.

Check tagged items both locally and in iCloud Drive. Note that tags should be preserved even when that file has been evicted from local storage to iCloud, as xattrs are stored locally and retained on dataless files. Tags should also be displayed in apps that support them, and in File Open and Save dialogs.

Problems with these basic checks should make you suspect file system errors in volumes affected. Run Disk Utility’s First Aid on that volume and perform necessary repairs. Although they should be shown in some other file systems, Finder tags are best-supported by HFS+ and APFS volumes and may have limitations in other file systems.

iCloud Drive syncing

Test this with:

  • In the Finder, open a user folder in iCloud Drive. Select a file there, and add a Finder tag to it using the contextual menu.
  • That should result in an immediate and brief sync up to iCloud, to copy that tag up.
  • Check that this change syncs across other Macs and devices connected to the same Apple Account.
  • If necessary, add the tag at a known clock time and use that to inspect iCloud systems in the log, using Mints or Cirrus.

Failure to sync the changed tag information with iCloud indicates a problem in syncing with iCloud, and requires separate diagnosis.

Spotlight search

Before looking at search for tags, first confirm normal Spotlight indexing and search function using Mints. If those tests don’t work correctly for search of file contents, address those problems first before assessing tags.

The single most common reason for search failures is that the item being searched for is in a location excluded either from indexing or from returning search results. Check Spotlight or Siri & Spotlight settings for the following:

  • That item’s category isn’t excluded from appearing in Spotlight search results. For example, if the Images item in the list there isn’t ticked, then images will still be indexed, but Spotlight won’t return any images in its search results. Unless you have a good reason, the simplest setting here is for all boxes to be ticked.
  • That item’s path isn’t within any of the locations listed in Search Privacy…, as those aren’t indexed at all.

There have been additional methods for excluding specific items from being indexed by Spotlight, of which two are currently effective:

  • appending the extension .noindex to the folder name (this previously worked using .no_index instead);
  • making the folder invisible to the Finder by prefixing a dot ‘.’ to its name;
  • putting an empty file named .metadata_never_index inside the folder; that no longer works in recent macOS.

Check that the items you expect Spotlight to find aren’t subject to any of those. Details of those items not synced by iCloud Drive are given in this article.

In addition to those excluded locations, Sequoia (and possibly other recent versions of macOS) generally excludes folders and files within either of the two user-writable Library folders, /Library and ~/Library. Limited indexing is performed within the Application Support folder, but that doesn’t appear to include tags. Although iCloud Drive as a whole is shown as being inside ~/Library, it’s indexed differently, as given above, and that should also include app-specific folders in iCloud Drive.

Before even considering rebuilding a volume’s Spotlight indexes, check whether Spotlight correctly indexes test files created using Mints, when you add tags to them. When tags are added, you may be able to see a short burst of mdworker activity in Activity Monitor, and it should be recorded in the log, as checked using Mints. Full details of diagnosing and fixing problems with Spotlight search are given in this article.

Step summary

  1. Verify tags as xattrs both locally and in iCloud Drive, using xattred.
  2. Verify syncing in iCloud Drive using Mints or Cirrus.
  3. Check Spotlight search is working correctly for other contents, using Mints.
  4. Verify tagged items are in a path that isn’t excluded from indexing, and their category is set to return search results, in System Settings.
  5. Diagnose any underlying Spotlight problems using Mints.

Paintings of 1924: 3 Landscapes

This third and final article reviewing notable paintings of a century ago covers landscapes in a surprising range of styles.

vallottonchateaugaillard
Félix Vallotton (1865–1925), Château Gaillard at Andelys (1924), oil on canvas, 82 x 65 cm, Musée cantonal des beaux-arts, Lausanne, Switzerland. Wikimedia Commons.

Félix Vallotton’s view of Château Gaillard at Les Andelys is one of his late transcendental paintings. The ruins of this mediaeval castle tower above this village in northern France. Les Andelys had been the birthplace of Nicolas Poussin in 1594, and grew popular with landscape painters during the nineteenth century.

bevanaldwych
Robert Bevan (1865–1925), Aldwych (1924), oil on canvas, 62.2 x 81.3 cm, Yale Center for British Art, New Haven, CT. Wikimedia Commons.

Robert Bevan, one of the Camden Town Group, painted this view of Aldwych in central London. This is a crescent off the Strand, to the east of Charing Cross. At the left is a motor omnibus, and drinking at the water-trough beneath the memorial is one of the remaining working horses of London, which by now were well in decline.

bevanmountstephen
Robert Bevan (1865–1925), Mount Stephen (1924), oil on canvas, dimensions not known, Private collection. Wikimedia Commons.

Bevan’s Mount Stephen from 1924 shows one of the farms close to Luppitt in East Devon, presumably painted during one of Bevan’s summer visits. By this time, the artist had developed cancer of the stomach. He died the following summer, just a month short of his sixtieth birthday.

astrupbefringmountainfarms
Nikolai Astrup (1880–1928), The Befring Mountain Farms (c 1924-28), oil on canvas with woodblock printing, 89 x 110 cm, Private collection. The Athenaeum.

In Norway, Nikolai Astrup’s rugged rock peaks become the head of a giant owl, peering down at his moonlit unreality. The everyday act of milking a goat becomes strange when it takes place in the dead of night. Marsh marigold flowers, typically seen in the summer sunshine, still glow yellow under his bright yellow moon.

bellowssummerfantasy
George Bellows (1882–1925), Summer Fantasy (1924), oil on canvas, 91.4 × 121.9 cm, Private collection. Wikimedia Commons.

Painted just a year before George Bellows’ sudden death, his Summer Fantasy contrasts with almost all his preceding paintings. Using a formal and classical composition, he brings together images of archetypes in a lush green park, with the Hudson River behind. Ladies in fine, flowing white dresses promenade with their husbands. Horses and their riders, some in the elegance of side-saddle, cross in the middle distance. The sails of boats on the river are backlit by the setting sun.

This has been interpreted as an allegory of life: from the baby in the pram in the right foreground, through marriage, to the final years. But we will never know where it was going to lead Bellows’ brush in the future. For in the New Year of 1925, he suffered appendicitis, which he left untreated. This led to peritonitis, from which he died on 8 January.

IF
Théo van Rysselberghe (1862–1926), Les Fonds de Saint-Clair (1924), oil on linen, 46 x 55 cm, Private collection. WikiArt.

Théo van Rysselberghe’s Les Fonds de Saint-Clair looks likely to have been painted in a single plein air session, with areas where the application of paint has been so light that the canvas texture shows through. This is possibly a picturesque ravine near the north coast of France, to the east of Le Havre.

bonnardpinkpalmcannet
Pierre Bonnard (1867-1947), Pink Palm at Le Cannet (1924), oil on canvas, 49.2 x 47.1 cm, Private collection. The Athenaeum.

Pierre Bonnard had moved south from Paris, and spent much of his later life living in Le Cannet, where he painted at least two variations of this view of a Pink Palm at Le Cannet.

bonnardlandscapemountains1924
Pierre Bonnard (1867-1947), Landscape with Mountains (1924), oil on canvas, 40 x 59 cm, The Phillips Collection, Washington, DC. The Athenaeum.

Bonnard’s Landscape with Mountains is a view further inland.

bonnardinboat1924
Pierre Bonnard (1867-1947), En Bateau, La Promenade en Mer (In a Boat, Promenade at Sea) (c 1924), oil on canvas, 27 x 46 cm, Private collection. The Athenaeum.

With the increasing time he spent on the French Mediterranean coast, maritime motifs become more frequent in Bonnard’s paintings from this time. In a Boat, Promenade at Sea shows three figures who appear to be out for a ‘promenade’ inshore.

Meanwhile, Lovis Corinth was painting avidly at his mountain chalet near Walchensee, in Bavaria.

corinthjochbergwalchensee
Lovis Corinth (1858–1925), The Jochberg at Walchensee (1924), oil on canvas, 65 × 78 cm, Ostdeutsche Galerie Regensburg, Regensburg, Germany. Wikimedia Commons.

The Jochberg at Walchensee shows this 1567 metre high mountain dividing the Walchensee from the Kochelsee.

corinthwalchenbergveggarden
Lovis Corinth (1858–1925), Walchensee, Vegetable Garden (1924), oil on canvas, 70 × 90 cm, Private collection. Wikimedia Commons.

Corinth’s view of Walchensee, Vegetable Garden was painted away from his normal vantage point, to include the colours and textures of this vegetable patch.

corinthwalchensee1924
Lovis Corinth (1858–1925), Walchensee (1924), watercolour on vellum, 50.4 × 67.7 cm, Staatliche Museen zu Berlin, Berlin. Wikimedia Commons.

Finally, Corinth’s Walchensee is a watercolour sketch of the lake reportedly painted on vellum.

Solutions to Saturday Mac riddles 287

I hope that you enjoyed Saturday’s Mac Riddles, episode 287. Here are my solutions to them.

1: Comfort for the organ cabinet and shows entries from 2.

Click for a solution

Console

Comfort (to console) for the organ cabinet (a console) and shows entries from 2 (what it does).

2: Mass of wood measures a ship’s speed for the jottings of your Mac.

Click for a solution

log

Mass of wood (a log) measures a ship’s speed (a ship’s log, which originally used a wooden log) for the jottings of your Mac (what it contains).

3: Guide points the way to measure performance in 2.

Click for a solution

Signpost

Guide (a signpost) points the way (what a signpost does) to measure performance in 2 (signposts are log entries used to measure performance).

The common factor

Click for a solution

They are all concerned with a Mac’s log.

I look forward to your putting alternative cases.

Will that hub or dock slow your SSDs, or even make them faster?

They might all connect to the same ports, but Thunderbolt 3, 4, 5, USB 3 and USB4 are disturbingly different, and few deliver the performance that their up-tos promise. From the figures that I see here at the moment, the most reliably performant in widely available products is USB4, but that’s not supported by Thunderbolt 3 on Intel Macs. When your SSD needs to work well with both Mac architectures, you’re normally limited to using Thunderbolt 3, often the least up-to of them all.

Earlier this month, joevt asked whether “you might be able to connect Thunderbolt 4 dock to have a Thunderbolt 3 host communicate with a USB4 device?” This article tries to answer that, and compares performance of a TB4 hub and a TB5 dock across the range of Mac Thunderbolt ports. In doing so, I think I have discovered how to get an Intel Mac to use USB 3.2 Gen 2×2 at 20 Gb/s, something I’ve not seen before.

Testing

Three Macs were used for testing:

  • iMac Pro (Intel, T2 chip) with macOS 15.1.1, over a Thunderbolt 3 port without USB4 support.
  • MacBook Pro (M3 Pro) with macOS 15.2, over a Thunderbolt 4/USB4 port.
  • Mac mini (M4 Pro) with macOS 15.2, over a Thunderbolt 5 port.

These represent the three main Thunderbolt ports available in recent Macs: vanilla TB3 in all Intel models, TB4 and USB4 in most Apple silicon Macs up to the base M4 chip, and the latest TB5 alias USB4 2.0 in M4 Pro and M4 Max models.

The hub used was a Satechi Thunderbolt 4 Slim Hub, with one TB4 upstream and 3 TB4 downstream ports. The dock was a Kensington SD5000T5 EQ Thunderbolt 5 Triple 4K Docking Station, with one TB5 upstream and 3 TB5 downstream ports. Cables used were CalDigit TB4 and Apple TB5 as appropriate.

Test SSDs were a Thunderbolt 3 OWC Envoy Pro FX 4 TB, and a USB4 OWC Express 1M2 enclosure containing a Samsung 990 Pro 2 TB SSD, chosen for their consistent and representative performance.

All transfer rates were measured using Stibium with a total of 53 GB of test files of between 2 MB and 2 GB being written or read in random order, according to the test. All apparently anomalous or unexpected results were repeated to confirm they weren’t exceptional, and were reproducible.

Can a TB4 or TB5 hub/dock connect Intel Macs faster to USB4?

When connected via the TB4 hub to the Intel Mac, the USB4 SSD operated at USB 3.2 Gen 2 speed, with read/write of 0.97/0.99 GB/s, as expected. However, when connected via the TB5 hub, it operated at twice that speed, achieving USB 3.2 Gen 2×2, with read/write speeds of 1.83/1.81 GB/s. This was reported in System Information as being at 20 Gb/s, and is the first time I have seen any peripheral connected to a Mac operating at that transfer rate.

tb1m2at20gbps

However, the Thunderbolt 3 SSD was slower to read when connected through the TB5 dock: through the TB4 hub read speed was 2.62 GB/s, and for the TB5 dock 2.13 GB/s. Thus, when connected via the TB5 dock, TB3 and USB4 performance were similar.

tb345table1

Consolidated results for all tests are given in the summary table above.

TB4 hub performance

As should be expected, all speeds measured through the TB4 hub were limited to within the approximately 3 GB/s transfer rates normally delivered by the 32 Gb/s available in Thunderbolt 3 and 4. That led to a reduction in read speeds of the USB4 SSD from 3.2-3.5 GB/s when connected directly to an Apple silicon Mac, to 2.9 GB/s when accessed through the TB4 hub.

However, write speeds for the TB3 SSD were further reduced to half TB3, at about 1.4 GB/s. I reported this previously when originally testing TB4 hubs with TB3 SSDs, and can only presume it’s a limitation imposed by the chipset used in some TB3 SSDs, as it doesn’t affect all, and doesn’t affect USB4 through the TB4 hub. This isn’t predictable.

TB5 dock performance

Speeds measured through the TB5 dock were generally at least as good as those through the TB4 hub with three notable exceptions:

  • Write speed from a TB5 port to a TB3 SSD through a TB5 dock fell to 0.42 GB/s, little more than 10% of that of a direct connection and similar to that expected from a SATA SSD operating over USB 3.2 Gen 2. This is a catastrophic effect for which I can offer no explanation, despite demonstrating it on several different occasions with the same combination of host port, dock and SSD.
  • Write speed from a TB5 port to a USB4 SSD through a TB5 dock fell to 2.3 GB/s, about 62% of that expected.
  • Write speeds to a TB3 SSD through a TB5 dock occur at about half the expected speed, just as those through a TB4 hub.

There’s currently a problem with writing from a TB5 host port to either TB3 or USB4 SSDs through a TB5 dock. As the first TB5 hubs become available in the New Year, it will be interesting to see whether they too exhibit similar limitations. Hopefully this will prove to be a firmware problem that can be fixed easily.

TB4 hub or TB5 dock?

Neither the TB4 hub nor the TB5 dock can be recommended without significant reservations, as neither delivers comparable performance to direct connections. For the TB4 hub, those limit all USB4 performance to a maximum of about 3 GB/s, and halve TB3 write speeds. For the TB5 dock, write speeds are again limited, catastrophically in the case of TB3 SSDs from a host TB5 port.

The only way to determine whether your intended combination of Mac, hub or dock, and SSD will deliver the performance you expect is to test them in combination yourself. That hasn’t changed since the introduction of the first TB4 hubs, and the addition of TB5 has only complicated this, as it’s just another up-to where anything could happen.

Conclusions

  • If a USB4 SSD is to be used with an Intel Mac, connecting it via a TB5 dock could almost double its performance, but a TB4 hub doesn’t help.
  • Connecting a TB3 SSD to any Mac via a TB4 hub or TB5 dock is likely to reduce its write speed to about 1.5 GB/s or less.
  • Connecting a USB4 SSD to an Apple silicon Mac via a TB4 hub will reduce its read and write speeds below 3 GB/s.
  • Some combinations of host port, hub/dock and SSD can result in more severely impaired performance. Those are unpredictable, and can only be discovered by careful testing in combination.
  • Thunderbolt 3, 4, 5 and USB4 are up-tos that can sometimes perform remarkably poorly.

Painting poetry: Alfred, Lord Tennyson

The most painted of the poems of Alfred, Lord Tennyson are those of his Arthurian narrative Idylls of the King, that I have recently incorporated into my long series on paintings of Arthurian legends. Among those The Lady of Shalott remains the most popularly depicted. Several other poems of Tennyson have featured in notable paintings.

The Sleeping Beauty is a ‘fairy’ story widespread through most of Europe, best known from the version of the brothers Grimm, and retold by Tennyson initially in his 1830 poem of the same name, expanded into The Day-Dream of 1842.

The central story tells of a princess, who has seven good fairies as her godmothers. An eighth and evil fairy was overlooked, and seeks a way to get revenge. She puts a curse on the princess that she will prick her hand on the spindle of a spinning wheel and die. One good fairy tries to reverse this, changing the spell so that it will put her into a deep sleep for a century, and can only be awakened by a kiss from a prince.

Royal edict then forbids all spinning throughout the kingdom, but when the princess is a young woman, she discovers an old woman spinning, and pricks her finger on the spindle. She then falls asleep. The king summons the good fairy to try to address the problem. Her solution is to put everyone in the castle to sleep, and to summon a forest with brambles and thorns around the castle, to prevent anyone from entering.

A prince later hears the story of the Sleeping Beauty, and rises to the challenge to penetrate the trees and bramble thickets around the castle. He discovers the sleeping princess, kisses her, and she and the rest of the castle wake up. The prince and princess marry, and they all live happily ever after.

colliersleepingbeauty
John Collier (1850–1934), The Sleeping Beauty (1921), oil on canvas, 111.7 x 142.2 cm, Private collection. Wikimedia Commons.

A pupil of the Pre-Raphaelites working long after most of the them had died, John Collier chooses part of the story before the climax, in his Sleeping Beauty of 1921. Here the princess and her two companions are shown asleep, with the dense woodland and brambles seen through the window.

The same year that his first version of The Sleeping Beauty was published, Tennyson wrote a poem drawn from William Shakespeare’s comedy Measure for Measure, and the character of Mariana.

Set in Vienna, the play relates the events which take place when the Duke of Vienna makes it known that he is going away on a diplomatic mission. His deputy, Angelo, assumes control, although the Duke doesn’t actually go away at all, but remains in disguise to observe Angelo’s behaviour in his feigned absence.

Angelo has been betrothed to Mariana, but her dowry was lost at sea, so he has refused to marry her, leaving her isolated and in perpetual sadness, with no promise of any solution. During the Duke’s feigned absence, it becomes clear that Angelo lusts after another, Isabella, a novice nun who is the sister of Claudio, who Angelo has engineered to become sentenced to death for fornication. Angelo offers Isabella a deal to spare her brother’s life, in which she lets him deflower her.

The disguised Duke arranges a ‘bed trick’ in which it is actually Mariana who Angelo has sex with, which could be construed as consummation of their frozen marriage. Angelo then has sex with Mariana, believing her to be Isabella, but reneges on the deal to spare Claudio. The Duke arranges for a similar head to be sent to Angelo to ‘prove’ Claudio’s execution, in the ‘head trick’.

The Duke then ‘returns’ to Vienna, and is petitioned by Isabella and Mariana, for their claims against Angelo. Angelo attempts to lay blame against the Duke when he was disguised as a friar, so the Duke reveals his role, and proposes that Angelo be executed. Eventually it’s agreed that Angelo is made to marry Mariana, and revealed that Claudio was not executed.

Tennyson’s Mariana focusses solely on her ‘despondent isolation’ before most of the events of Shakespeare’s play. Its 84 lines end with the summary
Then, said she, “I am very dreary,
He will not come,” she said;
She wept, “I am aweary, aweary,
O God, that I were dead!”

A couple of years later, Tennyson rewrote the poem and published his new version under the title Mariana in the South in 1832. That follows more closely the tragic circumstances of The Lady of Shalott, ending in Mariana’s death. This leaves us with a choice of two or even three different Mariana narratives, and a fourth if we include Elizabeth Gaskell’s novel Ruth, published in 1853, which was apparently inspired by Millais’ painting below.

Some of John Everett Millais’ sketches for his major painting of Mariana have survived, and show how from early on in its development, the figure’s posture and location had been decided.

millaismarianastudy1
Sir John Everett Millais (1829–1896), Mariana (study) (1850), media and dimensions not known, Birmingham Museums & Art Gallery, Birmingham, England. Wikimedia Commons.
millaismarianastudy2
Sir John Everett Millais (1829–1896), Mariana (study) (1850), media and dimensions not known, The Victoria and Albert Museum, London. Wikimedia Commons.
Mariana 1851 by Sir John Everett Millais, Bt 1829-1896
Sir John Everett Millais (1829–1896), Mariana (1851), oil on mahogany, 59.7 x 49.5 cm, The Tate Gallery (Accepted by HM Government in lieu of tax and allocated to the Tate Gallery 1999), London. © The Tate Gallery and Photographic Rights © Tate (2016), CC-BY-NC-ND 3.0 (Unported), http://www.tate.org.uk/art/artworks/millais-mariana-t07553

The final version of Mariana (1851) was first shown at the Royal Academy in 1851, together with lines 9-12 of Tennyson’s original Mariana:
She only said, “My life is dreary,
He cometh not,” she said;
She said, “I am aweary, aweary;
I would that I were dead!”

Millais’ superb and richly-coloured painting is full of symbols: fallen leaves to indicate the passage of time, her embroidery as a means of passing that time, the Annunciation in the stained glass contrasting her with the Virgin’s fulfilment, the motto ‘in coelo quies’ (in heaven is rest), and the snowdrop flower in the glass meaning consolation. Mariana’s posture is intended to indicate her yearning for Angelo.

stillmanmariana
Marie Spartali Stillman (1844–1927), Mariana (1867), watercolor and gouache on paper, 38.1 × 27.4 cm. Private collection. Wikimedia Commons.

Marie Spartali Stillman’s accomplished watercolour of Mariana from 1867 may have been inspired by Millais’ painting, and uses the same basic setting of Mariana gazing out of a window with yearning. However she dispenses with Millais’ complex symbols, and fills her paper with Mariana herself, relying on her facial expression and body language alone.

When first exhibited at the Dudley Gallery, it was well received, but didn’t sell. It then vanished until its re-discovery in the 1980s. It has been suggested that this painting may have been inspiration for Rossetti’s versions.

Rossetti made two quite different studies before painting his finished work of 1870, that are generally accepted as being part of his Aesthetic style rather than the earlier Pre-Raphaelite.

The Heart of the Night (Mariana in the Moated Grange) 1862 by Dante Gabriel Rossetti 1828-1882
Dante Gabriel Rossetti (1828–1882), The Heart of the Night (Mariana in the Moated Grange) (1862), watercolour and gum arabic on paper, 27 x 24.4 cm, The Tate Gallery (Purchased with assistance from Sir Arthur Du Cros Bt and Sir Otto Beit KCMG through the Art Fund 1916), London. © The Tate Gallery and Photographic Rights © Tate (2016), CC-BY-NC-ND 3.0 (Unported), http://www.tate.org.uk/art/artworks/rossetti-the-heart-of-the-night-mariana-in-the-moated-grange-n03062

The Heart of the Night (Mariana in the Moated Grange) (1862) is an intriguing watercolour study quite unlike any of the other depictions of Mariana, but clearly referring to Tennyson’s first poem. The figure is obviously yearning deeply, but instead of facing a window, she inhabits the dark. Some symbols are apparent in the distance, including a spinning wheel indicating time, and there are love letters scattered in the foreground.

rossettimariana1868
Dante Gabriel Rossetti (1828–1882), Mariana (Study) (1868), red, brown, off-white and black chalks on tan paper; four sheets butt-joined (and slightly tented), 90.8 × 78.1 cm, The Metropolitan Museum of Art (Gift of Jessie Lemont Trausil, 1947), New York, NY. Courtesy of The Metropolitan Museum of Art.

Rossetti’s next study of 1868 is transformed by his use of Jane Morris (wife of William Morris) as the model, and this probably developed from a study of her head alone. There is also a link to reality, in that the Morris’s marriage was going through a difficult period, and Jane and Rossetti were becoming increasingly close.

Rossetti, Dante Gabriel, 1828-1882; Mariana
Dante Gabriel Rossetti (1828–1882), Mariana (1870), oil on canvas, 109.8 × 90.5 cm, Aberdeen Art Gallery, Aberdeen, Scotland. Wikimedia Commons.

Rossetti’s finished painting of Mariana (1870) strangely reverts to that of Shakespeare’s play, and depicts the moments in Act IV scene 1 in which a boy sings to Mariana. Rossetti dresses the woman in the same blue as Millais, and uses Jane Morris as his model. Mariana now sits full of yearning, her embroidery on her lap, as she listens to the boy’s song, bringing in the art of music. There appears little in common with Stillman’s painting, though.

calderonmariana
Philip Hermogenes Calderon (1833–1898), Mariana (date not known), oil on canvas, 61 × 45.7 cm, Private collection. Wikimedia Commons.

Philip Hermogenes Calderon’s sketchy painting is even more obviously linked to the Shakespeare play, and those same events in Act IV scene 1. The boy is not shown in song, though, as he stares at Mariana’s face, which we cannot see, as she is looking into the canvas. Her purity is confirmed by the white lily flowers.

prinsepmariana
Valentine Cameron Prinsep (1838–1904), Mariana (c 1888) from the The Graphic Gallery of Shakespeare’s Heroines, Sampson Low, Marston & Co. Folger Shakespeare Library Digital Image Collection, via Wikimedia Commons.

Valentine Cameron Prinsep’s Mariana (c 1888) was intended to serve as an illustration for a printed edition of Shakespeare’s play; this version was printed by Goupil in Paris in 1896. Instead of following Rossetti and Calderon, he uses a similar composition to Stillman. Mariana is here dressed in white, symbolising her purity, and stares out of anachronistic diamond-pane windows, full of yearning.

raemariana
Henrietta Rae (1859–1928), Mariana (1892), oil on canvas, dimensions and location not known. Via Fish, A, at archive.org.

Henrietta Rae painted her version of Mariana in 1892, and appears again to refer to Marie Spartali Stillman’s painting of 1867, with its bottle-glass windows, although her composition looks original.

Almost fifty years after Millais’ first painting, John William Waterhouse chose to use Tennyson’s later reworking of his poem, Mariana in the South.

Waterhouse, John William, 1849-1917; Mariana in the South
John William Waterhouse (1849–1917) Study for Mariana in the South (c 1897), oil on canvas, 134.5 × 86.3 cm, The Cecil French Bequest Gallery, London. Wikimedia Commons.

One study has survived, showing how Waterhouse has moved closer to popular images derived from The Lady of Shalott. The moated grange is now kept in permanent darkness, shutters closed. Mariana yearns in front of a large mirror, as if dressing herself in preparation for her death.

waterhousemarianasouth1897
John William Waterhouse (1849–1917), Mariana in the South (c 1897), oil on canvas, 114 × 74 cm, Private collection. Wikimedia Commons.

Waterhouse’s finished Mariana in the South (c 1897) places her in a posture more closely derived from that of Millais. On the floor are some of her love letters, and there is a large red rose of love on her breast. At the left edge, on a distant mantleshelf, a candle burns its vigil for her lost betrothal, and her prayers that she will one day marry. This matches Tennyson’s words “And in the liquid mirror glowed the clear perfection of her face” from his second version of the poem.

In early 1835, Tennyson wrote a brief elegy describing his emotion of loss following the death of his close friend and fellow poet Arthur Henry Hallam in 1833, titled Break, Break, Break. It was published in 1842.

veddermemory
Elihu Vedder (1836–1923), Memory (1870), oil on panel, 51.6 x 37.5 cm, Los Angeles County Museum of Art, Los Angeles, CA. The Athenaeum.

This remarkable painting by Elihu Vedder is one of the earliest symbolist images made by an American artist. Its origins are probably in sketches he made in 1866 and 1867, according to Regina Soria. The earlier of those was a response to Tennyson’s poem Break, Break, Break, pondering the memory of loved ones when contemplating the sea, as Vedder shows here.

Last Week on My Mac: School of Athens or Blinded Samson?

I wonder whether we’ll look back at 2024 as the year that Apple Intelligence came to our Macs and devices?

While there are plenty of nay-sayers, and those who still accuse Apple of falling behind, there can be few who aren’t aware of what’s available to those who have bought a recent Mac or one of the higher-end iPhones or iPads. Since Apple’s attempt to hijack the established abbreviation AI at WWDC last summer, we have heard little else. There can have been few minor updates that were sold as heavily as the autumn’s x.1 and x.2 releases for their lavishly preannounced new features.

We’ve been beta-testing some of those features for as long as we’re normally allowed for a whole major release of macOS. Over that period, the number of users who have switched to English (US) as their primary language must have been substantial. It’s the first time I have kept one of my Macs running beta-releases long after the annual macOS upgrade, and I only reverted when 15.2 was released with AI support for English (UK).

raphaelschoolathens
Raphael (1483–1520), The School of Athens (c 1509-10), fresco, 500 x 770 cm, Stanza della Segnatura, Palazzo Vaticano, The Vatican City. Wikimedia Commons.

Although these AI features have their uses, and for many should prove quietly revolutionary, I’m not convinced that they transform our Macs or devices into anything even remotely intelligent, and a far cry from the great thinkers in Raphael’s masterpiece The School of Athens. The central figures here are Plato (left) and Aristotle (right). Seen further to the left in profile is Socrates, and below him is Pythagoras writing in a book while a boy holds in front of him a small blackboard showing the theory of harmony.

Contrast that hullabaloo about AI with Apple’s complete silence on security, specifically the changes brought in its front-line malware detection feature XProtect in macOS Sequoia, since its release on 16 September. Prior to that, XProtect’s data bundle, including its Yara file of detection signatures for malicious software, had been maintained by the general macOS update service through softwareupdated. The diagram below outlines this long-established process.

xprotectupd1

When Sequoia 15.0 was released, that changed to what has turned out to be an intermediate invoking both the old mechanism and the new.

xprotectupd2

For the first couple of weeks of that, XProtect updates were chaotic:

  • 13 Sep (approx) Software Update Service stopped providing regular XProtect updates
  • 13 Sep (approx) XProtect version 5273 available from Software Update Service for Sequoia only
  • 16 Sep macOS 15.0 released, with version 5273 available from Software Update Service for Sequoia only; upgraded Macs updated to 5273 by copying from secondary to primary locations; 5273 not provided from iCloud, where 5272 remained the current version
  • 18 Sep Software Update Service resumed delivery of 5272 to Sonoma and earlier
  • 18 Sep Software Update Service started delivery of 5274 to Sonoma and earlier; 5273 no longer available for Sequoia, with 5272 still available from iCloud
  • 24 Sep Software Update Service delivered 5275 for Sequoia; no change to Sonoma and earlier, and 5272 still available from iCloud.

Then, just as we were getting the hang of it, Sequoia 15.2 excised the old mechanism, as we discovered last week when Apple released the first update to XProtect since 15.2.

xprotectupd3

Throughout all of this, Apple has remained completely silent. What’s even more surprising is that in the last few days, Apple has updated its definitive guide to security for Macs and all its devices. Although not all localised English translations have yet been synced with its US or Canadian English versions, the account of XProtect now has a published date of 19 December 2024, but doesn’t mention September’s changes.

There are those who insist that none of this is our concern, we should just let Apple do whatever it deems appropriate, and we shouldn’t even know what version of XProtect’s data is installed, as macOS takes care of all that for us. However, the security of my Mac is very much my business. If I were to unwittingly install malware that stole sensitive information, those are my banking details at risk, not Apple’s. Should I suffer financial loss as a result, would Apple provide unlimited compensation?

Hardly. Read sections 8 and 9 of Apple’s licence for macOS Sequoia, and the onus is clearly placed on the user. Just to emphasise this, further down that licence, in the Apple Pay & Wallet Terms and Conditions, is the express statement: “You are solely responsible for maintaining the security of your Mac Computer, Supported Devices, your Apple Account, your Touch ID information, the passcode(s) to your device(s), and any other authentication credentials used in connection with the Services (collectively, your “Credentials”).” The next time someone says that you should leave the security of your Mac to Apple, remind them of that.

Apple also encourages us to take an active part in our Mac’s security protection, and provides us with tools for doing so. The description given in man xprotect is a good example: “xprotect is used to interact with XProtect. It is useful for administrators or users who want to manually invoke XProtect functionality.”

Information about XProtect updates is exposed in the GUI, in System Information, where each update including those delivered by both old and new mechanisms is listed, together with its version number. That in itself is puzzling, as recent entries incomprehensibly duplicate older XProtectPlistConfigData entries with newer XProtectCloudKitUpdates.

So if AI doesn’t bring us the School of Athens, what has macOS Sequoia achieved so far? For this second image I turn to Lovis Corinth’s first major painting after his near-fatal stroke just before Christmas in 1911, an autobiographical portrait expressing his frustrations, in The Blinded Samson from 1912.

corinthblindsamson
Lovis Corinth (1858–1925), The Blinded Samson (1912), oil on canvas, 105 x 130 cm, Alte Nationalgalerie, Berlin. Wikimedia Commons.

Please don’t breathe a word of this over on Apple Support Communities, though, where it seems your Mac’s security should be like mediaeval religion, a matter of blind faith and the suppression of knowledge. It’s high time for a Renaissance, much more Enlightenment, and a modicum of Intelligence.

Painting poetry: John Keats

A few weeks ago I featured paintings of one of Boccaccio’s stories from his Decameron, retold in 1818 by the British poet John Keats (1795-1821) in his Isabella, or the Pot of Basil. Today’s article looks at paintings inspired by some of Keats’ other writings, and tomorrow those based on the works of Tennyson.

Keats completed and published his poem Endymion in 1818, when he was only twenty-three. This elaborates on the story of the shepherd of the same name who became the object of affection from the goddess Selene. However, instead of using her name, Keats used an alternative name for the goddess Artemis, who later became confounded with Selene.

wattsendymion
George Frederic Watts (1817–1904), Endymion (1872), oil on canvas, 65 × 52 cm, location not known. Wikimedia Commons.

George Frederic Watts’ painting of Endymion (1872) may well refer to Keats’ poetic reinterpretation, showing Endymion making love with the Titan goddess of the Moon, Selene. This is one of Watts’ most painterly works, and appears to have come straight from his emotions. This also marks his transition from painting Pre-Raphaelite staples such as mediaeval knights and legends, to his later works that were more allegorical if not frankly symbolist.

stotttreesshadyboon
Edward Stott (1855–1918), Trees Old and Young, Sprouting a Shady Boon for Simple Sheep (date not known), oil on canvas, 50 x 73 cm, location not known. Wikimedia Commons.

Edward Stott’s Trees Old and Young, Sprouting a Shady Boon for Simple Sheep from 1888 is unusual as it’s one of his few paintings with a literary reference, its title being a quotation from Endymion. However, its shepherdess is neither Endymion nor Selene/Cynthia.

The following year, Keats wrote the narrative poem The Eve of St. Agnes, which was published a year later, remains one of his finest works, and has formed the basis for at least three major paintings by Pre-Raphaelites.

Madeline has fallen in love with Porphyro, who is an enemy to her family. Older women have told Madeline that she can receive sweet dreams of love on the night of St. Agnes Eve, preceding the day on which the patron saint of virgins is celebrated, 21 January.

On that night, Porphyro gains entry to the castle where Madeline lives, and looks for Angela, who remains a friend to his family despite the feud. Angela reluctantly agrees to take him to Madeline’s room, so that he can gaze at her sleeping there. She takes him there, where he hides in a large wardrobe and watches her prepare for bed, seeing her full beauty in the moonlight.

He creeps out to prepare a meal for her, but she wakes, and seeing the same figure she had just been dreaming, takes him into her bed. She then wakes fully and realises her mistake. They declare their mutual love before escaping from the castle past drunken revellers, and flee into the night.

huntevestagnes
William Holman Hunt (1827–1910), The flight of Madeline and Porphyro during the drunkenness attending the revelry (The Eve of St. Agnes) (study) (1848), oil on panel, 25.2 x 35.5 cm, Walker Art Gallery, Liverpool England. Wikimedia Commons.

In this study for William Holman Hunt’s The Flight of Madeline and Porphyro During the Drunkenness Attending the Revelry from 1848, he shows the climax of the poem. Madeline and Porphyro, dressed in their cloaks, are creeping past the drunken bodies of those who have been at the feast. Through the arches at the left the drinking and feasting can be seen still in progress. In the foreground one of the revellers is clutching an empty cask of drink, while other remains of the drinking are scattered on the floor to the right. Two large dogs appear to be somnolent and not reacting to events.

Madeline’s face has a neutral expression, and she has her right arm across Porphyro’s chest to restrain him, her left hand in contact with his right hand on the hilt of his (smaller) sword, as if to restrain him from drawing it. Porphyro’s face shows tension, almost amounting to anger, perhaps, as his left hand holds a door behind him, at the right edge of the painting. That door bears a key, suggesting it’s an outer door. His right hand grips the handle of his sword, as if about to draw it.

The Eve of St Agnes 1856 by Arthur Hughes 1832-1915
Arthur Hughes (1832–1915), The Eve of St Agnes (1856), oil on canvas, 71 x 124.5 cm, The Tate Gallery, London (Bequeathed by Mrs Emily Toms in memory of her father, Joseph Kershaw 1931). Photographic Rights © Tate 2016, CC-BY-NC-ND 3.0 (Unported), http://www.tate.org.uk/art/artworks/hughes-the-eve-of-st-agnes-n04604

Instead of Holman Hunt’s elaborate and ingenious composition, Arthur Hughes opts for a triptych, read from left to right. At the left, Porphyro is approaching the castle. In the centre, he has woken Madeline, who has not yet taken him into her bed. At the right, he almost quotes from Holman Hunt’s version, showing the couple’s escape over drunken revellers. There is also a second, undated version in the Ashmolean, Oxford, in which the painting at the left shows a slightly later moment, where Porphyro meets Angela at the entrance to the castle.

Hughes felt the need to provide the viewer with an excerpt of the original text:
They told her how, upon St Agnes’ Eve,
Young virgins might have visions of delight,
And soft adorings from their loves receive
Upon the honey’d middle of the night.
If ceremonies due they did aright,
And supperless to bed they must retire,
And couch supine their beauties lily white,
Nor look behind, nor sideways, but require
Of heaven with upward eyes for all that they desire.

This painting was very well received when shown at the Royal Academy in 1856, with the critic John Ruskin and painter Dante Gabriel Rossetti being enthused by it.

millaisevestagnes
John Everett Millais (1829–1896), The Eve of St Agnes (1863), oil on canvas, 117.8 x 154.3 cm, The Royal Collection of Her Majesty Queen Elizabeth II, London. Wikimedia Commons.

John Everett Millais’ The Eve of St Agnes from 1863 is one of the few Pre-Raphaelite paintings to have been purchased by the British Royal Collection: despite the great achievements of the movement, their works were not favoured by Queen Victoria.

This shows Madeline completing the rituals prescribed for the night, as she prepares to undress for bed, in verses 25-26 of Keats’ poem:
Full on this casement shone the wintry moon,
And threw warm gules on Madeline’s fair breast,
…her vespers done,
Of all its wreathed pearls her hair she frees;
Unclasps her warmed jewels one by one;
Loosens her fragrant boddice; by degrees
Her rich attire creeps rustling to her knees:
Half-hidden, like a mermaid in sea-weed,
Pensive awhile she dreams awake, and sees,
In fancy, fair St. Agnes in her bed,
But dares not look behind, or all the charm is fled.

This curiously static scene from an action-packed narrative was painted from life: Millais used the King’s Bedroom in the Jacobean house at Knole Park, near Sevenoaks in Kent, with his wife Effie as his model. The special bull’s eye lantern producing the eerie lighting effect was a detail over which he took meticulous care. The end result is another evocative, sensual painting that’s almost devoid of narrative.

Before The Eve of St. Agnes was published, Keats wrote La Belle Dame Sans Merci, a ballad about a femme fatale, derived in part from a fifteenth century poem by Alain Chartier. This concerns a fairy who seduces a knight with her eyes and singing, then condemns him to an unpleasant fate. It was published in its original version in 1819, and in a revised version in 1820. It includes the the verses

I met a lady in the meads,
Full beautiful, a fairy’s child;
Her hair was long, her foot was light,
And her eyes were wild.

I made a garland for her head,
And bracelets too, and fragrant zone;
She looked at me as she did love,
And made sweet moan.

I set her on my pacing steed,
And nothing else saw all day long,
For sidelong would she bend, and sing
A faery’s song.

cranebelledamesansmerci
Walter Crane (1845–1915), La Belle Dame Sans Merci (1865), oil on canvas, 48 × 58 cm, Private collection. Wikimedia Commons.

Walter Crane is one of the earlier artists to represent this in a painting, with subsequent similar depictions by Arthur Hughes and Frank Dicksee. The ‘belle dame’ of the title is shown riding side-saddle on the knight’s horse, flowers in her long, flowing tresses, and the knight clad in armour and heraldic overgarments, holds her hand.

Early in 1821, when he was only twenty-five, John Keats died of the complications of tuberculosis.

Saturday Mac riddles 287

Here are this weekend’s Mac riddles to entertain you through family time, shopping and recreation.

1: Comfort for the organ cabinet and shows entries from 2.

2: Mass of wood measures a ship’s speed for the jottings of your Mac.

3: Guide points the way to measure performance in 2.

To help you cross-check your solutions, or confuse you further, there’s a common factor between them.

I’ll post my solutions first thing on Monday morning.

Please don’t post your solutions as comments here: it spoils it for others.

A brief history of logs and Console

System logs seem to have been introduced with Mac OS X in 2000-2001, and I don’t recall any equivalent in Classic Mac OS, although individual apps such as databases often kept their own logs.

2000-2016 text logs

As Mac OS X presented itself as a derivative of Unix, it brought with it bells and whistles such as support for code to write to system-level logs including system.log, console.log and dozens of other more specialist destinations, and its own log browser in the Console app.

console2001

As is traditional, log entries contained unstructured plain text to which a datestamp and other data were added to expand each into a line of text in log files that were rotated daily. As entries were relatively infrequent, many users learned to read the log and to use it to diagnose problems.

console2001b

The Console app gave ready access to all standard logs as well as app-specific ones, such as this for mail processes such as sendmail, and crash reports. These two screenshots are from Mac OS X 10.0 Cheetah in April 2001.

console2005

By Mac OS X 10.4 Tiger in 2005, Console had acquired some basic tools and a sidebar to select from the many logs. Because they were plain text, those for previous days were compressed and stored in archives until they were removed during routine housekeeping. This excerpt shows entries in the system log over a restart that took over 2 minutes from the last entry to the start of the boot process.

logmaster

There has also been the rare substitute for Console: this is LogMaster from Bright Light Software, shareware for $14.50 in 2006 until it was abandoned.

console2011

Although much in Console remained the same until 2016, at some stage Apple structured log entries into fields, as shown here in Mac OS X 10.6 Snow Leopard. Log entries were still infrequent, with this excerpt covering a period of almost 20 seconds.

Console showing log entries for a typical restart.

This is another restart, here in OS X 10.10 Yosemite in April 2015. This time, the period recorded for that restart has fallen to 39 seconds. System shutdown is marked by the shutdown process and SHUTDOWN_TIME, and startup begins with BOOT_TIME.

2016 Unified log

With macOS Sierra in 2016, that was all swept away and replaced by the Unified log. There had been warning signs that change was coming: in May of that year, I complained that the log consisted of a torrent of messages like
17/05/2016 21:04:40.175 storeassetd[531]: multibyte ASN1 identifiers are not supported.
or
17/05/2016 20:55:15.298 WindowServer[233]: _CGXRemoveWindowFromWindowMovementGroup: window 0x91 is not attached to window 0x92
Even when running a fairly clean installation of El Capitan, All Messages clocked up around 4000 entries every 8 or 9 hours. At its worst, the log could fill those 4000 message slots in a minute or two. Little did we realise how busy our logs were about to become.

Apple declared the goals of its new log system at WWDC in June 2016:

  • a single efficient logging mechanism for user and kernel mode;
  • to maximise information collection with minimum observer effect;
  • the compression of log data;
  • a managed log message lifecycle;
  • as much logging on as much of the time as possible;
  • for privacy to be designed into the logging system;
  • a common system across macOS, iOS, watchOS, tvOS;
  • all legacy APIs (NSLog, asl_log_message, syslog, etc.) to be redirected into the new unified log;
  • to emphasise debugging of macOS and apps, not providing any facilities for system administration or audit;
  • to link to the sysdiagnose tool for gathering information for bug reports etc.

To achieve this, a log entry is made using a new call that’s handled by the logd daemon and compressed into a buffer. From there it’s either retained in memory if ephemeral, or written out to a file.

mul102LogdFlow

There are two main groups of files that store log entries: those kept in /var/db/diagnostics/Persist/ in the form of tracev3 files containing regular log entries, and further tracev3 files in /var/db/diagnostics/Special/ containing additional shorter-life entries. Additional and lengthier log data can be stored in files named by UUID in /var/db/uuidtext/, and there’s also scope for high-volume collection.

tracev3 files use a proprietary compressed binary format that remains undocumented to this day, but has been partially reversed. Apple doesn’t provide direct access to their contents, only through closed-source utilities such as the log command tool. Where users want a more portable format, Apple recommends conversion to a logarchive package, although that’s also undocumented and only directly accessible using log and Console. Apple has in recent years given limited access to the active log for third-party apps, but that lacks many of the useful features of its own log command.

Privacy

Privacy features have caused problems from the start. Log messages containing potentially sensitive information have that censored by <private>. Like so many good ideas, this had unintended consequences as many log entries only contain the dreaded <private>, and in some cases meaningful content is lost altogether.

Ironically, the most embarrassing security problem in the Unified log occurred in early versions of High Sierra, when encryption passwords were leaked apparently as a result of incorrect string formatting. Apple subsequently added an entry field to make explicit the formatting used for that entry.

Until the release of Catalina, there was an undocumented switch to turn privacy protection off, through an option to the log config command. When you needed to view all those censored messages, you could turn protection off, perform the test, and the log then contained all the information you required. That changed in Catalina 10.15. In order to bypass this privacy protection, you had to run your Mac in a special diagnostic mode intended for use exclusively by Apple engineers. Apple later relented and allowed this to be controlled through a profile, although because entries already made don’t contain the censored data, it can’t be applied retrospectively.

consoleserrors

When first released, access to the new Unified log wasn’t restricted to admin users, but that changed in macOS 10.12.4, when that restriction was applied, and normal users found they were no longer able to browse the log at all.

Problems

The biggest disappointment, though, has been the Console log browser, which has made only limited use of log entry structure, displays just a small selection of entry fields, provides little aid for the high volume of entries, and worst of all gives no access at all to recent entries in the live log. Apple’s decision to restrict Console to browse the live stream of entries and logarchives has rendered it useless for many of the most compelling reasons for the app, but it has ensured that Console and the log provide no “facilities for system administration or audit”. It has also deterred third-party developers from writing to the log, and made it the exclusive preserve of Apple’s engineers, which perhaps was the original intention.

Since its first release in macOS Sierra, the log has flourished if not grown like an invasive weed. The number of fields available has increased from 16 to over 25, many of them added to support Signposts, introduced in late High Sierra and Mojave. Those are used extensively in macOS primarily to measure performance.

As the log now rolls its tracev3 files to maintain a maximum total file size, rising rates of entries by macOS have limited the period covered by retained entries. What in the early days was sufficient for up to 20 days of entries may now last little longer than a few hours. This also ensures that Console has more limited usefulness, and it struggles to cope with logarchives of any size.

console2024

Collection and retention of entries from different subsystems is set in logging profiles, XML property lists stored in /System/Library/Preferences/Logging (in the System volume, so read only) and /Library/Preferences/Logging, which the user controls. You can create your own custom profiles, or modify them on the fly using the log command, although this appears unusual even among the few left who can and do still browse the log.

What used to be a primary tool in diagnosing problems has been abducted without replacement. At least it keeps those pesky system administrators and auditors away.

Interiors by Design: Bedrooms

Separation of living from sleeping accommodation has become increasingly popular in most societies as they have become more affluent and housing has become more spacious. In its extreme, among the wealthy, bedrooms have acquired supplementary areas for dressing and personal grooming, leaving the bedroom itself dedicated to the bed and sleep. For that it’s usually the most private room in a house or apartment.

emmerydoctorsorders
Emmery Rondahl (1858-1914), The Doctor’s Orders (1882), oil on canvas, 43.2 x 55.9 cm, location not known. Wikimedia Commons.

Emmery Rondahl’s Doctor’s Orders (1882) shows a Danish country doctor writing a prescription for an older patient who is tucked up in a magnificent fitted bed in their own home. Although still a humble dwelling, with an uneven and uncarpeted stone floor, the bed has luxuriant curtains and there’s even a short net curtain at the window.

degasinterior
Edgar Degas (1834–1917), Interior (‘The Rape’) (1868-9), oil on canvas, 81.3 x 114.3 cm, Philadelphia Museum of Art, Philadelphia, PA. Wikimedia Commons.

Edgar Degas’ famously enigmatic Interior from 1868-69 remains fascinating even if you ignore its two figures. The woman’s outer clothing is placed at the foot of the bed, and her corset has been hurriedly or carelessly cast onto the floor beside it. Just behind her is a small occasional table, on which there is a table-lamp and a small open suitcase. Some of the contents of the suitcase rest over its edge. In front of it, on the table top, is a small pair of scissors and other items from a small clothes repair kit or ‘housewife’.

The man’s top hat rests, upside down, on top of the cabinet on the far side of the room, just in front of the woman. Despite the obvious implication that they are a couple who have met in that room to engage in a clandestine sexual relationship, the bed is a single not a double. It also shows no sign of having been used, nor has the bedding been disturbed in any way.

There’s a mature fire burning in the fireplace behind the woman and the lamp. There are four paintings or similar objects hanging on the walls, of which only one appears to be decipherable. This is the large rounded rectangular one above the fireplace. Although it appears to be a mirror, the image shown on it doesn’t resemble a reflection of the room’s interior, but looks to be a painting. This might show a bright figure, resembling the woman, in front of some shrubs, with classical buildings behind.

degaswomandryingherselfafterbath
Edgar Degas (1834–1917), Woman Drying Herself after the Bath (c 1885, or 1876-77), pastel over monotype, 43 × 58 cm, Norton Simon Museum, Pasadena, CA. Wikimedia Commons.

A few years later, in 1876-77, probably when Degas was starting his series depicting women drying themselves after they had bathed, he painted a woman in pastel over a monotype, where the figure is set in the broader context of a bedroom, in Woman Drying Herself after the Bath. This is a plain and simple bedroom, with a single bed and a dressing table with a mirror. Other paintings in this series are closer cropped on the woman.

lucemorninginterior
Maximilien Luce (1858–1941), Morning, Interior (1890), oil on canvas, 64.8 × 81 cm, The Metropolitan Museum of Art (bequeathed by Miss Adelaide Milton de Groot (1876–1967)), New York, NY. Courtesy of Metropolitan Museum of Art, via Wikimedia Commons.

Morning, Interior (1890) is one of Maximilien Luce’s best-known Divisionist paintings from the late nineteenth century. This is a humbler bedroom situated in the uppermost part of the house, a garret perhaps, his dressing table lacks a mirror, and the bed is a lightweight folding model with a thin mattress.

Before the end of the century, Pierre Bonnard had started painting the intimate interiors that were to dominate his art for much of the rest of his life. Few, though, depicted the bedroom he shared with his partner Marthe.

bonnardmanwoman1898
Pierre Bonnard (1867-1947), Man and Woman in an Interior (1898), oil on board, 51.5 x 62 cm, Private collection. The Athenaeum.

In 1898, Bonnard painted the first of his controversial works revealing his private life with Marthe, in Man and Woman in an Interior. He stands naked, looking away, as Marthe is getting dressed on the bed. He has also cropped this unusually, as if it was a ‘candid’ photo, enhancing its voyeurism.

vallottoninterior
Félix Vallotton (1865–1925), Interior, Bedroom with Two Figures (1904), oil on cardboard, 61.5 × 56 cm, Hermitage Museum Государственный Эрмитаж, Saint Petersburg, Russia. Wikimedia Commons.

Félix Vallotton’s disturbing domestic scenes continued with Interior, Bedroom with Two Figures from 1904. The lady of the house is standing, her back to the viewer, over her maid as the latter is sewing up an evening gown for her. The lady’s face is revealed in her reflection in the large mirror on the wardrobe at the back of the room, where her maid is all but invisible.

colliermariagedeconvenance
John Collier (1850–1934), Mariage de Convenance (1907), oil on canvas, 124 x 165 cm, Cyfarthfa Castle Museum & Art Gallery, Merthyr Tydfil, Wales. The Athenaeum.

John Collier followed Degas’ enigmatic interiors with Mariage de Convenance from 1907. A mother, dressed in the black implicit of widowhood, stands haughty, her right arm resting on the mantlepiece of her daughter’s bedroom. The latter cowers on the floor, her arms and head resting on her bed, in obvious distress. Laid out on the bed is the daughter’s wedding dress, the crux of this painting’s riddle.

vuillardlucyhesselreading
Édouard Vuillard (1868–1940), Lucy Hessel Reading (1913), oil on canvas, 100.2 x 82.9 cm, The Jewish Museum, New York, NY. Wikimedia Commons.

Édouard Vuillard’s portrait of Lucy Hessel Reading in her bedroom from 1913 needs more context. Lucy was the wife of the art dealer Jos Hessel (1859-1942), and she was a frequent model, companion and long-term lover of Vuillard. At this time, her husband was Vuillard’s sole dealer.

Just before the Second World War, Eric Ravilious painted a series of contemporary and deserted bedrooms.

raviliousbedstead
Eric Ravilious (1903–1942), The Bedstead (1939), watercolour, further details not known. Wikimedia Commons.

The Bedstead (1939), with its wide angle projection, is full of patterns: the wallpaper, floorboards and rugs, and features a mass-produced iron bedstead.

raviliousfarmhousebedroom
Eric Ravilious (1903–1942), Farmhouse Bedroom (1939), watercolour, further details not known. Wikimedia Commons.

In his Farmhouse Bedroom (1939) the patterns are overwhelming, and its projection has become so extreme that it distorts.

How iCloud can be simpler than a server

Apple provides so many services for different parts of macOS that it’s hard to keep track of them. If you want to see a short summary, this article lists all service connections for enterprise network administrators, although it doesn’t detail which services use which servers, for example referring to “macOS updates” in many entries.

Many of you seem surprised to learn that Sequoia’s new XProtect updates come from iCloud, although Apple has been using iCloud for similar purposes for at least the last five years.

One good example that’s used every day on your Mac are the notarization checks sometimes run by Gatekeeper when macOS launches executable code, such as an app. In that case, com.apple.syspolicy processes the app’s notarization ticket
looking up ticket: <private>, 2, 1
by trying to fetch its record from iCloud using CloudKit. That’s followed by log entries indicating the network access required to connect with iCloud and check the ticket. Success is reported by com.apple.syspolicy in
CKTicketStore network reachability: 1, Mon Aug 26 09:15:45 2024
looking up ticket: <private>, 2, 0

and further lookups. I first reported those checks with iCloud back in Catalina, in 2019.

A simple way to illustrate the differences between this and using the general softwareupdated service is to compare what happens in the log when you ask if there are any updates available.

softwareupdate

When SilentKnight does this, it uses the only supported method, the softwareupdate tool, as used to keep XProtect up to date in all versions of macOS prior to Sequoia. That command hands over to the softwareupdated service to run the check. That in turn uses components of com.apple.SoftwareUpdateController to summarise the update state of that Mac, connect to the Software Update Server, check all the current versions and build numbers of macOS and its ancillaries, and arrive at a list of updates required. This is even more complex than it sounds, as com.apple.SoftwareUpdateController has to check key settings such as whether the root volume is sealed or not.

You can trace this through several thousand log entries, and after around 4.4 seconds and multiple network connections, softwareupdate finally informs SilentKnight that there are no updates available.

xprotect

Running the command
sudo xprotect check
in Sequoia is far simpler and quicker, as it checks for just one component’s updates through iCloud. The command connects to XProtectUpdateService in the XprotectFramework private framework in macOS, which in turn fires up CloudKit to connect to iCloud. That fetches a database record and returns the result to XProtectUpdateService, and so back to the xprotect tool as its result. Total time taken is 0.5 second.

As Apple’s intent in changing the management of XProtect and its data appears to be to facilitate more frequent and macOS-specific updates, iCloud is an ideal platform to host this on.

Pinniped with tusks

There is, though, one last thing: what is the walrus? As that might seem an odd question, read these two log entries encountered when browsing what happened with the xprotect check command:

12:08:00.919841 com.apple.cdp XPC Error while fetching walrus status: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.cdp.daemon was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.cdp.daemon was invalidated: failed at lookup with error 3 - No such process.}
12:08:00.919845 com.apple.cloudkit CoreCDP reports that walrus is undetermined for the logged in account. Error: Error Domain=NSCocoaErrorDomain Code=4099 UserInfo={NSDebugDescription=<private>}

The prospect of an undetermined walrus that can’t be fetched from inside my Mac might seem worrying 🤭

Paintings of 1924: 2 Narrative and miscellaneous

This second collection of paintings that were made one hundred years ago, in 1924, opens with some narrative works, followed by a couple of interiors, miscellaneous works, and ends with an early sporting painting.

corinthtrojanhorse
Lovis Corinth (1858–1925), The Trojan Horse (1924), oil on canvas, 105 × 135 cm, Staatliche Museen zu Berlin, Berlin. Wikimedia Commons.

Lovis Corinth’s Trojan Horse proved to be his last major painting from classical myth, showing the wooden horse made by the Greeks to gain access to the city of Troy so they could destroy it. The city is seen in the background, with its lofty towers and impregnable walls. The select group of Greek soldiers who undertook this commando raid are already concealed inside the horse, and those around it are probably Trojans sent from the city to check it out.

Although there are suggestions of an allegorical relationship between this painting and the First World War, Troy had been a hot topic in Berlin since the excavations at Hisarlık in Turkey in the late nineteenth century by Heinrich Schliemann and Wilhelm Dörpfeld.

rousselsleepingdiana
Ker-Xavier Roussel (1867–1944), The Sleeping Diana (c 1924), oil on canvas, dimensions not known, High Museum of Art, Atlanta, GA. Wikimedia Commons.

Ker-Xavier Roussel’s Sleeping Diana uses a simpler motif of the goddess asleep under the watchful eye of one of her devotees, as a deer comes to drink at the pool between them.

sichulskibachanalia
Kazimierz Sichulski (1879–1942), Bachanale (1924), tempera on cardboard, 69 x 98 cm, Lviv National Art Gallery, Lviv, Ukraine. Wikimedia Commons.

Kazimierz Sichulski’s Bacchanal shows three naked bacchantes cavorting with Bacchus. This is set during the grape harvest, with bowls of the fruit and a couple of donkeys laden with buckets for the crop.

ivasyukriderssteppe
Mykola Ivasyuk (1865–1937), Riders on the Steppe (1924), oil on panel, 46.5 x 36.7 cm, Private collection. Wikimedia Commons.

Mykola Ivasyuk’s Riders on the Steppe is one of this Ukrainian artist’s late Cossack paintings. Two years later, Ivasyuk was appointed professor at the Kyiv Art Institute, but started to fall out of favour and was transferred to Odesa, where criticism became more serious. In the autumn of 1937, he was arrested, imprisoned, convicted of being a terrorist on the basis of his art, and was shot by a firing squad in Kyiv on 25 November 1937. Much of his art was confiscated or destroyed, and it wasn’t until 1980 that he was rehabilitated and his surviving paintings could be seen again.

vuillardreadingdiningroom
Édouard Vuillard (1868–1940), Reading in the Dining Room, Vaucresson (1924), oil on board, 39.5 x 55 cm, location not known. Wikimedia Commons.

In Édouard Vuillard’s Reading in the Dining Room, Vaucresson, Lucy Hessel has already left her husband Jos reading the newspaper at the breakfast table, and gone to busy herself in the next room. Behind this mundane domestic scene is deeper complexity: Jos and Lucy Hessel were close friends of the artist, so close that at the time of this painting Vuillard, then in his mid-fifties, and Lucy were lovers.

thorarinnartistshome
Þórarinn B. Þorláksson (1867-1924), The Artist’s Home (1924), media not known, 35 x 25 cm, location not known. Wikimedia Commons.

Until relatively recently, Icelandic society remained strongly traditional, and homes in its capital Reykjavik were still decorated in older style. Þórarinn Þorláksson’s glimpse into The Artist’s Home shows this well.

lesidanerwhitegardendusk1924
Henri Le Sidaner (1862–1939), White Garden at Dusk (1924), oil on canvas, 60 x 73.8 cm, location not known. Wikimedia Commons.

I believe that Henri Le Sidaner’s White Garden at Dusk shows a corner of the artist’s garden in the old village of Gerberoy.

liljeforsseaeagleseider
Bruno Liljefors (1860–1939), Sea Eagles Chasing an Eider (1924), oil on canvas, 125 × 160 cm, location not known. Wikimedia Commons.

The pioneer Swedish natural history painter Bruno Liljefors never lost his fascination for the relationship between predators and prey, as seen in his Sea Eagles Chasing an Eider.

zillecircusgames
Heinrich Zille (1858–1929), Circus Games (1924), coloured lithograph, dimensions and location not known. Wikimedia Commons.

By the early years of the twentieth century, circuses were an established if itinerant part of society. Children in neighbourhoods engaged in circus games, as shown so delightfully in Heinrich Zille’s lithograph Circus Games.

demuthfruitsunflowers
Charles Demuth (1883-1935), Fruit and Sunflowers (c 1924-25), watercolour over graphite on white wove paper, 45.7 x 29.7 cm, Harvard Art Museums/Fogg Museum (Louise E. Bettens Fund), Cambridge, MA. Courtesy of Harvard Art Museums/Fogg Museum.

When Charles Demuth was unwell as a result of his diabetes he sought solace in floral paintings, such as these exquisite Fruit and Sunflowers.

corinthkonigsbergermarzipantorte
Lovis Corinth (1858–1925), Königsberger Marzipantorte (Royal Marzipan Cake) (1924), oil on panel, 55.5 × 71 cm, Westfälisches Landesmuseum für Kunst und Kulturgeschichte, Münster, Germany. Wikimedia Commons.

Lovis Corinth sometimes painted purely for fun: this superb depiction of a Königsberger Marzipantorte (Royal Marzipan Cake) must have been completed at speed before his family consumed the model.

bellowsdempseyfirpo
George Bellows (1882–1925), Dempsey and Firpo (1924), oil on canvas, 129.5 × 160.7 cm, Whitney Museum of American Art, New York, NY. Wikimedia Commons.

The American artist George Bellows is perhaps best-known for his paintings and prints of boxing matches, many of them clandestine. Dempsey and Firpo, though, shows a famous historic boxing match between the heavyweights Jack Dempsey, world champion since 1919, and Luis Ángel Firpo, an Argentinian challenger. This took place in the Polo Grounds of New York City on 14 September 1923.

From the start of the first round, the fight was gripping in excitement, with Dempsey knocking Firpo down seven times. Towards the end of the first round, Dempsey was trapped against the ropes, and Firpo knocked him out of the ring, the moment shown here. Dempsey finally knocked Firpo out late in the second round. This was made from contemporary press photographs.

XProtect has changed again in macOS Sequoia 15.2

If your Mac is running macOS Sequoia version 15.2 and you keep an eye on its security data updates, you may have noticed that those have changed again. Perhaps the only way to make sense of what has happened is to understand how XProtect updates work in recent versions of macOS.

Before doing that, there are two important issues to make clear:

  • Despite their names, XProtect and XProtect Remediator are different, and in Sequoia are updated using different mechanisms. XProtect is run on-demand when macOS is about to execute code, while XProtect Remediator runs scans for malware in the background about once a day. This article is only about how XProtect updates, as XProtect Remediator is still updated using the softwareupdate mechanism, and that hasn’t changed.
  • Sequoia obtains XProtect updates through a connection to iCloud that is independent of whether your Mac is logged into your Apple Account in iCloud. So long as your Mac is connected to the internet and nothing blocks its iCloud connections, those updates will be available to it, regardless of whether it’s connected to your Apple Account or iCloud Drive. This is in common with other services that macOS relies on, such as making notarization checks on apps, and updating linguistics data and those used by AI.

macOS Sonoma and earlier

Like other security data updates including XProtect Remediator, XProtect is updated through Software Update, or the command tool softwareupdate, which is how SilentKnight obtains its updates too. Shortly after starting up, and at least daily after that, your Mac’s softwareupdated service contacts Apple’s software update servers and checks whether there are any updates available. If there are, they’ll be automatically downloaded and installed, provided that’s enabled in System Settings.

In this case, XProtect is installed in its traditional place, in /Library/Apple/System/Library/CoreServices as XProtect.bundle.

mcOS Sequoia 15.0-15.1.1

For this brief period, XProtect updates have been available using either of two methods.

The traditional method using Software Update or softwareupdate continues to install the XProtect bundle in its old location, where it could still be used, but the XProtect service in Sequoia expects to find it in a different location, in /private/var/protected/xprotect, where it’s still known as XProtect.bundle.

The new method installs the XProtect bundle directly into its new location, and doesn’t obtain it using Software Update or softwareupdated, but an undocumented service that connects to iCloud instead. That appears to activate at least once a day, independent of softwareupdated, and silently checks for XProtect updates in iCloud. When it finds one, that’s installed directly to /private/var/protected/xprotect but not the traditional location in /Library/Apple/System/Library/CoreServices. It’s therefore perfectly possible for the two XProtects to get out of sync, although the only one that Sequoia uses is that stored in the new location.

Sequoia also introduces a new command tool xprotect to help manage these new updates. If you run
sudo xprotect update
and the version of the XProtect bundle in the traditional location is greater than that in the new location, then the newer version will be copied to the new location to install it there as an update, instead of having to wait for the update through the new iCloud mechanism. This also provides redundancy, but relies on the two sources providing identical updates.

To add a final twist of confusion, if xprotect copies the XProtect bundle from the traditional to the new location, it does so by copying its contents, so its version number changes but the bundle itself retains its previous date of creation and modification, which can prove thoroughly confusing. The lesson here is to check the bundle by its version number, not by its dates.

macOS Sequoia 15.2 and later

In the latest release of Sequoia, the traditional method of updating XProtect is no longer used. If softwareupdate were to download and install an update, then it will only end up in the traditional location, and xprotect update can’t use that to update the new location.

In normal use, this means that the user can’t update XProtect until that new version is made available from iCloud. This ensures that the only versions provided to Macs running 15.2 and later are those intended to be used in Sequoia, but it also means that any delay in providing those via iCloud will leave Macs without the latest update.

Apple has modified the xprotect command to provide one let-out, though: use
sudo xprotect update --prerelease
and it “will attempt to use a prerelease update, if available.” Note that still can’t use a traditional XProtect update installed in the traditional location, and still has to be able to obtain the update from iCloud, but it might work when xprotect check and xprotect update can’t offer a new update yet. Note that Apple describes that early-bird version as prerelease, and it shouldn’t therefore be used as if it’s a regular release, and only for good reasons.

SilentKnight

Because of these changes, as of Sequoia 15.2, SilentKnight is no longer able to provide any assistance in updating XProtect, and its next version 3.0 will also be unable to do anything more useful than inform you that your current version of XProtect is up to date, or out of date. If it is out of date, then it’s up to you what you decide to do about it. In most cases, that should be to leave well alone and let macOS handle the update as it’s intended to.

Because time of release of XProtect updates through softwareupdate and iCloud differ, and vary around the world, availability from one source is no guarantee that the other will also be offering that update. For example, on 17 December, the softwareupdate version became available by about 1830 GMT. A prerelease version for 15.2 was available several hours before that, but the regular release wasn’t available from iCloud until early the following day. If Apple is intending to fork XProtect data for 15.x from those for older versions of macOS, the two update services will be offering quite different bundles anyway, as we experienced briefly in the early days of Sequoia.

Although I do periodically poll traditional softwareupdate servers for new updates, repeatedly doing so for iCloud updates doesn’t appear a good way to proceed, and could in any case be misleading. On the other hand I don’t think it’s intended that apps like SilentKnight should check for prerelease updates as a matter of course, and abuse of that option could lead to its removal. In other words, Apple wants full control over when your Mac can and will update to new versions of XProtect, presumably because Sequoia will be getting different updates in the future.

Summary

  • If your Mac hasn’t been upgraded to Sequoia, XProtect updates continue as usual, and SilentKnight will continue to be able to find and install them as it has done in the past.
  • If your Mac is running Sequoia 15.0 to 15.1.1, then it will continue to be offered XProtect updates both ways, and should continue to do so until you update it to 15.2.
  • Macs running 15.2 and later now get XProtect updates differently. Neither you nor SilentKnight can alter that, unless you want to try obtaining prerelease updates through the xprotect command in Terminal. While SilentKnight and Skint will warn you when an XProtect update is expected, you should rely on macOS to handle those updates for you.

The Real Country: Idyll

Ask anyone who has lived in the country and they’ll recall its idyllic moments. To end this series, I celebrate a few of those in paintings from the turn of the nineteenth to twentieth centuries.

kuznetsovcelebration
Mykola Kuznetsov (1850-1929), In Celebration (1879-81), oil on canvas, 55 x 98 cm, Tretyakov Gallery Государственная Третьяковская галерея, Moscow, Russia. Wikimedia Commons.

This Ukrainian farm labourer is caught relaxing for a moment in the sun and flowers of early summer in Mykola Kuznetsov’s early In Celebration (1879-81).

segantiniploughing
Giovanni Segantini (1858–1899), Ploughing (1890), oil on canvas, 117.6 x 227 cm, Neue Pinakothek, Munich, Germany. Image © Ad Meskens, via Wikimedia Commons.

The pair of ploughmen in Giovanni Segantini’s Ploughing may not have had time to study the fine mountain views near the Alpine village of Savognin, but they and the other labourers in the right distance are enjoying the fine weather.

segantinihighnoonalps
Giovanni Segantini (1858–1899), High Noon in the Alps (1892), oil on canvas, 86 x 80 cm, Ohara Museum of Art 大原美術館, Kurashiki, Japan. Wikimedia Commons.

A couple of years later, Segantini’s High Noon in the Alps (1892) catches this shepherdess enjoying a brief break in her work, in the intense summer sunshine of the high plateau.

dagnanbouveretinforest
Pascal Dagnan-Bouveret (1852–1929), In the Forest (1893), oil on canvas, dimensions not known, Musée des beaux-arts de Nancy, Nancy, France. Image by G.Garitan, via Wikimedia Commons.

Pascal Dagnan-Bouveret shows that even itinerant workers could sit together and eat to the music of a violin when living In the Forest in 1893. Behind them are two oxen, and the forest that’s currently their home.

axentowiczfolkdance
Teodor Axentowicz (1859–1938), Kołomyjka, Oberek Taniec ludowy przed domem (Oberek Folk Dance in Front of a House) (1895), oil on canvas, 85 x 112.5 cm, Muzeum Narodowe w Warszawie, Warsaw, Poland. Wikimedia Commons.

In Poland, Teodor Axentowicz’s painting of Oberek Folk Dance in Front of a House from 1895 shows locals dancing the second most popular Polish folk dance after the polka. Most of these dancers are barefoot.

stottpeacefulrest
Edward Stott (1855–1918), Peaceful Rest (c 1902), oil on canvas, 60.5 x 81 cm, Private collection. Wikimedia Commons.

Edward Stott’s shepherd has stolen a moment of Peaceful Rest as his small flock drinks from a pond. He’s lighting a clay tobacco pipe, with his crook resting on his leg. Most of the painting uses a limited palette, with three splashes of colour standing out: the man’s face lit by the flame, the watchful sheepdog behind him, and a blue object protruding from the man’s jacket pocket.

bastienlepagelovevillage
Jules Bastien-Lepage (1848–1884), Love in the Village (1882), oil on canvas, 194 × 180 cm, Pushkin Museum of Fine Arts Музей изобразительных искусств им. А.С. Пушкина, Moscow, Russia. Wikimedia Commons.

Jules Bastien-Lepage’s Love in the Village shows a young couple on either side of a tumbledown fence, chatting intimately among the vegetable patches.

Idyllic moments indeed, but what happens in the country is often a far cry from the town.

astrupfjosfrieri
Nikolai Astrup (1880–1928), Fjøsfrieri (Early Courting) (1904), oil, dimensions not known, Private collection. Wikimedia Commons.

Nikolai Astrup’s humorous painting of Early Courting from 1904 shows a young couple at the far left engaged in ‘clothed courting’ in the unromantic surroundings of a cowshed. He has a bottle of drink in his pocket; whether that’s to give him courage or to weaken the resistance of his girlfriend is unclear.

The couple have sought the privacy of the cowshed, out of everyone’s way, but the boyfriend appears unaware that they’re being watched by someone up in the roof. From the apparent direction of gaze of the girlfriend and the blush on her cheeks, she has just noticed the peeping tom or watchful relative. The setting is enhanced by the sunlight pouring through the far window, illuminating two rows of the back-ends of cows. The wood floor between the cows appears to be decorated with small sketches, but those are actually piles of cow dung. Courting in the country must have been a sensorily rich experience.

Is it worth storing Time Machine backups on a faster drive?

Folk wisdom is that there’s little point in wasting a faster drive to store your Time Machine backups, because when those backups are made, their write speed is throttled by macOS. This article considers how true that might be, and what benefits there might be to using faster solid-state storage.

I/O Throttling

Documentation of I/O policy is in the man page for the getiopolicy_np() call in the Standard C Library, last revised in 2019, and prevailing settings are in sysctl’s debug.lowpri_throttle_* values. These draw a distinction between I/O to local disks, being “I/O sent to the media without going through a network” such as I/O “to internal and external hard drives, optical media in internal and external drives, flash drives, floppy disks, ram disks, and mounted disk images which reside on these media”, and those to “remote volumes” “that require network activity to complete the operation”. The latter are “currently only supported for remote volumes mounted by SMB or AFP.”

Inclusion of remote volumes is a relatively recent change, as in the previous version of this man page from 2006, they were explicitly excluded as “remote volumes mounted through networks (AFP, SMB, NFS, etc) or disk images residing on remote volumes.”

Five policy levels are supported:

  • IOPOL_IMPORTANT, the default, where I/O is critical to system responsiveness.
  • IOPOL_STANDARD, which may be delayed slightly to allow IOPOL_IMPORTANT to complete quickly, and presumably referred to in sysctl as Tier 1.
  • IOPOL_UTILITY, for brief background threads that may be throttled to prevent impact on higher policy levels, in Tier 2.
  • IOPOL_THROTTLE, for “long-running I/O intensive work, such as backups, search indexing, or file synchronization”, that will be throttled to prevent impact on higher policy levels, in Tier 3.
  • IOPOL_PASSIVE, for mounting files from disk images, and the like, intended more for server situations so that lower policy levels aren’t slowed by them.

However, the idea that throttled I/O is intentionally slowed at all times isn’t supported by the explanation of how throttling works: “If a throttleable request occurs within a small time window of a request of higher priority, the thread that issued the throttleable I/O is forced to a sleep for a short period. This slows down the thread that issues the throttleable I/O so that higher-priority I/Os can complete with low-latency and receive a greater share of the disk bandwidth.”

Settings in sysctl for Tier 3 give the window duration as 500 milliseconds, and the sleep period as 200 ms, except for SSDs, whose sleep period is considerably shorter at just 25 ms. Those also set a maximum size for I/O at 131,072 bytes. You can view those settings in the debug section of Mints’ sysctl viewer.

Some years ago, it was discovered that the user can globally disable IOPOL_THROTTLE and presumably all other throttling policy with the command
sudo sysctl debug.lowpri_throttle_enabled=0
although that doesn’t persist across restarts, and isn’t documented in the man page for sysctl. This is provided in an option in St. Clair Software’s App Tamer, to “Accelerate Time Machine backups”, for those who’d rather avoid the command line.

Performance checks

Before each Time Machine backup starts, backupd runs two checks of disk performance, by writing one 50 MB file and 500 4 KB files to the backup volume, reported in the log as
Checking destination IO performance at "/Volumes/ThunderBay2"
Wrote 1 50 MB file at 286.74 MB/s to "/Volumes/ThunderBay2" in 0.174 seconds
Concurrently wrote 500 4 KB files at 23.17 MB/s to "/Volumes/ThunderBay2" in 0.088 seconds

With normal throttling in force, there’s surprisingly wide variation that appears only weakly related to underlying SSD performance, as shown in the table below.

tmbackupssds2

Results from the three first full backups are far greater than those for subsequent automatic backups, with single-file tests recording 900-1100 MB/s, and multi-file tests 75-80 MB/s. Routine backups after those ranged from 190-365 MB/s and 3-32 MB/s, less than half. Most extraordinary are the results for the OWC Express 1M2 enclosure when used with an M3 Pro: on the first full backup, the 50 MB test achieved 910 MB/s, but an hour later during the first automatic backup that fell to 191 MB/s.

tmfirstbackup

Evidence suggests that in macOS Sequoia, at least, first full backups may now run differently, and make more use of P cores, as shown in the CPU History window above. In comparison, automatic backups are confined to the E cores. However, the backup itself still runs at a tenth of the measured write speed of the SSD.

Time Machine runs the first full backup as a ‘manual backup’ rather than scheduling it through the DAS-CTS dispatching mechanism. It’s therefore plausible that initial backups aren’t run at a Background QoS, so given access to P cores, and at a higher I/O throttling policy than IOPOL_THROTTLE, so being given higher priority access to I/O.

Changing policy

When tested here previously, disabling throttling policy appeared to have little effect on Time Machine’s initial performance checks, but transfer rates during backups were as much as 150% of those achieved when throttling policy was in force.

The big disadvantage of completely disabling throttling policy is that this can only be applied globally, so including I/O for Spotlight indexing, file synchronisation, other background tasks and those needing high-priority access to I/O. Leaving the policy disabled in normal circumstances could readily lead to adverse side-effects, allowing Spotlight indexing threads to swamp important user storage access, for example.

SSD or hard disk?

Despite wide variation in test results, all those for the 50 MB file were far in excess of the highest write speed measured for any equivalent hard disk at 148 MB/s (for the outer disk). Overall backup speeds for the first full backup to a USB4 SSD were also double that hard disk write speed. When throttling does occur, the period of sleep enforced on writes to a hard disk is eight times longer than that for an SSD, making the impact of I/O throttling greater for a hard drive than an SSD.

Another good reason for preferring SSD rather than hard disk storage is the use of APFS, and its tendency over time to result in severe fragmentation in the file system metadata on hard disks. Provided that an SSD has Trim support it should continue to perform well for many years.

Conclusions

  • macOS applies throttling policies on I/O with both local and networked storage to ensure that I/O-intensive tasks like backing up don’t block higher priority access.
  • Disabling those policies isn’t wise because of its general effects.
  • Those policies use different settings for I/O to SSDs from those for other types of storage to allow for their different performance.
  • First full backups to SSD appear to run at higher priority to allow them to complete more quickly.
  • As a result, effective write speeds to SSDs during Time Machine backups are significantly faster than could be achieved to hard disks.
  • When the consequences of using APFS on hard disks are taken into account, storing Time Machine backups on SSD has considerable advantages in terms of both speed and longevity.

Apple has just released updates to XProtect and XProtect Remediator

Apple has just released updates to XProtect for all supported versions of macOS, bringing it to version 5284, and to XProtect Remediator for all macOS from Catalina onwards, to version 149. As usual, Apple doesn’t release information about what security issues these updates might add or change.

Yara definitions in this version of XProtect augment existing rules for dylibs in MACOS.ADLOAD, and add 2 new rules for MACOS.DOLITTLE, 1 for MACOS.PIRRIT, 5 for MACOS.BUNDLORE and 5 for MACOS.ADLOAD.

XProtect Remediator adds a new scanner module for Bundlore. There are no changes to Bastion rules for the behavioural version of XProtect (Ventura and later).

You can check whether this update has been installed by opening System Information via About This Mac, and selecting the Installations item under Software.

A full listing of security data file versions is given by SilentKnight, LockRattler and SystHist for El Capitan to Sequoia available from their product page. If your Mac hasn’t yet installed this update, you can force it using SilentKnight, LockRattler, or at the command line.

If you want to install these as named updates in SilentKnight, their labels are XProtectPayloads_10_15-149 and XProtectPlistConfigData_10_15-5284.

For Sequoia 15.2 and later only: XProtect updates are no longer supplied through Software Update, softwareupdate, or SilentKnight. The only way that your Mac can obtain XProtect updates is through a connection to iCloud, which is supposed to happen automatically. If your Mac hasn’t yet been updated to version 5284, you can try using the Terminal command
sudo xprotect update --prerelease
(with a double hyphen not an m-dash)
That should download and install this update even though it hasn’t yet been generally released through iCloud.

For Sequoia 15.1.1 and earlier only: this update hasn’t yet appeared in iCloud, which may still return an XProtect version of 5283. If you download and install it using Software Update, softwareupdate or SilentKnight, then once that’s complete you need to update the primary XProtect bundle in Terminal using the command
sudo xprotect update
then entering your admin password. If you’re unsure what to do, this article explains it comprehensively and simply.

I have updated the reference pages here which are accessed directly from LockRattler 4.2 and later using its Check blog button.

I maintain lists of the current versions of security data files for Sequoia on this page, for Sonoma on this page, Ventura on this page, Monterey on this page, Big Sur on this page, Catalina on this page, Mojave on this page, High Sierra on this page, Sierra on this page, and El Capitan on this page.

[Updated blind-guessing the changes in 15.2, at 2030 GMT 17 December 2024.]

Reading visual art: 180 The holly and the ivy

The association between two plants, holly and ivy, with the feast of Christmas appears peculiarly British, and best expressed in the traditional carol The Holly and the Ivy. Apparently, holly has been a symbolic reference to Jesus Christ since the Middle Ages, now explained by its red berries representing the drops of blood of the crucifixion, and the crown of thorns worn by Jesus. Ivy then forms a symbolic reference to Christ’s mother, the Virgin Mary.

This is seen in cameo in two paintings by British artists of the nineteenth century.

rossettichristmascarol
Dante Gabriel Rossetti (1828–1882), A Christmas Carol (1867), oil on panel, 45.5 x 38 cm, Private collection. Wikimedia Commons.

Dante Gabriel Rossetti painted a couple of works on and about Christmas, of which A Christmas Carol from 1867 is probably the more interesting. His model is Ellen Smith, described as a ‘laundry girl’, who is dressed in items from the artist’s collection. There are several allusions to Christmas, particularly the Virgin and Child just above the model’s face, and a sprig of holly with its red berries at the end of her musical instrument.

andersonchristmastime
Sophie Gengembre Anderson (1823–1903), Christmas Time – Here’s The Gobbler! (date not known), oil on canvas, 112 × 84 cm, Private collection. Wikimedia Commons.

Sophie Gengembre Anderson’s undated Christmas Time – Here’s The Gobbler! includes a larger spray of holly on the wall at the top right.

Otherwise, holly is only exceptionally identifiable in paintings, and the only reference I have found is in a single work by James Tissot, where it appears together with ivy, but not in reference to Christmas.

tissotfarewell
James Tissot (1836–1902), The Farewells (1871), oil on canvas, 100.3 x 62 cm, Bristol Museums and Art Gallery, Bristol, England. Wikimedia Commons.

Tissot painted The Farewells soon after his flight to London following the Franco-Prussian War and Paris Commune. This couple, separated by the iron rails of a closed gate, are in late eighteenth century dress. The man stares intently at the woman, his gloved left hand resting on the spikes along the top of the gate, and his ungloved right hand grasps her left. She plays idly with her clothing with her other hand, and looks down, towards their hands.

Reading her clothing, she is plainly dressed, implying she is perhaps a governess. A pair of scissors suspended by string on her left side would fit with that, and they’re also symbols of the parting taking place. This is reinforced by the autumn season, and dead leaves at the lower edge of the canvas. However, there is some hope if its floral symbols are accurate: ivy in the lower left is indicative of fidelity and marriage, while holly at the right invokes hope and passion.

Ivy has longer and more extensive traditions throughout European painting, although it too is only exceptionally identifiable.

In mythology, a thyrsus or thyrsos is a form of staff or even spear decorated with plant matter. In its strictest form, it should be a wand made from the giant fennel plant, decorated with ivy leaves and tipped with a pine cone or artichoke. It’s almost invariably an attribute of the god Dionysus (Roman Bacchus), and his devotees, maenads or bacchantes. It’s thus associated with prosperity, fertility and their over-indulgence in the form of hedonism. In the extreme, it can be tipped with a metal point and used as a club.

carraccibacchusariadne
Annibale Carracci (1560–1609), Triumph of Bacchus and Ariadne (1597-1602), fresco, Palazzo Farnese, Rome. Wikimedia Commons.

Annibale Carracci’s Triumph of Bacchus and Ariadne (1597-1602) is a marvellous fresco on a ceiling in the Palazzo Farnese in Rome. Dionysus is sat in his chariot with his thyrsus, here a long staff wound with ivy leaves but without any tip. Although a feature of many other paintings, this is one of very few decorated with ivy.

Ivy also makes an appearance in a not dissimilar painting with open narrative, this time by Philip Hermogenes Calderon in 1856.

Broken Vows 1856 by Philip Hermogenes Calderon 1833-1898
Philip Hermogenes Calderon (1833–1898), Broken Vows (1856), oil on canvas, 91.4 x 67.9 cm, The Tate Gallery (Purchased 1947), London. © The Tate Gallery and Photographic Rights © Tate (2016), CC-BY-NC-ND 3.0 (Unported), http://www.tate.org.uk/art/artworks/calderon-broken-vows-n05780

Calderon’s Broken Vows is an early ‘problem picture’. A beautiful young woman, displaying her wedding ring, stands with her eyes closed, clutching a symbolic ‘heart’ area on her chest to indicate that her love life is in trouble. On the ground near the hem of her dress is a discarded necklace or ‘charm’ bracelet. The ivy-covered wall behind her would normally indicate lasting love, which was her aspiration.

A set of initials are carved on the fence, and on the other side a young man holds a small red flower in front of his forehead, which a young woman is trying to grasp with her right hand. The wooden fence appears tatty, and has holes in it indicating its more transient nature, and affording glimpses of the couple behind, but only tantalisingly small sections of their faces.

Calderon here deliberately introduces considerable ambiguity. The eyes of the shorter person behind the fence are carefully occluded, leaving their gender open to speculation. Most viewers are likely to conclude that the taller figure behind the fence is the unfaithful husband of the woman in front, but that requires making assumptions that aren’t supported by visual clues. Whose vows are being broken? Calderon invites us to speculate.

Like laurel, ivy can also be worked into a crown.

pradillaortizfluteplayer
Francisco Pradilla Ortiz (1848–1921), Muchacho flautista coronado de hiedra (Flute Player Crowned with Ivy) (1880), watercolour on paper, 71 x 45 cm, location not known. Wikimedia Commons.

Francisco Pradilla’s watercolour of A Flute Player Crowned with Ivy is a delightful example from 1880. But it took Pierre Puvis de Chavannes to envisage ivy being used instead of a length of rope.

puvisfantasy
Pierre Puvis de Chavannes (1824–1898), Fantasy (1866), oil on canvas, 263.5 x 148.5 cm, Ohara Museum of Art 大原美術館, Kurashiki, Japan. Wikimedia Commons.

In Puvis’ Fantasy from 1866, one of the two people in this idyllic wooded landscape is using a length of ivy to school a winged white horse, either Pegasus or a hippogriff.

Although seldom clearly identifiable in landscape paintings of trees, one of Paul Nash’s last conventional landscapes is an exception.

nashpoxenbridgepond
Paul Nash (1892–1946), Oxenbridge Pond (1927-28), oil on canvas, 99.7 x 87.6 cm, Birmingham Museums and Art Gallery, Birmingham, England. The Athenaeum.

Oxenbridge Pond from 1927-28 shows a pond at Oxenbridge Farmhouse, Iden, not far from the artist’s home. Patterns of brushstrokes are assembled into the textures of foliage, ivy covering a tree-trunk, even the lichens and moss on the trunk closest to the viewer, at the right edge.

Reference

Wikipedia on the carol The Holly and the Ivy.

Tune for Performance: Core types

When running apps on Intel Macs, because all their CPU cores are identical, the best you can hope for is that tasks make use of the number of cores available by running in multiple threads. Even single-threaded processes running on Apple silicon Macs get a choice of CPU core type, and this article explains the limited control you have over that.

m4coremanagement1

In my current model of CPU core allocation by macOS, shown in part above, Quality of Service (QoS) is the factor determining which core type a thread will be allocated to. QoS is normally hard-coded into an app, and seldom exposed to the user’s control.

If a thread is assigned a minimal QoS of Background (value 9), or less, then macOS will allocate it to be run on E cores, and it won’t be run on a P core. With a higher QoS, macOS allocates it to a P core if one is available; if not, then it will be run on E cores, with that cluster running at high frequency. Thus, threads with a higher QoS can be run on either P or E cores, depending on their availability.

taskpolicy

There are times when you might wish to accelerate completion of threads normally run exclusively on E cores. For example, knowing that a particular backup might be large, you might elect to leave the Mac to get on with that as quickly as possible. There are two methods that appear intended to change the QoS of processes: the command tool taskpolicy, and its equivalent code function setpriority().

Experience with using those demonstrates that, while they can be used to demote threads to E cores, they can’t promote processes or threads already confined to E cores so that they can use both types. For instance, the command
taskpolicy -B -p 567
that should promote the process with PID 567 to run on both types of core, has no effect on processes or their threads that are run at low QoS. taskpolicy can be used to demote processes and their threads with higher QoS to use only E cores, though. Running the command
taskpolicy -b -p 567
does confine all threads to the E cluster, and can be reversed using the -B option for threads with higher QoS (but not those set to low QoS by the process).

qoscores1

That can be seen in this CPU History window from Activity Monitor. An app has run four threads, two at low QoS and two at high QoS. In the left side of each core trace they are run on their respective cores, as set by their QoS. The app’s process was then changed using taskpolicy -b and the threads run again, as seen in the right. The two threads with high QoS are then run together with the two with low QoS in the four E cores alone.

The best way to take advantage of this ability to demote high QoS threads to run them on E cores is in St. Clair Software’s excellent utility App Tamer.

Virtualisation

macOS virtual machines running on Apple silicon chips are automatically assigned a high QoS, and run preferentially on P cores. Thus, even when running threads at low QoS, those are run within threads on the host’s P cores. This remains the only known method of electively running low QoS threads on P cores.

Game Mode, CPU cores

In the Info.plist of an application, the developer should assign that app to one of the standard LSApplicationCategoryTypes. If that’s one of the named game types, macOS automatically gives that app access to Game Mode. Among its benefits are “highest priority access” to the CPU cores, in particular the E cores, whose use by background threads is reduced. Other benefits include highest priority access to the GPU, and doubled Bluetooth sampling rate to reduce latency for input controllers and audio output. Game Mode is automatically turned on when the app is put into full-screen mode, and turned off when full-screen mode is stopped, although the user also has manual control through the mode’s item in the menu bar.

In practice, while this is beneficial to many games, it has little if any use for modifying core type allocation in other circumstances. As the user can’t modify an app’s Info.plist without breaking its signature and notarization, this is only of use to developers.

Summary

  • The QoS assigned by an app to its threads is used by macOS to determine which core type to allocate them to.
  • Threads with a low (Background, 9) QoS are run exclusively on E cores. Those with higher QoS are run preferentially on P cores, and normally only on E cores when no P core is available.
  • App Tamer and taskpolicy can be used to demote higher QoS threads to be run on E cores, but low QoS threads can’t be promoted to be run on P cores.
  • macOS VMs run on P cores, so low QoS threads running in a VM will be run on P cores, and can be used to accelerate Background threads.
  • Game Mode gives games priority access to CPU cores, particularly to E cores, but users can’t elect to run other apps in Game Mode, and there don’t appear to be benefits in doing so.
  • If you feel an app would benefit from user control over CPU core type allocation through access to their QoS, suggest it to the app’s developer.

Explainer

Quality of Service (QoS) is a property of each thread in a process, and normally chosen from the macOS standard list:

  • QoS 9 (binary 001001), named background and intended for threads performing maintenance, which don’t need to be run with any higher priority.
  • QoS 17 (binary 010001), utility, for tasks the user doesn’t track actively.
  • QoS 25 (binary 011001), userInitiated, for tasks that the user needs to complete to be able to use the app.
  • QoS 33 (binary 100001), userInteractive, for user-interactive tasks, such as handling events and the app’s interface.

There’s also a ‘default’ value of QoS between 17 and 25, an unspecified value, and in some circumstances you might come across others.

Changing Paintings: 50 The making of myrrh and birth of Adonis

Ovid’s sequel to the story of Pygmalion’s marriage to his former statue is a darker tale of incest, transformation, and obstetrics in the arboretum, resulting in myrrh and the unique birth of Adonis.

Pygmalion’s great granddaughter Myrrha was cursed by the Fates and blighted in love. Although she had many suitors, she fell in love with her father, King Cinyras. Ovid relates her long soliloquy in which she wrestles with her own mind over this. When her father asked her what to do about her suitors, she first stayed silent, then burst into tears, eventually confessing that she wanted a husband like her father.

That night she lay awake in bed, her mind in turmoil, until resolving that her only solution was suicide. She tied a noose around a beam in her bedroom, and was just about to hang herself from it when her old nurse came in. Eventually, Myrrha confessed to her shameful desire, and her nurse promised to arrange the matter for her.

When the festival of Ceres came, Cenchreis, Myrrha’s mother, was busy with her duties, allowing the nurse to arrange Myrrha’s liaison with her father. The nurse ensured that Cinyras had plenty to drink, and promised him a night making love to a girl as young as his daughter. Later that night, the nurse took Myrrha to her father, and put her to bed with him, making her pregnant. Myrrha and her father continued to sleep together night after night, Cinyras still oblivious of who his partner really was. Eventually, he brought in a lamp so that he could see her, and was shocked to discover his own daughter.

He drew his sword to kill her, but she fled and wandered in the desert until it was time for her child to be born. Myrrha then called on the gods to help her, but wanted to neither live nor die. She was transformed into a myrrh tree, providing the precious resin myrrh from the sap generated from her tears of grief.

Adonis, the child who had been growing within her, was then delivered by Lucina, goddess of childbirth, and laid on soft leaves by the Naiads to be anointed with his mother’s myrrh.

anonbirthadonis
Artist not known, Birth of Adonis (date not known), fresco from the Golden House of Nero in Rome, dimensions not known, Ashmolean Museum, Oxford, England. Image by Carole Raddato, via Wikimedia Commons.

This classical fresco from the Golden House of Nero in Rome shows Lucina presenting Venus, who stands clutching the top of a myrrh tree, with the newborn Adonis.

titianbirthadonis
Titian (1490–1576), The Birth of Adonis (c 1505-10), oil on cassone panel, 35 x 162 cm, , Musei civici di Padova, Padua, Italy. Wikimedia Commons.

Possibly one of Titian’s earliest works, although this is disputed and even Giorgione has been credited, this cassone panel of The Birth of Adonis probably dates from 1505-10. At the left, Myrrha and her father Cinyras lie together, although this would of course make certain his knowledge of her identity. In the centre, a baby is delivered from the woody womb of Myrrha as a tree, in multiplex narrative.

luinibirthadonis
Bernardino Luini (c 1480/82-1532), The Birth of Adonis (1509-10), fresco transferred to panel, 135 x 235 cm, Villa Rabia “La Pelucca”, Milan, Italy. Wikimedia Commons.

At about the same time, Bernardino Luini painted his fresco account of The Birth of Adonis (1509-10), which also adopts multiplex narrative to explain the origin of Myrrha’s pregnancy. In the foreground, the couple are shown together, and at the top left the miraculous birth has just taken place. In an alternative reading, the couple in the foreground could be Adonis as a young man, with the goddess Venus as his lover.

garzibirthadonis
Luigi Garzi (after) (1638-1721), The Birth of Adonis and Transformation of Myrrha (date not known), oil on panel, dimensions not known, The Wellcome Library, London. Courtesy of Wellcome Library, via Wikimedia Commons.

Over a century later, this wonderful panel was painted, showing The Birth of Adonis and Transformation of Myrrha. This was possibly after Luigi Garzi, although again its origin remains disputed. Reference to Myrrha’s dark past has been concealed, and she is here shown as a chimera between woman and tree, with the infant Adonis just delivered by a whole team of midwives and maids. The helper at the right wears a coronet with the crescent moon on it, signifying the goddess Diana. On the left side of the tree, one of the other helpers is holding up a tray with a small container of myrrh to anoint Adonis. In the foreground, a wingless putto is laying out a napkin for the infant.

One artist painted this story repeatedly: Marcantonio Franceschini, a Baroque painter in the Italian city of Bologna.

franceschinibirthadonisdresden
Marcantonio Franceschini (1648–1729), The Birth of Adonis (c 1685-90), oil on copper, 48.5 × 69 cm, Gemäldegalerie Alte Meister, Staatliche Kunstsammlungen Dresden, Dresden, Germany. Wikimedia Commons.

This version of Franceschini’s The Birth of Adonis probably dates from around 1685-90, and is now in Dresden. Myrrha is a distinctive cross between tree and woman, and a couple of satyrs are laughing in the bushes behind her. Two young women are rather pointedly looking in amazement at the origin of Myrrha’s baby. In the centre, Adonis is being given by Diana, with her crescent moon, to Venus, who stars in his later life, and is already admiring his beauty.

franceschinibirthadonisvienna
Marcantonio Franceschini (1648–1729), The Birth of Adonis (c 1692-1709), oil, dimensions not known, Kunstmuseum Liechtenstein, Vienna, Austria. Wikimedia Commons.

Franceschini’s later version from around 1692-1709 is now in Vienna, and arranges a similar composition into vertical format. Here Diana is handing Adonis over to another goddess, possibly Venus, who is preparing to assume the role of wet-nurse. Behind them, the two women looking in amazement appear to be less anatomically engaged, and Pan and a satyr are providing some celebratory music. The napkin-bearing putto is here a winged Cupid.

Apart from a slightly later painting by Boucher, which I have been unable to illustrate here, those seem to have been the last paintings of this disturbing story of the origins of myrrh and Adonis, until recently.

metztransformationmyrrh
Rafael Metz (dates not known), The Transformation of Myrrh and the Birth of Adonis (2006), further details not known. Wikimedia Commons.

Contemporary artist Rafael Metz’s The Transformation of Myrrh and the Birth of Adonis (2006) shows only the final part of the story, as the infant is being cradled by another woman, under the chimeric tree of Myrrha with its ornate and decorative branches. Myrrh resin is already exuding from the bark.

Solutions to Saturday Mac riddles 286

I hope that you enjoyed Saturday’s Mac Riddles, episode 286. Here are my solutions to them.

1: Keeps an eye on exercise for checking 2, 3, memory and more.

Click for a solution

Activity Monitor

Keeps an eye on (monitor) exercise (activity) for checking 2, 3, memory and more (what Activity Monitor does).

2: Champion’s reward in disarray for the heart of your Mac, shown in 1.

Click for a solution

CPU

Champion’s reward (a cup) in disarray (rearranged to cpu) for the heart of your Mac (its CPU), shown in 1 (it is).

3: Endless high status in hiding place for treasure can be shown in 1.

Click for a solution

Cache

Endless high status (cachet without the last letter) in hiding place for treasure (a cache) can be shown in 1 (when Content Caching service is enabled, it’s one of the tabs or panes in Activity Monitor).

The common factor

Click for a solution

The latter two are tabs or views in the first.

I look forward to your putting alternative cases.

Are sparse bundles faster than disk images?

Following tests over two years ago, I recommended the use of sparse bundles (UDSB) rather than plain UDIF read-write (UDRW) disk images, because of their faster and more consistent performance. Since then, read-write disk images have adopted a sparse file format, making them more space-efficient. However, their write performance has remained substantially lower than sparse bundles, and the latter remain the preferred format.

More recent performance tests have confirmed this in Sequoia, as shown in the table below.

xferdiskimage24

Most recently, tests of file compression showed relatively poor performance within a sparse bundle, with overall compression speed only 57% that of the SSD hosting the bundle despite apparently good write speeds. This article explores why, and whether that should alter choice of disk images.

Consistency in write speed

As previous articles note, inconsistent performance troubles disk images. Because of their complex bundle structure and storage across thousands of band files, it’s important to consider whether this poor performance is merely a reflection of that inconsistency.

sparsebundlewritesp0

The original Stibium write speed measurements, separated out from the collation shown in that recent article, show more dispersion about the regression line than other tests. As those are based on a limited number of file sizes, a total of 130 write speed measurements were performed using file sizes ranging from 4.4 MB to 3.0 GB, 50 of them being randomly chosen.

sparsebundlewritesp1

Those confirm that some individual write speeds are unexpectedly low, and dispersion isn’t as low as hoped for, but don’t make inconsistency a plausible explanation.

Band size

Unlike other types of disk image, data saved in sparse bundles is contained in many smaller files termed bands, and the maximum size of those band files can be set when a sparse bundle is created. By default, band size is set at 8.4 MB and there are only two ways to use a custom size, either when creating the sparse bundle using the command hdiutil create or in my free utility Spundle. Although those allow you to set a preferred band size, the size actually used may differ slightly from that.

Band size could have significant effects on the performance and stability of sparse bundles, as it determines how many band files are used to store data. Using a size that results in more than about 100,000 band files has in the past (with HFS+ at least) made sparse bundles prone to failure.

To assess the effect of different band sizes on compression rate, I therefore repeated exactly the same test file compression in sparse bundles with 12 band sizes ranging from 2.0 to 1020 MB, as measured rather than the value set.

sparsebundlebandstime

In the graph above, time to complete the compression task is shown for each of the band sizes tested, and shows a minimum time (fastest compression) at a band size of 15.4 MB, of about 8.3 seconds, significantly lower than the 11.08 seconds at the default of 8.4 MB. Band sizes between 2.0-8.4 MB showed little differences, but increasing band size to 33.8 MB and greater resulted in much slower compression.

sparsebundlebandsrate

When expressed as compression rates, peak performance at a band size of 15.4 MB is even clearer, and approaches 1.9 GB/s, more than twice that of a read-write disk image, but still far below rates in excess of 2.6 GB/s found for the USB4 and internal SSDs. With band sizes above 33.8 MB, compression rates fall below those of a read-write disk image.

Another way of looking at optimum band size is to convert that into the number of band files required. Fastest rates were observed here in sparse bundles that would have about 6,000-7,000 bands in total when the sparse bundle is full, and in this case with 2,000-2,300 band files in use. Performance fell when the maximum number of band files fell below 3,000, or those in use fell below 1,000.

Streaming

Compression tests impose different demands on storage from conventional read or write benchmarks because file data to be compressed is streamed by reading data from storage, and writing compressed data out to the same storage device. Although source and destination are separate files, allowing simultaneous reading and writing, if those files are stored in common band files, it’s likely that access has to be limited and can’t be simultaneous.

As observed here, that’s likely to result in performance substantially below that expected from single-mode transfer tests. Unfortunately, it’s also extremely difficult to measure attempts to simultaneously read and write from different files in the same storage medium.

Conclusions

  • Sparse bundles (UDSB) remain generally faster in use than read-write (UDRW) disk images.
  • Sparse bundle performance is sensitive to band size.
  • Default 8.4 MB bands aren’t fastest in all circumstances.
  • When sparse bundle performance is critical, it may be worth optimising band file size instead of using the default.
  • Tasks that stream data from and back to the same storage are likely to run more slowly in a sparse bundle than on its host storage.

Previous articles

Dismal write performance of Disk Images
Which disk image format?
Disk Images: Performance

Commemorating the centenary of the death of Henri Jules Jean Geoffroy, painter of childhood

A century ago today, 15 December, the French artist Henri Jules Jean Geoffroy died in Paris. Also known by his pen name of Géo, he is one of the great painters of children and childhood in the European canon.

Geoffroy was born the son of a tailor in Marennes, on the west coast of France, half way up the Bay of Biscay. He went to study in Paris, probably at the École des Beaux Arts in about 1871, where he’s claimed to have been a pupil of Léon Bonnat and others, although Bonnat didn’t become a professor there until 1882.

He first exhibited at the Salon in 1874, when he was just 21. From 1876, he undertook commissions to illustrate books about childhood and youth for the publisher Pierre-Jules Hetzel (1814-86), who also published the work of Gustave Doré, and discovered the author Jules Verne. Despite this promising start, Geoffroy doesn’t seem to have achieved much artistic recognition until the mid 1880s, by which time he signed himself simply as Géo.

geoffroyjeanvaljeancosette
Henri Jules Jean Geoffroy (1853–1924), Jean Valjean and Cosette (1879-1882), oil on canvas, dimensions not known, Maison de Victor Hugo, Paris. Wikimedia Commons.

Around 1879-1882, Geoffroy painted this work showing a well-known scene from Victor Hugo’s Les Miserables, of Jean Valjean and Cosette. This shows the hero Valjean when he arrives in Montfermeil on Christmas Eve and discovers young Cosette fetching a pail of water for her abusive guardians the Thénardiers, early in the novel.

geoffroywhobreaksglasspays
Henri Jules Jean Geoffroy (1853–1924), Whoever Breaks the Glass Pays for It (1881), further details not known. Wikimedia Commons.

He followed that with Whoever Breaks the Glass Pays for It in 1881. This shows a group of three young boys who have apparently broken a glass from a street café. The boy at the right is pointing down at the fragments of glass on the ground, and looking daggers at the other two. He is being admonished by the street vendor whose glass has been broken, and has been told that he has to pay for the damage. Geoffroy gives subtle insight into the social background in the children’s clothing: the apparently uninvolved boy at the left wears clean and fancy boots, while the one at the right who is assumed to be the miscreant wears worn and dirty clothing and footwear.

geoffroysnacktime
Henri Jules Jean Geoffroy (1853–1924), Snack Time (1882), oil on canvas, 98 x 131 cm, Private collection. The Athenaeum.

By 1882, Geoffroy had entered the schools where he was to be most successful and prolific; he apparently lodged above a school, with a couple of teachers. Snack Time shows the pupils outside their primary school during a break, armed with their lunchboxes and baskets. Again he tells their stories using subtle hints including their clothes. A well-dressed girl in white is being harassed by a smaller boy into surrendering some of her food. He wears rougher clothes but seems in control of the situation, as others watch on and laugh.

In 1885, he was appointed a knight in the Legion of Honour.

geoffroyvisitdayhospital
Henri Jules Jean Geoffroy (1853-1924), Visiting Day at the Hospital (1889), oil on canvas, 120 x 95 cm, Musée d’Orsay, Paris. Wikimedia Commons.

Geoffroy’s painted insights into the world of childhood extend to illness and the hospital. In his dazzlingly modern and clinical Visiting Day at the Hospital from 1889, the boy’s father clearly could never have afforded state-of-the-art care for his sick son. Although probably understood by the contemporary viewer, the painting doesn’t reveal to modern eyes that the boy is most probably dying of tuberculosis, an all too common problem at the time.

geoffroyinclass
Henri Jules Jean Geoffroy (1853-1924), Primary School Class (1889), oil on canvas, 145 x 220 cm, Ministère de l’Education Nationale, Paris. Wikimedia Commons.

In Primary School Class from 1889, Geoffroy shows one of the new lay teachers, introduced by the Third Republic, working diligently in the classroom with her pupils. This was clearly deemed sufficiently positive to the State as to be purchased by the French National Ministry of Education, where it still hangs.

geoffroynighthostel
Henri Jules Jean Geoffroy (1853–1924), The Night Hostel (or, The Soup Kitchen) (1891), further details not known. Wikimedia Commons.

Less welcomed by the State was The Night Hostel or The Soup Kitchen from 1891, showing homeless women and children being fed and sheltered in what appears to be almost a prison.

geoffroydrawinglesson
Henri Jules Jean Geoffroy (1853–1924), Drawing Lesson (1895), further details not known. Wikimedia Commons.

Returning to school scenes in 1895, Geoffroy shows a Drawing Lesson in a class of older boys, who are following the classical tradition of drawing casts and appear remarkably diligent and well-behaved.

geoffroycreche
Henri Jules Jean Geoffroy (1853–1924), The Nursery (1899), oil on canvas, 166 x 108 cm, Museu de Arte do Rio Grande do Sul Ado Malagoli, Porto Alegre, Brazil. Wikimedia Commons.

Geoffroy’s The Nursery from 1899 is one of very few paintings showing modern approaches to the early rearing of children under the Third Republic. Hospitals developed a rigorous almost military approach to nurseries and feeding that endured well into the twentieth century, and separated mothers from their infants for much of the time.

In 1900, at the Exposition Universelle in Paris, Geoffroy was awarded a gold medal, forming the peak of his career.

geoffroyinschool
Henri Jules Jean Geoffroy (1853-1924), In School (c 1900), further details not known. Wikimedia Commons.

In Geoffroy’s In School from about 1900, another lay teacher in a modern Republican infants class is caring for the French men and women of the future.

geoffroybastilleday
Henri Jules Jean Geoffroy (1853–1924), Bastille Day (c 1900), oil on canvas, 46 x 61 cm, location not known. Wikimedia Commons.

Bastille Day, from the same year, shows a group of children celebrating the national day of France on 14 July. For young boys in the years before the First World War, this was becoming increasingly militaristic rather than just patriotic.

geoffroyprizesinfants
Henri Jules Jean Geoffroy (1853–1924), Prize-Giving at an Infants School (1904), woodcut (?) by Charles Baude (1853-1935) after a painting by Geoffroy, further details not known. Wikimedia Commons.

I have been unable to locate an image of Geoffroy’s painting from which Charles Baude made this print of Prize-Giving at an Infants School in 1904, but it is a fine example of the artist’s depictions of groups of young children and their social interactions.

geoffroydifficultparting
Henri Jules Jean Geoffroy (1853–1924), It’s Hard to Share (date not known), oil on canvas, 60.3 x 49.6 cm, Museu Antônio Parreiras (MAP), Rio de Janeiro, Brazil. Wikimedia Commons.

This undated painting of It’s Hard to Share shows another of the tribulations of childhood. These young boys have just emerged from a sweet shop, and the child in the centre is reluctant to share the paper cone of sweets he has just bought. His face says it all, as he looks with great suspicion at his less fortunate friend, and a dog also looks up expectantly.

I have been unable to find any of Geoffroy’s later paintings, and he died in Paris in 1924, at the age of 71.

Last Week on My Mac: Compression models

Over the fifty years since I started using computers, one of the greatest changes has been who does the waiting. In my early days, it was me, in some cases waiting overnight for batches to be processed on a mainframe computer. By the mid 1990s I had to wait a couple of days for some of my optimisation runs to complete on the Mac in my office. Since then, as Macs have got progressively faster, they have come to do the waiting for me. Whether I’m editing an image or writing an article, my Mac keeps pace with almost everything I do.

One notable if infrequent exception is when there’s a macOS update. On a newer Apple silicon model, installation itself is far quicker than when Apple changed to using the SSV in Big Sur, but there’s always that wait for the downloaded update to be “prepared” in the background. Much of that is thought to be decompression, which minimises the size of downloads by putting the burden on the Mac to expand and organise what needs to be installed.

Data compression is widely used in modern operating systems. Take a look in Activity Monitor’s Memory view, and at the bottom right you’ll see how much compressed memory is in use, here currently over 1 GB. It’s used to save space in macOS, where many system files are stored in compressed formats. Compression is also an integral part of many media formats, whether still or moving images, or audio. Unless they’re compressed, we’d only be able to enjoy a small fraction of the media we now consume so voraciously.

It’s understandable that compression is thus one of the best-studied tasks in computing. Over decades of intensive research and practical experience, we have learned that the most powerful methods of compressing data can also take the most processing time. The effectiveness of compression is generally expressed in terms of compression ratio, the ratio of original file size to that of the compressed file. Thus all effective compression methods should result in a compression ratio of more than 1. You’ll also come across percentage space saving, the reduction in size compared to the original. If a compression method shrinks a 10 GB file to 5 GB, then its compression ratio is 10/5 = 2, and its space saving is (1 – 5/10) x 100 = 50%.

One of the most efficient compression techniques has been that in nanozip 0.09a, for instance, which can achieve a compression ratio of 5.3, or a space saving of 81%, on English text taken from Wikipedia. This illustrates the trade-offs made in such efficient techniques, as to achieve that it takes almost 128 seconds to compress 100 MB, a rate of 0.783 MB/s. That makes it of little everyday use and unsuitable for macOS updates, where it also couldn’t achieve the same high compression ratio because the data are binary rather than English text.

Optimising compression isn’t as simple as it might appear. There’s an inverse relationship between the time spent compressing data and the amount of compressed data to be written, as there is with many similar tasks. The more sophisticated the compression and the higher the compression ratio, the less data there is to be written out, although there’s still the same amount of data to be read. Using the example of a compression ratio of 2, 10 GB of input data has to be read and only 5 GB written out, so unless write speed is less than half read speed, reading the input data is likely to be more rate-limiting.

Compression is also representative of many other types of everyday tasks, as it consists of three sub-tasks:

  1. read data from disk
  2. process it (encode, decode, transcode)
  3. write the transformed data to disk

Unless you use small file sizes, this is usually performed on data streamed from storage and back to storage, rather than on single chunks of data in memory.

To understand what limits performance of any of those everyday tasks, we need to understand how each of its sub-tasks is limited, and how those limitations interact. In some cases, such as preparation of macOS updates, time taken appears to be determined by the processing required in the second step. In the past, Apple has run all that in a single thread to minimise impact on concurrent use of other apps in the foreground. In other tasks, such as encrypting files, stage 2 processing should be fastest, making it most likely that disk access is limiting.

Although we can’t apply conclusions drawn from studying any specific compression method, we can use it as a model to develop tools that we can then apply to other tasks. Over the last week, I’ve published two articles here discussing how to do that.

In the first I asked how we can investigate whether more threads will run a task faster. We know that for my compression task they do, but that may not be true for the tasks you’re most interested in accelerating. In rare cases, an app may provide a control to set how many threads to use, and it’s easy to use that to investigate. It’s more likely that your app has no such control, but one way around that is to run it in a virtual machine, where you can pick the number of virtual cores to host that VM.

Timing the performance of your app with test files of known size should give a performance rate, and that can help identify which of those sub-tasks is probably limiting overall performance. If your app transcodes video, for example, and you time how long it takes to complete all three sub-tasks on a 10 GB video clip, you can work out its transcoding rate in GB/s. If that test clip takes 20 seconds to read that test file, transcode it, and write out the converted video, then its overall transcoding rate is 0.5 GB/s.

The next article considers how you might work out whether running that task on high-speed storage would improve that overall performance. Although it looks unlikely that a transcoding rate of 0.5 MB/s would be altered by running it on a Thunderbolt 3 disk with its 2.3 GB/s write speed, it’s worth comparing performance on the faster internal SSD to check that, and decide whether a faster USB4 SSD might be better.

By the time that you’ve worked through those tests, you should have better insight into which of those three sub-tasks is limiting performance, how you might be able to improve them, and compare current performance in the overall transcoding rate against attempts at improvement. As I wrote last week, the only way to do that is with objective measurements such as that transcoding rate.

Next week I’ll continue this series by considering how you can control the type of CPU core threads run on, and some related issues about sparse bundles and the performance of Time Machine backup storage.

Celebrating the bicentenary of Pierre Puvis de Chavannes 2

Two centuries ago today, 14 December, the major French painter Pierre Puvis de Chavannes was born in Lyon. In this second and concluding article celebrating his career and art, I continue from the years following the Franco-Prussian War, when his work achieved broad appeal despite the bitter divisions in French society. Their unreal and classical motifs painted in a plain style using pale colours must have been refreshingly different from social realism, the Academy, and the increasingly sketchy landscapes of the Impressionists. Puvis responded by painting increasingly symbolic themes in the same style.

puvisdeathmaiden
Pierre Puvis de Chavannes (1824–1898), Death and the Maiden (1872), oil on canvas, 146 x 107 cm, Sterling and Francine Clark Art Institute, Williamstown, MA. Wikimedia Commons.

Death and the Maiden from 1872 is most probably based on Schubert’s song of the same title, expressing the inevitability of death, almost in terms of vanitas, which had last been popular during the Dutch Golden Age. This linked with the recent war, when so many young French and Prussian people had died, and with contemporary scourges such as tuberculosis, which killed many young adults. The maidens are seen dancing together, and picking wild flowers, as the personification of death is apparently asleep on the grass at the lower left, his black cloak wrapped around him and his hand resting on the shaft of his scythe.

puvisyoungwomenseaside
Pierre Puvis de Chavannes (1824–1898), Young Women at the Seaside (1879), oil on canvas, 61 x 47 cm, Musée d’Orsay, Paris. Wikimedia Commons.

Completed for and exhibited at the Salon of 1879, Young Women at the Seaside must be one of the palest and plainest paintings of any visit to the beach. Only one of the three young women faces the viewer, and she looks as if she’s about to die of ennui. Even the sea looks cold and distant.

puvispoorfisherman
Pierre Puvis de Chavannes (1824–1898), The Poor Fisherman (1881), oil on canvas, 155.5 x 192.5 cm, Musée d’Orsay, Paris. Wikimedia Commons.

Two years later, in 1881, Puvis exhibited The Poor Fisherman (1881), which proved to be one of his most successful works. Significantly more colourful, he provides more detail, although keeping well away from anything that might be mistaken for social realism or the increasingly popular Naturalism. A thin if not quite emaciated fisherman stands, Christ-like, in his boat waiting for his catch to fill his net. Behind him on the marshy land is his wife picking flowers, and their infant, another possible reference to Jesus Christ.

Puvis painted at least four versions of this work, it was reproduced as a lithograph, and numerous contemporaries copied and admired it, declaring its importance in the development of painting at the time. It’s thus one of the formative works leading to the Symbolist movement, whose manifesto was published five years later.

puvispleasantland
Pierre Puvis de Chavannes (1824–1898), Pleasant Land (1882), oil on canvas, 25.7 x 47.6 cm, Yale University Art Gallery, New Haven, CT. Wikimedia Commons.

In 1882, Puvis painted the much paler Pleasant Land, which returns to the south coast of France and a small group of young women and their children who are engaged in dolce far niente just above the beach.

puvisdream
Pierre Puvis de Chavannes (1824–1898), The Dream (1883), oil on canvas, 82 x 102 cm, Musée d’Orsay, Paris. Image by Shonagon, via Wikimedia Commons.

For the Salon of 1883, Puvis intensified the unreality with his nocturne The Dream. In a similarly placid and contemplative Mediterranean coastal setting, a traveller (vagrant), their meagre possessions tied up in a cloth, is asleep under a crescent moon. Three angelic but wingless figures from a dream are shown in mid-air, two scattering stars and one bearing a laurel wreath.

Puvis had painted a succession of murals in France from the 1860s onwards. During the 1880s, these turned increasingly to the recurrent motif of classical figures in a sacred grove.

puvissacredgrovechicago
Pierre Puvis de Chavannes (1824–1898), The Sacred Grove, Beloved of the Arts and the Muses (1884-89), oil on canvas, 93 x 231 cm, Art Institute of Chicago, Chicago, IL. Wikimedia Commons.

This panoramic easel painting of The Sacred Grove, Beloved of the Arts and the Muses, made in the period 1884-89, is a good example of this series. Puvis alludes to the Muses, but doesn’t identify them with their customary attributes. Instead, two women (wingless again) are flying, one apparently playing the lyre. The figures below are engaged in contemplation, discussion, and the central group are listening to a recital of poetry or song. Most of them wear golden laurel wreaths in their hair, and all are dressed in classical robes.

puvischarity
Pierre Puvis de Chavannes (1824–1898), Charity (1887), oil on canvas, 56 x 47 cm, Musée d’Orsay, Paris. Image by Rama, via Wikimedia Commons.

Charity (1887) is a personification of one of the seven Christian virtues, again set in timeless classical terms. She is the mother of twins, one of whom she holds by her breast. She is clasping the back of the neck of a dark wolf, lying beside her, adding a more unusual touch. This had become a popular motif, and only nine years previously had been painted by William-Adolphe Bouguereau in contrasting Academic style.

puvissacredgrovesorbonne
Pierre Puvis de Chavannes (1824–1898), The Sacred Wood (1889), wall painting in Le Grand Amphithéâtre of La Sorbonne, Paris, dimensions not known, La Sorbonne, Paris. Image by Sigoise, via Wikimedia Commons.

Of his surviving murals, I think The Sacred Wood is perhaps the most impressive. Completed in 1889, it graces Le Grand Amphithéâtre of La Sorbonne in Paris, and is his ultimate expression of this theme. It includes many classical and artistic references: near the centre, bent over the surface of a pond, is Narcissus, and towards the right, dressed in red, what looks like Dante.

In 1890, Puvis was co-founder and first president of the Société Nationale des Beaux-Arts, which became the dominant Salon in Paris.

puvisshepherdssong
Pierre Puvis de Chavannes (1824–1898), The Shepherd’s Song (1891), oil on canvas, 104.5 × 110 cm, Metropolitan Museum of Art, New York, NY. Wikimedia Commons.

Puvis continued his low-chroma paintings of coastal scenes with The Shepherd’s Song in 1891. Oddly, the shepherd referred to in the title is the smallest of its figures, perched part-way up an ill-defined rocky slope at the left, above two black goats, as three women are fetching water in the foreground.

58.15.2
Pierre Puvis de Chavannes (1824–1898), Inter artes et naturam (Between Art and Nature) (c 1890-95), oil on canvas, 40.3 x 113.7 cm, Metropolitan Museum of Art, New York, NY. Wikimedia Commons.

During the early 1890s, Puvis developed the theme of the sacred grove and relocated it to a hillside above the city of Rouen, in his Inter artes et naturam (meaning Between Art and Nature), from about 1890-95. His viewpoint is Bonsecours, to the south-east of the city, looking north-west over its bridges and distinctive skyline. Clothing worn suggests a curious conflation of periods, from the classical at the left edge, to the contemporary at the mid-right.

puvispoet
Pierre Puvis de Chavannes (1824–1898), The Poet (1896), oil on canvas, 67 x 47 cm, Nasjonalgalleriet, Oslo, Norway. Wikimedia Commons.

The last of these paintings is The Poet from 1896, which returns to the Mediterranean coast, where a poet, who has just dropped his lyre behind him, is swooning, as a winged angel comforts and supports him. At the upper right is a white dove representing the Holy Spirit. Perhaps this was his prescience of death.

Pierre Puvis de Chavannes died in Paris, where he had worked most of his life, on 24 October 1898, at the age of 73. Only three months before, he had finally married his partner of more than forty years, a Romanian princess who died just a month after their wedding.

Saturday Mac riddles 286

Here are this weekend’s Mac riddles to entertain you through family time, shopping and recreation.

1: Keeps an eye on exercise for checking 2, 3, memory and more.

2: Champion’s reward in disarray for the heart of your Mac, shown in 1.

3: Endless high status in hiding place for treasure can be shown in 1.

To help you cross-check your solutions, or confuse you further, there’s a common factor between them.

I’ll post my solutions first thing on Monday morning.

Please don’t post your solutions as comments here: it spoils it for others.

A brief history of Activity Monitor

In the days of Classic Macs, most of our concerns centred on memory rather than CPU, disk or network performance. Tools for managing memory flourished, and I don’t recall any utility provided in Mac OS that looked more broadly. That changed when Mac OS X arrived, and we started taking an interest in Process Viewer and CPU Monitor.

cpumonitor2001

CPU Monitor, seen here in 2001 with its two floating chart views, was a first step in development. I suspect this was taken on my QuickSilver Power Mac G4 with its dual processors, hence the pair of CPU charts.

processviewer2001

Process Viewer is a more obvious ancestor of the modern Activity Monitor, with its list of processes in a column view. Note the surprisingly few system processes running at the time: only 34, compared with today’s list of several hundred.

activitymonitor2005

Activity Monitor integrated those features into its new app in Mac OS X 10.3 Panther in 2003, and is shown here in 10.4 Tiger from a couple of years later, where it’s surprisingly similar to the current app. There are still only 72 processes running, though, and most have less than 5 threads.

activitymonitor2011

Here’s Activity Monitor with its CPU History window on an 8-core Mac Pro, running Mac OS X 10.7 Lion in 2011. The number of processes is still only growing slowly, and had reached 89.

instruments2012a

Xcode’s Instruments added an Activity Monitor template for developers wanting to monitor further details as they tested and debugged their code. At this stage it was limited to presenting the same fundamental measurements as were available in Activity Monitor, but these have since flourished into much greater depth.

instruments2012b

Two years later, in 2013 for OS X 10.9 Mavericks, Activity Monitor underwent revision to add a new tab for Energy. Unlike other panes, the ‘Energy Impact’ is given in arbitrary units rather than calculating Joules from power use over time. It was at about this time that the app also added a Cache pane analysing the performance of the Content Caching service, when enabled on the Mac.

activitymonitor2020i

Until 2020, Activity Monitor had dealt with CPUs with uniform cores. Above are the eight physical and eight Hyper-threaded cores in an 8-core Intel Xeon W in an iMac Pro from 2017, running a heavy load of over 700% CPU. With the first Apple silicon Macs, it had to display CPU use for two different types of core. Note how, by 2020, the total number of processes has shot up to 458.

activitymonitor2021m1

This is an example from one of the first base M1 Macs, with 4 Efficiency and 4 Performance cores displayed neatly in its CPU History window. Although Activity Monitor doesn’t take core frequency into account when measuring % CPU, and can’t display cluster frequencies, it remains one of the essential tools for everyone, whichever age and architecture their Mac.

Celebrating the bicentenary of Pierre Puvis de Chavannes 1

Two centuries ago tomorrow the major French painter Pierre Puvis de Chavannes was born in Lyon. In this and tomorrow’s concluding article I briefly celebrate his career and work.

Puvis had never intended to be an artist, but serious illness cut short his studies, and after his convalescence he travelled to Italy. He there became inspired to paint, studying briefly under Eugène Delacroix before he closed his studio. He was then a pupil under Henri Scheffer and Thomas Couture, but proved something of a loner and didn’t follow contemporary Academic tradition. Although his first paintings were accepted for the Salon in 1850, recognition didn’t come until much later.

dechavannesbeheadingofjohn
Pierre Puvis de Chavannes (1824–1898), The beheading of John the Baptist (The Daughter of Herodias Gives the Signal for the Ordeal of Saint John the Baptist) (1856), oil on panel, 140 × 89.5 cm, Museum Boijmans Van Beuningen, Rotterdam, The Netherlands. Wikimedia Commons.

Puvis painted two completely different versions of The beheading of John the Baptist. This is the earlier, from 1856, alternatively known as The Daughter of Herodias Gives the Signal for the Ordeal of Saint John the Baptist, which in itself raises questions. Salome dominates the painting, her right hand holding the empty platter high above her head as she is about to drop it to signal John’s execution. John the Baptist is still alive at this stage, seen in the murky distance at the left. Another figure, perhaps Herodias, is hiding in Salome’s robe, behind her.

His later painting, from about 1869 and in the National Gallery in London with a smaller version in Birmingham, is more in accord with the biblical account of this story.

puviswinepress
Pierre Puvis de Chavannes (1824–1898), The Wine Press (c 1865), oil on canvas, 18.5 x 13.6, Phillips Collection, Washington, DC. Wikimedia Commons.

The Wine Press, from about 1865, is more typical of his mature paintings, showing a classical figurative motif executed simply using low chroma throughout. In this case, a bearded young man wearing a wreath as a loincloth stands awkwardly on a wooden step-ladder, tipping freshly harvested grapes into the large wooden press. Three young women, dressed loosely in classical robes, are delivering him the grapes from the vineyard, as a pair of longhorned cattle look on.

puvisfantasy
Pierre Puvis de Chavannes (1824–1898), Fantasy (1866), oil on canvas, 263.5 x 148.5 cm, Ohara Museum of Art 大原美術館, Kurashiki, Japan. Wikimedia Commons.

During the 1860s, Puvis reacted to the popular trend towards realism by painting increasingly unreal works, such as Fantasy from 1866. Two naked people of indeterminate gender are in an idyllic wooded landscape near the foot of sheer cliffs. One sits plucking flowers to form a wreath, the other uses a length of ivy to school a winged white horse which could be Pegasus or a hippogriff. Puvis’ application of paint is so thin that the wings of the horse are semi-transparent, and his colours are muted in the extreme. In almost every respect, this was the antithesis of social realism, pre-Impressionist landscapes and Academic painting of the time.

puvisvigilance
Pierre Puvis de Chavannes (1824–1898), Vigilance (1866), oil on canvas, 271.4 x 104 cm, Musée d’Orsay, Paris. Image by Rama, via Wikimedia Commons.

Puvis increasingly turned to allegory and personifications, as in this painting of Vigilance, completed in 1866 and accepted for the Salon of that year. Traditional attributes associated with this personification are the oil lamp she holds aloft, a book and a rod, which are omitted.

puvispeace
Pierre Puvis de Chavannes (1824–1898), Peace (1867), oil on canvas, 109 x 148.7 cm, Philadelphia Museum of Art, Philadelphia, PA. Wikimedia Commons.

The following year Puvis painted a pair of allegories, Peace (above) and War (below), using stronger colours to make it easier to read their greater detail. Both are set in classical times in an idyllic landscape. Peace is a group dolce far niente which would later have passed for Aestheticism: men, women and children engaged in nothing more strenuous than milking a goat.

In War, three horsemen are blowing a fanfare on their war trumpets, haystacks in the surrounding fields are alight and pouring black smoke into the sky, and the people are suffering, even though signs of destruction are slight and none is wounded. The timing of these paintings wasn’t coincidence: France was in the process of sliding inexorably towards its war with Prussia, and the Second Empire of Napoleon III was about to self-destruct.

puviswar
Pierre Puvis de Chavannes (1824–1898), War (1867), oil on canvas, 109.6 x 149.3 cm, Philadelphia Museum of Art, Philadelphia, PA. Wikimedia Commons.
puvismarseillesgateway
Pierre Puvis de Chavannes (1824–1898), Marseilles, Gateway to the Orient (c 1868), oil on canvas, 38.8 x 57.6 cm, Phillips Collection, Washington, DC. Wikimedia Commons.

Shortly before the Franco-Prussian War, he painted this unusual and relatively colourful maritime scene of Marseilles, Gateway to the Orient (c 1868). Set aboard a fanciful sailing ship, it shows the mixed ethnicity of those who crewed and travelled in the vessels trading through the port of Marseille, on the Mediterranean coast. The city itself is in the distance, making its title the more odd. I suspect this was a study for one of the murals he made for the Musée des Beaux-Arts in Marseilles in the 1860s.

Puvis was deeply affected by the Franco-Prussian War, and the Paris Commune that followed in 1871.

puvisdechavannesballoon
Pierre Puvis de Chavannes (1824–1898), The Balloon (1870), oil on canvas, dimensions not known, Musée d’Orsay, Paris. Image by Rama, via Wikimedia Commons.

The role of balloons during the siege of Paris was inspiration for The Balloon of 1870, which became popular as a lithograph made by Émile Vernier. The following year, Puvis painted a pendant The Pigeon (below), showing another means of communication used during the siege.

Here a woman seen almost in silhouette waves at one of the balloons bearing news, as it flies near Mount Valérien. In her right hand she holds a musket, symbolic of the arming of the people of Paris at the time. The same woman appears in mourning in The Pigeon, collecting a carrier pigeon that had fought its way through the predatory hawks flown by the Prussians.

The two paintings meant a great deal to Puvis, who reluctantly gave them to the government a few years later, to be prizes in a lottery organised to provide aid to the survivors of the great fire of Chicago in 1871. They didn’t return to Paris until 1987, and are now both in the Musée d’Orsay.

puvispigeon
Pierre Puvis de Chavannes (1824–1898), The Pigeon (1871), oil on canvas, 136.7 x 86.5 cm, Musée d’Orsay, Paris. Image by Rama, via Wikimedia Commons.
puvisdechavanneshope
Pierre Puvis de Chavannes (1824–1898), Hope (1872), oil on canvas, 102.5 x 129.5 cm, Walters Art Museum, Baltimore, MD. Wikimedia Commons.

Puvis’ Hope from 1872 develops this post-war theme further, and was exhibited at the Salon that year, the first to follow the war. A young woman sits amid a landscape that has been destroyed by fighting. The bleached rubble of a farmhouse is seen in the right distance, and there are two improvised graveyards with clusters of crosses. She holds a sprig of oak as a symbol of the recovery of the nation.

His three paintings provoked reflection rather than taking sides, and became popular across the range of public opinion. They proved a turning point in his career, as I’ll show tomorrow.

Has Apple stopped updating EFI firmware?

If, like me, you pay close attention to firmware updates released with macOS, you may have noticed something highly unusual if not unique this week, in the firmware updates that came with macOS Sequoia 15.2, Sonoma 14.7.2 and Ventura 13.7.2: those could mark the end of an era.

All new Macs since Apple transitioned to using Intel processors have one of three classes of firmware:

  • Intel Macs without a T2 chip only have EFI firmware, whose version reads something like 529.140.2.0.0. These are model-specific.
  • Intel Macs with a T2 chip have firmware for both their Intel systems in EFI, and iBridge for the T2, giving them a double firmware version like 2069.40.2.0.0 (iBridge: 22.16.12093.0.0,0). All models with a T2 chip can run the same EFI and iBridge versions.
  • Apple silicon Macs have iBoot, with a version like 11881.61.3, which is common across all models.

This complexity was the reason for my first developing EFIcienC, predecessor to SilentKnight, compiling and maintaining databases of firmware versions, and trying to help those whose Macs stubbornly refused to update their EFI firmware when they should have done. This site still has long lists of the latest firmware versions for Macs running Catalina, for example.

EFIcienC01

silentknight11

As the number of supported Intel Macs without a T2 chip has steadily fallen, what used to be a long and complex list has shrunk to just seven models. With the release of macOS Sequoia 15.0, Sonoma 14.7 and Ventura 13.7, Apple stopped updating the EFI firmware for Intel Macs without T2 chips, which are now frozen as they were last June and July.

When Apple released Sequoia 15.2, Sonoma 14.7.2 and Ventura 13.7.2 this week, it appears to have ceased updating the EFI firmware in Intel Macs with T2 chips.

T2 models were updated to EFI 2069.0.0.0.0 and iBridge 22.16.10353.0.0,0 when Sequoia 15.0 was released on 16 September 2024. No firmware updates came in the rapid update to 15.0.1, but in 15.1 those models were updated to EFI 2069.40.2.0.0 and iBridge 22.16.11072.0.0,0.

Sequoia 15.1.1 also didn’t bring any change in firmware, and 15.2 updates T2 models to EFI 2069.40.2.0.0 and iBridge 22.16.12093.0.0,0: while the T2’s firmware has been updated, no change has been made in the EFI version. As far as I’m aware that’s the first time that has happened since the initial releases of T2 firmware at the end of 2017 and early 2018. The first record I have of their version numbers is of EFI 1037.147.1.0.0 and iBridge 17.16.16065.0.0,0, since when they have come a very long way.

While I’m sure that Apple could still update EFI firmware if necessary, I think we have seen the last planned updates, with only iBridge for the T2 and iBoot for Apple silicon Macs to continue to advance with future releases of macOS. As the T2 is also Apple silicon, that means an end to the last firmware for Intel processors, after more than 18 years. The end of an era indeed, and time to pour one out for EFI firmware in Macs.

I wouldn’t like to hazard a guess at how much longer Apple will continue to support iBridge firmware for T2 chips. Firmware updates aren’t a required part of macOS updates, and most Macs cease to enjoy them well before they’re updated to their last macOS.

❌