async I/O

async I/O

Post by Colm O'Rega » Sat, 20 Jul 1996 04:00:00



Hi there,

I am trying to set up a database which likes to use asynchronous I/O on
a raw partition (under /dev/rdsk).  However when I query a status
variable in the database, it says that async IO is not enabled in the
operating system.  I wrote a small program to do aioread on the
partition and I find that the aioread call sometimes works and at other
times it gives errno 11: resource temporarily unavailable.

The error tends to happen when an extra ftpd is running but this is not
always the case.  I presume this means that some kernel resource is
being used up when so many processes are running (httpd's + xntpd etc).

Also, even when the aioread fails on the raw disk, it works OK on
/dev/dsk or on an ordinary file.

The server is running Solaris 2.4.

Any ideas on how to fix this?

Thanks for listening,
Colm

 
 
 

1. Problem adding tty port using 128 Port Async Adapter with 16 port Async Node

This system is  43P-140 AIX 4.2.1.x  with PCI 128 port Async. with 2 16 port
RAN EIA-232

I am tring to add tty ports to my ran system.  When I go to to smit

1)smitty tty
2)Add a TTY
3)tty rs232 Asynchronous Terminal
4)sa3 Available 04-05-22 16-Port RAN EIA-232 for 128-Port Adapter

I then get this error message
1800-109 There are currently no additional
SMIT screen entries available fo this
item  This item may require installation of
additional software before it can be accessed.

I have these files loaded

  devices.pci.4f111b00.asw   4.2.1.0  COMMITTED  PCI 128-Port Asynchronous
  devices.pci.4f111b00.diag  4.2.1.2  COMMITTED  RISC PC PCI Async 128 Port
  devices.pci.4f111b00.rte   4.2.1.2  COMMITTED  PCI 128-Port Asynchronous
  devices.pci.4f111b00.rte   4.2.1.0  COMMITTED  PCI 128-Port Asynchronous
  devices.common.IBM.cx.rte 4.2.1.2 COMMITTED CX Common Adapter Software

 I noticed devices.pci.4f111b00.rte   4.2.1.0 is defferent version I 4.2.1.2
from
 ibm web site but failed know how to get it to load twice (newbie).

I also notice I have devices.pci.4f111100.com 4.2.1.2 COMMITTED PCI 8-Port
Asynchronous Adapter
Can not uloaded this smit deinstall reports dependents for these

devices.pci.4f111b00.rte   4.2.1.0  COMMITTED  PCI 128-Port Asynchronous
devices.pci.4f111b00.diag  4.2.1.2  COMMITTED  RISC PC PCI Async 128 Port

This may be were the problem is.

Thanks for any help,
Lance Adams

2. Tarpits of Doom -- WARNING! Happy99.exe

3. To async or not not async

4. Help me get linux to route between 2 subnets

5. More Oracle Async IO

6. Hard Drive Space

7. async-io API registration for 2.5.29

8. Help needed on Driver for DTC 3270

9. Async File Read ?

10. panic: async memory error

11. Problem with async subprocesses in Emacs on RS6000/AIX

12. async poll for 2.5

13. Async IO calls - Linux implementations?