网络负载和硬盘抖动 [英] Network Load and HDD thrashing

查看:52
本文介绍了网络负载和硬盘抖动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在开发一个使用IE作为用户界面的分布式图像分析应用程序。目前我正在将不断刷新的图像传输到IE中的iframe - 每个母版页最多12个。每张图片都是约500Kb的jpeg。这导致网络负载
平均约为6Mb / s。 CPU负载约为18%,可用内存约为95%。在所有其他方面,系统响应速度很快,但图像不能可靠地刷新,IE似乎在某处导致图像滞后的瓶颈。每个图像的刷新率
设置为1fps。看看领导的网络活动和硬盘驱动器在我看来这两者是相互关联的。 IE正在请求数据,网络正在传送数据,它被保存到HDD然后在IE中显示。我的猜测是,IE正在将
的传入字节流假脱机到磁盘以创建一个jpg文件,然后从磁盘读取并显示。所以有很多磁盘i / o正在进行,我认为这是瓶颈。我关闭了缓存,IE没有缓存文件。因此,除非任何人都能给我更好的建议,否则我希望在文件系统中隔离图像文件在diaplay之前组装的位置并将该位置移动到ramdisk。所以我的问题是,有没有人有更好的想法,例如如何指示IE假脱机, 
以及hdd上正在处理的传入网络数据的位置?


感谢您的任何建议

解决方案


我担心你无法阻止IE将jpg文件保存到HDD,除非你设置"否" -cache"在HTTP响应标题中(你已尝试过这个)。


请参阅
http://support.microsoft.com/kb/234067


 


默认情况下文件路径为%userprofile%\ AppData \ Local \ Microsoft \ Windows \ Temporary Internet Files


 


谢谢。


Hi,

I'm developing a distributed image analysis application using IE as the user interface. Currently I'm transferring constantly refreshing images to iframes in IE - upto 12 per master page. Each image is a jpeg at around 500Kb. This results in a network load average of around 6Mb/s. CPU load is around 18% and available memory is about 95%. In all other respects the system is highly responsive but the images won't refresh reliably and IE seems to have a bottleneck somewhere causing the images to lag. Refresh rate is set at 1fps for each image. Looking at the network activity led and the HDD led it seems to me that the two are linked. IE is requesting data, the network is delivering data, it is being saved to HDD and then displayed in IE. My guess is that IE is spooling the incoming byte stream to disk to create a jpg file it then reads from disk and displays. So there is a lot of disk i/o going on and I think that this is the bottleneck. I have turned off the cache and IE isn't caching the files. So, unless anyone can give me any better advice I am looking to isolate where in the filesystem the image files are being assembled prior to diaplay and move that location to a ramdisk. So my question is, does anyone have any better ideas, eg how to instruct IE to spool to ram,  and also where on the hdd is the incoming network data being processed?

Thanks for any suggestions

解决方案

Hi,

I'm afraid you cannot stop IE from saving the jpg file to HDD, unless you set "no-cache" in the HTTP response header(you've tried this).

Please refer to http://support.microsoft.com/kb/234067

 

By default the file path is %userprofile%\AppData\Local\Microsoft\Windows\Temporary Internet Files

 

Thanks.


这篇关于网络负载和硬盘抖动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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