Sybase DC35823-01-1500-04 Server User Manual


 
Enabling asynchronous disk I/O
38 Adaptive Server Enterprise
setuid(uid);
/* run the program indicated as arguments to
this program */
execv(*++argv, argv);
}
For additional information on user connections, see the System Administration
Guide.
Enabling asynchronous disk I/O
For HP-UX
This step is mandatory for HP users.
To improve I/O performance on character or raw and block devices, enable
asynchronous I/O by installing the HP asynchronous I/O driver from SAM. For
help with installing this driver, contact your operating system administrator or
HP technical support.
Note Before executing the following instructions, shut down Adaptive Server
(or SQL Server).
To enable asynchronous I/O:
1 From the SAM Kernel Configuration menu, choose Drivers and set the
Pending State for asyncdisk to In by adding the driver.
An alternate step could be done by adding the asyncdsk subsystem
keyword to /stand/system.
2 Rebuild the kernel, and reboot the system.
3 Execute the following commands using the
userid root:
#/etc/mknod/dev/async c 101 4
#chmod 0660/dev/async
#chown <uid> /dev/async
#/etc/setprivgrp <ugrp> MLOCK
Where:
<uid> is the identification (user ID)used by the user that is booting
Adaptive Server.
<ugrp> is the user group for the <uid> user ID.