Skip to content

Keg v0.15.7

Latest

Choose a tag to compare

@rahult rahult released this 30 Nov 20:47
· 2 commits to main since this release

Keg 0.15.7 makes the Mac's Linux machine start sooner and smaller. Nothing in how you use Keg changes.

Changed

  • The Mac's VM starts in about 0.22 s, from a quarter of a second. A stop now closes the data disk properly, and a disk closed cleanly is not checked again at the next start; that check was 40 ms of every start. After a crash it is checked as before.
  • A smaller VM: a kernel of 14.6 MB (15.2 before), and Keg's own programs in it a seventh smaller, which is memory the VM no longer holds.

Fixed

  • The console wrote a small rate with every digit: a container's network read "70.07007007007007 bytes/s". Sizes under a thousand bytes are written whole.
  • A stop of the Mac's VM could leave the data disk's journal open, when a container was starting as the stop was asked. Nothing was lost; the next start replayed it, and took longer for it.

Experimental

Off until you turn it on (keg settings experimental on NAME, or Settings › Experimental):

  • deep-sleep (from 0.15.6) and quiet-sleep (from 0.15.5) are as they were. deep-sleep was tried 25 times over, every third time woken the moment it slept: each wake ran its container, in 0.3 s at the median and 0.57 s at worst, and the VM held none of the Mac's memory asleep. A node with a service deployed never sleeps this way; quiet-sleep is for it.

Nothing graduated, and nothing is new. See EXPERIMENTAL.md.

Upgrading from 0.15.6

  • keg update. On a Mac the app updates itself; then Stop Keg and Start Keg, which starts the Linux machine anew with the smaller kernel. The first start after that checks the disk once more, the last stop having been the old kind.
  • No capability files are new; nothing changes in an app's database.

See keg.rahultrikha.com for more.