欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
Kernel Asynchronous I/O (AIO) Support for Linux

Kernel Asynchronous I/O (AIO) Support for Linux

Overview

AIO enables even a single application thread to overlap I/Ooperations with other processing, by providing an interface forsubmitting one or more I/O requests in one system call (io_submit())without waiting for completion, and a separate interface (io_getevents())to reap completed I/O operations associated with a given completiongroup.

Support for kernel AIO has been included in the 2.6 Linux kernel.

What Works?

  • AIO read and write on raw (and O_DIRECT on blockdev)
  • AIO read and write on files opened with O_DIRECT on ext2, ext3, jfs, xfs

What Does Not Work?

  • AIO read and write on files opened without O_DIRECT (i.e. normal buffered filesystem AIO). On ext2, ext3, jfs, xfs and nfs, these do not return an explicit error, but quietly default to synchronous or rather non-AIO behaviour (i.e io_submit waits for I/O to complete in these cases). For most other filesystems, -EINVAL is reported.
  • AIO fsync (not supported for any filesystem)
  • AIO read and write on sockets (doesn't return an explicit error, but quietly defaults to synchronous or rather non-AIO behavior)
  • AIO read and write on pipes (reports -EINVAL)
  • Not all devices (including TTY) support AIO (typically return -EINVAL)

Additional functionality is available HERE

  • Buffered filesystem AIO, i.e. AIO read and write on files opened without O_DIRECT, on ext2, ext3, jfs, xfs, reiserfs.
  • Does not include AIO fsync
  • AIO read and write on pipes (from Chris Mason)

Q. Where can I find AIO libraries that utilize kernel AIO onLinux ?

A. You need to install the libaio package if you are writing AIOapplications which use the native AIO interfaces (libaio-0.3.99)

Q. Is AIO functionality available for 2.4 kernels?

A. Patches for 2.4 can be found HERE . Also check out the original Linux-AIO home page.


Reading About the Linux Kernel AIO Design

  • Asynchronous I/O Support Linux 2.5, Ottawa Linux Symposium 2003
    Covers the AIO design for 2.6, including the filesystem AIO implementation that's currently in the -mm tree, and some performance results for O_DIRECT AIO using rawiobench.
  • AIO Design Notes written at the time of the 2.4 AIO implementation, These are a little out-of-date, but provide some idea and background on various issues, alternative design approaches and considerations involved in an AIO implementation and describes the design of the 2.4 AIO implementation.
  • Round 3: aio vs /dev/epoll compares epoll, AIO poll and AIO read behaviour. The full paper is included in the OLS 2002 Proceedings.

Future Work

  • Performance Tuning
  • Vector AIO

Benchmarks and Testing

Performance testing/microbenchmarking
  • Chris Mason's aio-stress benchmark issues a stream of AIO requests to one or more files, where one can vary several parameters like I/O unit size, total I/O size, depth of iocbs submitted at a time, number of concurrent threads, type and pattern of I/O operations, etc. It reports the overall throughput attained and average io submission latency.
  • rawiobench is another microbenchmark which can issue sequential or random disk I/O. It supports both synchronous and asynchronous I/O for O_DIRECT and buffered filesystem AIO and reports throughput and CPU utilization results.
Other tests AIO tests:
  • Daniel McNiel's (OSDL) aiocp test.
  • fsx-linux is now enabled for AIO. Just compile it with -DAIO.

Performance Results

  • Filesystem AIO aiostress results with and without fsaio patches 
本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
kernel oops (Unable to handle kernel paging request at virtual address )三種內存訪(fǎng)問(wèn)異常
【轉】Linux內核裁剪的具體步驟 - 沉默 - ChinaUnix個(gè)人空間 - Powe...
深入理解Linux內核I/O機制:探索文件系統與設備驅動(dòng)
I/O Event Handling Under Linux
Linux 文件系統擴展屬性 xattr
Flash Filesystems for Embedded Linux Systems
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久