In the past there were some interesting discussions about swap with ZFS, and its performance when a machine actually runs out of memory. These include:
2012 thread
2016 thread
2015 bug report
Many people, perhaps most, setup swap when they setup ZFS. But have any of you actually put it to the...