首页> 外国专利> System and method for performing efficient hardware context switching in an instrumentation system

System and method for performing efficient hardware context switching in an instrumentation system

机译:用于在仪器系统中执行有效的硬件上下文切换的系统和方法

摘要

A system and method for performing more efficient hardware context switches in a computer-controlled instrumentation system including a computer system which controls a plurality of instruments. The instrumentation system includes a direct memory access transfer device which performs various data transfers between the computer system and the various instruments. The direct memory access transfer device includes different hardware contexts for different transfers, and the DMA transfer device automatically configures itself to different contexts with minimal CPU involvement. For each process or thread requiring a different DMA transfer device context, the CPU prepares the context information and stores the context in memory. The CPU then provides a request list to the DMA transfer device including interleaved context pointers and data transfer packets. When the DMA transfer device is performing transfers and needs to switch to a new context, the DMA transfer device reads the context from memory and automatically configures itself. Since, the context is stored in memory and hence readily available, the DMA transfer device does not have to interrupt the CPU to receive a new context. Once the CPU has prepared and stored the context information and provided the address of the context information to the DMA transfer device, the DMA transfer device can switch between contexts for transfers corresponding to different processes or threads numerous times without CPU involvement, thus increasing system efficiency.
机译:一种用于在计算机控制的仪器系统中执行更有效的硬件环境切换的系统和方法,该计算机控制的仪器系统包括控制多个仪器的计算机系统。仪器系统包括直接存储器访问传输设备,该设备在计算机系统与各种仪器之间执行各种数据传输。直接内存访问传输设备包括用于不同传输的不同硬件上下文,而DMA传输设备会自动将自身配置为不同的上下文,而不会占用太多CPU。对于需要不同DMA传输设备上下文的每个进程或线程,CPU准备上下文信息并将上下文存储在内存中。然后,CPU向DMA传输设备提供请求列表,其中包括交错的上下文指针和数据传输包。当DMA传输设备正在执行传输并且需要切换到新的上下文时,DMA传输设备会从内存中读取上下文并自动进行自我配置。由于上下文存储在内存中,因此易于使用,因此DMA传输设备不必中断CPU即可接收新上下文。一旦CPU准备好并存储了上下文信息并将上下文信息的地址提供给DMA传输设备,DMA传输设备就可以在上下文之间切换对应于不同进程或线程的多次传输,而无需CPU的参与,从而提高了系统效率。

著录项

  • 公开/公告号US5659749A

    专利类型

  • 公开/公告日1997-08-19

    原文格式PDF

  • 申请/专利权人 NATIONAL INSTRUMENTS CORPORATION;

    申请/专利号US19950437025

  • 发明设计人 BRIAN KEITH ODOM;BOB MITCHELL;

    申请日1995-05-08

  • 分类号G06F9/00;

  • 国家 US

  • 入库时间 2022-08-22 03:09:35

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号