估计x86 CPU上的中断延迟 [英] Estimating of interrupt latency on the x86 CPUs

查看:87
本文介绍了估计x86 CPU上的中断延迟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找有助于估计x86 CPU上的中断等待时间的信息.在"datasheets.chipdb.org/Intel/x86/386/technote/2153.pdf"中找到了非常有用的论文.但是本文对我提出了一个非常重要的问题:如何定义等待当前指令完成所提供的延迟?我的意思是在识别INTR信号与执行INTR微代码之间存在延迟.我记得,英特尔软件开发人员手册还讲述了有关等待当前执行指令完成的信息.但这也说明某些指令可能会被中断.主要问题是:如何为特定处理器定义最大完成指令等待时间.需要估计核心时间和内存访问操作,而不是几秒钟或几微秒.应当考虑缓存和TLD未命中,以及其他可能影响等待的内容.

I looking for the info that can help in estimating interrupt latencies on x86 CPUs. The very usefull paper was found at "datasheets.chipdb.org/Intel/x86/386/technote/2153.pdf". But this paper opened a very important question for me: how can be defined the delay provided by waiting of completion of the current instruction? I mean delay between recognition of the INTR signal and executing of INTR micro-code. As I remember, the Intel Software developer manual also tells something about waiting of completion of the currently executing instruction. But it also tells something about that the some of the instructions can be interrupted in progress. And the main question is: how the maximum completion instruction waiting length can be defined for the particular processor. Estimation in core ticks and memory access operations is needed, not in seconds or microseconds. The cache and TLD misses, and other such stuff that can influence to the waiting should be considered.

需要使用这种估计来调查实现较小的关键部分的可能性,这些部分不会影响中断等待时间.为此,关键部分的长度必须小于或等于CPU最长的不间断指令的长度.

This estimation is needed to investigate the possibility of implementing small critical sections that will not influence to the interrupt latency. To achive this the length of the critical section must be below or equal to the length of the most longest uninterruptable instruction of CPU.

非常欢迎您提供任何帮助.如果您知道一些对您有所帮助的论文,请共享其链接.

Any kinds of help are very welcome. If you know some papers that can be helpfull, please, share the links to it.

推荐答案

如果agner fog的优化手册(与intel开发人员手册一起提供)没有任何内容,那么其他人(除了一些内部intel/amd数据): http://www.agner.org/optimize/

If agner fog's optimization manuals (supplimented with the intel developer manuals) don't have anything, its unlikely anyone/anything else will(save for some internal intel/amd data): http://www.agner.org/optimize/

这篇关于估计x86 CPU上的中断延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆