Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2023 13:42:25 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        void <void@f-m.fm>, freebsd-fs@freebsd.org
Subject:   Re: measuring swap partition speed
Message-ID:  <A539DD68-5FAD-4303-9FF1-350F17D90B26@yahoo.com>
In-Reply-To: <0D286183-ACD6-4818-8E27-E03D7F16D288@yahoo.com>
References:  <0D286183-ACD6-4818-8E27-E03D7F16D288@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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=3D1777    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=3D1777    0      =
 0
/dev/label/growfs_swap  none            swap    sw              0       =
0

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A539DD68-5FAD-4303-9FF1-350F17D90B26>