How to alter the IO data block size to cater with large volume of small transactions

book

Article ID: 100024900

calendar_today

Updated On:

Resolution

With smaller size of the IO data block set in file system level, the application transaction can gain a better performance.

e.g setting IO data size in 256KB

# vxtunefs -o max_direct_iosz=262144

 

To make this setting persistent in local system, add an entry to /etc/vx/tunefstab

  max_direct_iosz=262144


Applies To

In VxFS file system level, the max. data packet  IO size is 1 MB by default.

# vxtunefs | grep max_direct_iosz

max_direct_iosz = 1048576

 

1048576 bytes / 1024 is equal to 1 MB

Issue/Introduction

From an application perspective, there could be a need to speed up the data update quickly among a large number of transactions with small data packet size.