JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Sun QFS File System 5.3 Configuration and Administration Guide     Sun QFS and Sun Storage Archive Manager 5.3 Information Library
search filter icon
search icon

Document Information

Preface

1.  File System Overview

2.  About the Master Configuration File

3.  mcf File Examples

4.  Configuring the File System

5.  Configuring a Shared File System

6.  Administering File System Quotas

7.  Advanced File System Topics

Using Daemons, Processes, and Tracing

Daemons and Processes

Trace Files

Trace File Content

Trace File Rotation

Determining Which Processes Are Being Traced

Using the setfa Command to Set File Attributes

Selecting File Attributes for Files and Directories

Preallocating File Space

Selecting a File Allocation Method and Stripe Width

Selecting a Striped Group Device

Accommodating Large Files

Configuring a Multireader File System

About I/O Types

Paged I/O

Direct I/O

I/O Switching

8.  SMB Service in SAM-QFS

9.  Configuring WORM-FS File Systems

10.  Tunable Parameters

11.  Using QFS File Systems with SANergy (SAN-QFS)

12.  Mount Options in a Shared File System

13.  Using the samu Operator Utility

About I/O Types

This section provide information about paged I/O, direct I/O, and switching between the I/Os.

Paged I/O

When paged I/O is used, user data is cached in virtual memory pages, and the kernel writes the data to disk. The standard Oracle Solaris OS interfaces manage paged I/O. Paged I/O (also called buffered or cached I/O) is selected by default.

Direct I/O

Direct I/O is a process by which data is transferred directly between the user's buffer and the disk. This means that much less time is spent in the system. For performance purposes, specify direct I/O only for large, block-aligned, sequential I/O.

The setfa command and the sam_setfa library routine both have a-D option that sets the direct I/O attribute for a file or directory. If applied to a directory, files and directories created in that directory inherit the direct I/O attribute. After the-D option is set, the file uses direct I/O.

You can also select direct I/O for a file by using the Oracle Solaris OS directio function call. If you use the function call to enable direct I/O, the setting lasts only while the file is active.

To enable direct I/O on a file system basis, do one of the following:

For more information, see the setfa(1), sam_setfa(3), samfs.cmd(4), directio(3C), and mount_samfs(1M) man pages in Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual.

I/O Switching

By default, paged I/O is performed and I/O switching is disabled. However, the Sun QFS file systems support automatic I/O switching, a process by which a site-defined amount of paged I/O occurs before the system switches automatically to direct I/O.

I/O switching should reduce page cache usage on large I/O operations. To enable I/O switching, use samu(1M), or use the dio_wr_consec and dio_rd_consec parameters as directives in the samfs.cmd file or as options with the mount command.

For more information about these options, see mount_samfs(1M) in Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual or samfs.cmd(4) in Sun QFS and Sun Storage Archive Manager 5.3 Reference Manual.