首页> 外国专利> Method and apparatus for a scheduling driver to implement a protocol utilizing time estimates for use with a device that does not generate interrupts

Method and apparatus for a scheduling driver to implement a protocol utilizing time estimates for use with a device that does not generate interrupts

机译:用于调度驱动器以利用与不产生中断的设备一起使用的时间估计来实施协议的方法和装置

摘要

The present invention provides a method and apparatus for a scheduling driver to implement a protocol using time estimates for use with a device that does not generate interrupts. An application calls the scheduling driver to start an Input/Output (I/O) request to a device. The scheduling driver determines if the device is busy. If the device is not busy, the scheduling driver provides an estimated processing time (EPT) for the I/O request to be completed to the application. In one embodiment, if the device is busy, the scheduling driver calculates an estimated amount of time left (EATL) until the device will be available to the application and provides this EATL to the application. When the device is not busy, the application sleeps for the estimated processing time (EPT) and calls the scheduling driver to obtain the I/O operation results. If the I/O request has been completed, the scheduling driver provides the I/O operation results to the application. However, if the I/O request has not been completed, the scheduling driver calculates an estimated processing time remaining (EPTR) for the I/O request to be completed and provides the EPTR to the application. The application then sleeps for the estimated processing time remaining (EPTR) and again calls the scheduling driver to obtain the I/O operation results. These operations can be repeated until the I/O request has been completed.
机译:本发明提供了一种用于调度驱动器以使用时间估计来实现协议的方法和装置,以用于不产生中断的设备。应用程序调用调度驱动程序以启动对设备的输入/输出(I / O)请求。调度驱动程序确定设备是否忙。如果设备不忙,则调度驱动程序为要完成的I / O请求提供估计的处理时间(EPT)给应用程序。在一个实施例中,如果设备忙,则调度驱动器计算估计的剩余时间量(EATL),直到该设备可用于该应用程序,并将该EATL提供给应用程序。当设备不忙时,应用程序将休眠估计的处理时间(EPT),然后调用调度驱动程序以获得I / O操作结果。如果I / O请求已完成,则调度驱动程序将I / O操作结果提供给应用程序。但是,如果I / O请求尚未完成,则调度驱动程序将为要完成的I / O请求计算估计的剩余处理时间(EPTR),并将EPTR提供给应用程序。然后,该应用程序休眠估计的剩余处理时间(EPTR),然后再次调用调度驱动程序以获得I / O操作结果。可以重复这些操作,直到完成I / O请求为止。

著录项

  • 公开/公告号US6795873B1

    专利类型

  • 公开/公告日2004-09-21

    原文格式PDF

  • 申请/专利权人 INTEL CORPORATION;

    申请/专利号US20000607256

  • 发明设计人 DAVID M. BARTH;BRIAN D. NELSON;

    申请日2000-06-30

  • 分类号G06F30/00;

  • 国家 US

  • 入库时间 2022-08-21 23:18:27

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号