1832313 Members
2133 Online
110041 Solutions
New Discussion

Reads and Writes Methods

 
Slayer
New Member

Reads and Writes Methods

Hello All,

HP-UX 11i

I would like to know if someone have a good method to for better high-speed "reads and writes to disk".
We are going to use a directory which has a big size in order to do this test.

TIA

Slayer
4 REPLIES 4
Mahesh Kumar Malik
Honored Contributor

Re: Reads and Writes Methods

Hi Slayer

Enable Asynchronous I/O - By default, HP-UX uses synchronous disk I/O, when writing file system "meta structures" (super block, directory blocks, inodes, etc.) to disk. This means that any file system activity of this type must complete writing to the disk before the program is allowed to continue; the process does not regain control until completion of the physical I/O. When HP-UX writes to disk asynchronously, I/O is scheduled at some later time and the process regains control immediately, without waiting.

Asynchronous writing of the file system meta structures is enabled by setting the value of the kernel parameter fs_async to 1

Regards
Mahesh
morganelan
Trusted Contributor

Re: Reads and Writes Methods

Slayer
New Member

Re: Reads and Writes Methods

Hey Mahesh,

Thanks a lot for the answer,

But do know any tool that can monitoring this activity ?

Best Regards,

Bruno
Muthukumar_5
Honored Contributor

Re: Reads and Writes Methods

You can get read from disk and write to disk as,

# sar -b 1 5

hth.
Easy to suggest when don't know about the problem!