Re: measuring swap partition speed

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 24 Dec 2023 21:42:25 UTC
I just thought of another relevant setting that my normal
context has but that the RPi4B snapshot does not have (by
default) and you might not have: use of noatime (or
analogous for ZFS)

The default /etc/fstab for the snapshot:

# more /ets/fstab
# Custom /etc/fstab for FreeBSD embedded images
/dev/ufs/rootfs         /               ufs     rw              1       1
/dev/msdosfs/EFI                /boot/efi       msdosfs rw,noatime      0       0
tmpfs                   /tmp            tmpfs   rw,mode=1777    0       0
/dev/label/growfs_swap  none            swap    sw              0       0

Keeping access times updated causes lots of extra I/O
activity.

My future snapshot testing will likely mostly be with:

# more /etc/fstab
# Custom /etc/fstab for FreeBSD embedded images
/dev/ufs/rootfs         /               ufs     rw,noatime              1       1
/dev/msdosfs/EFI                /boot/efi       msdosfs rw,noatime      0       0
tmpfs                   /tmp            tmpfs   rw,mode=1777    0       0
/dev/label/growfs_swap  none            swap    sw              0       0

===
Mark Millard
marklmi at yahoo.com