Thanks for using the TrueNAS Community Edition issue tracker! TrueNAS Enterprise users receive direct support for their reports from our support portal.

Increase MAXPHYS to 1MB

Description

MAXPHYS parameter of kernel controls maximum I/O size supported by the system. The default value of 128KB is heavily restricting tape applications performance and compatibility by restricting maximum sector size. Also for HDDs ZFS tries to aggregate I/Os up to 1MB, which is not as efficient if they will be later chunked into 128KB pieces, which just overflows HDDs queues (only 32 tags for SATA), causing starvation. And in general for modern HDDs 1MB transfer time is comparable to average seek time, that should make quick IOPS vs bandwidth calculations easier.

The downside of it is some additional memory consumption, but hopefully it should not be a problem for typical NAS systems.

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Alexander Motin 
November 12, 2020 at 3:10 PM

Complete

Details

Assignee

Reporter

Components

Fix versions

Priority

More fields

Katalon Platform

Created November 12, 2020 at 3:01 PM
Updated July 1, 2022 at 5:00 PM
Resolved November 12, 2020 at 3:10 PM

Flag notifications