Solaris Tunable Parameters Reference Manual

nfsserv:nfs3_shrinkreaddir

Description

A recent change to Solaris has changed the default buffer size that the readdir(3C) library support uses from 1048 bytes to 8192 bytes. This changes the number of bytes requested through the getdents(2) system call correspondingly. This in turn, translates almost directly into larger READDIR and READDIRPLUS requests made to NFS Version 3 server. This might result in interoperability problems with server implementations that cannot handle the larger request size.

Data Type

32–bit integer

Default

0 (disabled)

Range

0 (disabled), 1 (enabled)

Units

Boolean values

Dynamic?

Yes

Validation

None

When to Change

Examine the value of this parameter when using an NFS Version 3 server and interoperability problems occur when trying to read directories. Enabling this parameter might cause a slight performance drop to occur for applications that read directories.

Stability Level

Evolving