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.
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.
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
email: ocp_9i@yahoo.com
Bookmarks