Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <f32file.h>

Class TVolumeIOParamInfo

class TVolumeIOParamInfo;

Description

Volume IO parameter information.

This class is used to return IO parameter information for a specified volume.

The volume parameter information holds recommended buffer sizes for the creation of efficient buffers for reading and writing.

Members

Defined in TVolumeIOParamInfo:

See also:


Member data


iBlockSize

TInt iBlockSize;

Description

The size of a block in bytes.

Reads and writes that are aligned on block boundaries are up to twice as fast as when mis-aligned.

Read and write operations on certain underlying media is done in blocks. A write operation that modifies only part of a block is less efficient, in general, than one that modifies an entire block. Data throughput degrades linearly for reads and writes in smaller sized units.


iClusterSize

TInt iClusterSize;

Description

The size in bytes of a single disk cluster.

Read and write operations that are aligned on cluster boundaries are more efficient.

The file system organises and allocates the file data on the disk in clusters where each cluster is one or more blocks. Files that are not zero length occupy at least one cluster of the disk, so large numbers of very small files use up more disk space than expected.


iRecReadBufSize

TInt iRecReadBufSize;

Description

The recommended buffer size for optimised reading performance.

The given buffer size is based on sensible benchmark testing results produced by the mobile device vendor. The buffer size is then added to the estart.txt file

The figure is included in the estart.txt file along with the drive number and the variable name. The example below shows the required format:

[DriveC] RecReadBufSize 8192

When no value is provided, value KErrNotSupported is returned.


iRecWriteBufSize

TInt iRecWriteBufSize;

Description

The recommended buffer size for optimised writing performance.

The given buffer size is based on sensible benchmark testing results produced by the mobile device vendor. The buffer size is then added to the estart.txt file

The figure is included in the estart.txt file along with the drive number and the variable name. The example below shows the required format:

[DriveC] RecWriteBufSize 16384

When no value is provided, value KErrNotSupported is returned.