-
Synchronous and Asynchronous I/O
hi,
What is the difference between Synchronous and Asynchronous I/O....
I read soome books...but couldn't understand propely. Can somebody explain the same with some simple example.
thanx
-
if a process requests that the O/S write data to disk, and has to wait for it to be written before continuing, then that is synchronous. If the process does not have to wait for the write to be completed, that is asynchronous
-
Synchronous is real-time, that is you ask to perform steps A,B,C, step B is done only after step A is completed, and C is done only when B is completed.
In Asynchronous, neither step B waits for A to complete, nor step C waits for B to complete.
Agasimani
OCP(10g/9i/8i/8)
-
hi
thanx for ur reply...
In case of asynchronous I/O if there is an error in writing to a block, then how this is taken care of
and again asynchronous i/o will be very fast i believe....is there any disadvantage with asynchronous I/O.
regards
-
With AIO enabled , sometimes you hit bugs, like AIO on aix jfs, and AIO on tru64 advfs.
www.cnoug.org
-
Originally posted by chao_ping
With AIO enabled , sometimes you hit bugs, like AIO on aix jfs, and AIO on tru64 advfs.
To add something about Solaris and HP UX. On Solaris, AIO is the default, on HP UX not: if you want to implement it, you will have to rebuild the kernel.
Oracle Certified Master
Oracle Certified Professional 6i,8i,9i,10g,11g,12c
email: ocp_9i@yahoo.com
-
In case of asynchronous I/O if there is an error in writing to a block, then how this is taken care of
This is the reason there are events called wait events.
Agasimani
OCP(10g/9i/8i/8)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|