XPerf中的硬故障是什么 [英] What is Hard Faults in XPerf

查看:91
本文介绍了XPerf中的硬故障是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用XPerf对系统进行概要分析. 并且看到在HardFaults中进行活动时会出现性能问题!

I'm trying to profile a system with XPerf. And see that performance problems occurs when there is activity in HardFaults !

但是我无法弄清楚并在Google中找到xperf显示的这些硬故障是什么. 它们有什么关系? 它们表示什么? 对于这种情况有普遍的补救办法吗? 硬故障表

But what I cant figure out and find in google what are these Hard Faults that xperf shows. What are they related to? What do they indicate? Is there any universal remedy for such situations? Hard faults table

推荐答案

的确. 首先,在早期版本的Windows中,硬错误"以前被称为页面错误".也许从名称中也可以更容易地理解页面错误.当部分内存中的地址出现时,就会发生硬错误.程序不再位于主内存中,而是被换出到页面文件中,从而使系统可以在硬盘上寻找它.可怕的是,硬盘跳动的可能性增加了.那是程序停止响应,但是硬盘驱动器继续运行了很长一段时间.这在历史上被称为进入页面文件".

Indeed. "First of all, a "hard fault" was previously called a "page fault" in earlier versions of Windows. Perhaps page faults were more easily understood from the name, too. A hard fault happens when the address in memory of part of a program is no longer in main memory, but has been instead swapped out to the paging file, making the system go looking for it on the hard disk. When this happens a lot, it causes slowdowns and increased hard disk activity. When it happens an awful lot, the possibility of hard disk thrashing arises. That's when a program stops responding, but the hard drive continues to run for an extended period. This has historically been referred to as "getting into the page file."

这里是文章. http://www.brighthub.com/computing/windows-platform/articles/52249.aspx

但是请谨慎使用本文的以下建议,因为这样做并不完全正确: http://player.microsoftpdc.com/Session/1689962d-dea2-48bd -80d8-96e954fa5329 http://player.microsoftpdc.com/Session/1c97b279-d7e3-4a3e-9a76-0dac23dfddb5

But be carefull with following suggestions of this article, because it is not quite correct to do so: http://player.microsoftpdc.com/Session/1689962d-dea2-48bd-80d8-96e954fa5329 http://player.microsoftpdc.com/Session/1c97b279-d7e3-4a3e-9a76-0dac23dfddb5

这篇关于XPerf中的硬故障是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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