Windows 7进程间通信存在很大的性能问题 [英] Windows 7 inter-process communication has big performance problems

查看:277
本文介绍了Windows 7进程间通信存在很大的性能问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个用C ++编写的系统.当它开始运行时,它将启动一个附加程序.附加组件是COM EXE(外部进程服务器).客户可以调用插件,获取系统指针,为系统开发新功能.在Windows XP下,性能不错,但是在Windows 7上安装系统后,它的速度慢了7〜8倍.我向系统中添加了大量数据,并记录了不同部分的时间.最后,我发现进程间调用非常慢.我不知道为什么有人可以帮我吗?我受到了它的长期困扰.

We have a system, written by C++. When it starts running, it will start an addon program. The addon is a COM EXE (outer process server). Customers can call the addon, get the system pointer, developing new features for the system. The performance is good under windows XP, but it is slower 7~8 times after we install our system on the Windows 7. I add amount of data into system, record the time at different parts. Finally, I found that the interprocess calling is very very slow. I don''t know why? Could anybody help me? I was persecuted by it for a long period.

推荐答案

您的问题是笼统的.您应该提到正在使用的进程间通信模型的详细信息,并且可能发布一些相关的代码.是否尝试使用VTune或AMD代码分析器之类的分析器分析服务?您甚至可以对其进行调试,并找出降低代码速度的热点. :)
Your question is to general.You should mention the details for inter-process communication model are you using and maybe post some relevant code.Have you tried to analyse your service using a profiler like VTune or AMD code analyst?You could even debug it and find the hot spots that slow down your code. :)


这篇关于Windows 7进程间通信存在很大的性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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