Re: kernel parms & RAW disk I/O (61 Views)
Occasional Contributor
Posts: 4
Registered: ‎06-29-1999
Message 1 of 2 (61 Views)

kernel parms & RAW disk I/O

I see DBC_MIN/MAX_PCT, BUFPAGES, NBUF control how unix manages caching for disk I/O. Under the heading "filesystem I/O".

My system is a database server, accessed over the network, so very little "filesystem" I/O takes place, but a boat load of RAW disk I/O.

Do these parameters affect RAW I/O?
Honored Contributor
Posts: 14,346
Registered: ‎05-29-2000
Message 2 of 2 (61 Views)

Re: kernel parms & RAW disk I/O

Immediate reporting will affect raw I/O as it tells the disk to accept write requests and report that they are already completed. This is not recommended unless *all* the disks on the system are backed up with a battery so that pending writes from the disk's RAM will be completed.

You can also look at the scsictl man page to selectively enable immediate reporting on a disk by disk basis. This will require a technical reference manual for the disk(s).

Generally, raw I/O performance is 100% controlled by the application. Popular database programs offer a lot of choices to increase buffer sizes, keep indexes and hash tables in RAM, etc. Simple rule: maximize RAM usage by the database program (and think several gigabytes for CPU RAM).
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.