Asynchronous device I/O is suitable for large data volumes and high performance scenarios, such as servers.
To use Asynchronous device I/O, when calling createfile to open or create a device, make the parameter dwflagsandattributes include file_falg_
We can treat file I/O as a system call and the kernel to perform I/O operations, where the concept of page caching (cache area) is involved, and file I/O execution is related to the cache.While standard I/O is the encapsulation of system I/O calls,
The I/O functions described in the previous article, "Advanced programming----file descriptors for UNIX environments" are for file descriptors. For standard I/O libraries, they operate around streams. When opening or creating a file with a standard
Multi-channel multiplexing
Function description
We all know that the Fcntl () function solves the problem of file sharing, if you don't know, please see: http://blog.csdn.net/mybelief321/article/details/8993138. The next step is to handle I/O
As there are too many notes in Chapter 10, I will post the previous notes first.
1. functions used to open various devices
Device
Function used to open a device
File
Createfile (pszname is the path name or UNC path name)
Unlike file I/O operations on file descriptors, standard I/O operations are performed on streams.Stream:
For the stream, there is a good explanation in "C and pointer:
Ansi c further abstracts the concept of I/O. For C Programs, All I/O operations
Standard I/O is defined by the ANSI C standard and can be used not only on Unix/Linux, but also elsewhere.
Operations on files corresponding to the standard I/O library are performed around streams. When a file is opened or created using the
Learn about KVM in a series of articles:
(1) Introduction and Installation
(2) CPU and memory virtualization
(3) I/O QEMU full virtualization and quasi-virtualization (Para-virtulizaiton)
(4) I/O pci/pcie Device Direct
I/O throughput is a factor that affects data redo. oracle media recovery depends on I/O. If I/O has a bottleneck, it will inevitably affect the backup database.
I/o throughput is a factor that affects data redo. oracle media recovery depends on I/o.
I. Oracle related statistical functions for IO informationThe Oracle I/O stack contains HBAs, which stores the relevant switches and stores the physical disks. Then Oracle recommends validating I/O to avoid problems when deploying applications.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.