Sign in

← Software

zfs_zone per-zone ZFS I/O throttling

namezfs_zone per-zone ZFS I/O throttling
recommendationconsider
in solnixno
categoryzfs
originomnios
smartos
kindkernel
summaryzfs_zone.c gives each zone a fair share of ZFS disk I/O and delays writers from zones that exceed it, and publishes per-zone zone_vfs and zone_zfs kstats (read by vfsstat and ziostat). It is the noisy-neighbour control for multi-tenant zones.
whyValuable for a server Solnix running many zones, irrelevant for a desktop. Comes with the illumos-omnios variant; not worth a standalone port.
upstream statusNot in illumos-gate at the pin ac45d71fc2 or on master 2026-11-16 (recursive tree diff). zone.c in illumos-joyent and illumos-omnios references zone_zfs about 25-30 times; the pin has none.
effortmedium
riskTouches the ZFS write path and zone.c; diverges from OpenZFS-in-illumos, so future ZFS merges (IPD 50) must carry it. Wrong tuning can slow a single-tenant desktop.
licenseCDDL-1.0
source urlhttps://github.com/TritonDataCenter/illumos-joyent/blob/380e8df2d36bc83f3f7d74259ee0caacb507afbb/usr/src/uts/common/fs/zfs/zfs_zone.c
sourceshttps://github.com/omniosorg/illumos-omnios/blob/6c1de855b3c1da5200236f83e538b8f449f4ed21/usr/src/uts/common/fs/zfs/zfs_zone.c
https://smartos.org/man/8/vfsstat
https://github.com/TritonDataCenter/illumos-joyent/blob/380e8df2d36bc83f3f7d74259ee0caacb507afbb/usr/src/uts/common/fs/zfs/zfs_zone.c

What Solnix has done

No decision yet: open for ranking.

Objections (0)

None.

Sign in to object to this item.