共享几台服务器之间的CPU负载 [英] share cpu load between several servers

查看:107
本文介绍了共享几台服务器之间的CPU负载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要建议如何最好地扩展exe以使用外部服务器的cpu来执行cpu密集型任务

Need advice on how to best scale exe to use external servers's cpu to perform

。有一系列行动

由 触发Windows / .NET服务(A),它是一个TCP侦听器,等待命令

triggered by  Windows/.NET service (A) which is a TCP listener waiting for command

和B.exe与非.net进程(C)交互。

and B.exe interacts with non .net process (C).

B.exe启动并杀死C.exe根据需要,然后选择由C.exe

B.exe starts and kills C.exe as needed, then picks up xml file dropped by C.exe

删除的xml文件,并在SQL Server 2008中存储来自xml的信息.A .exe和B.exe杀死他们的子进程

and stores info from xml in SQL Server 2008. A.exe and B.exe kill their child process

仅当出现问题并且分配的运行子进程的时间已过期时。通常

only if there was a problem and allocated time for running child process is expired. So normally

子进程完成其功能并自行退出。 A.exe也充当轻量级Web服务器,并将运行时状态发送回用PHP编写的远程客户端。

child process complete their function and exit on their own. A.exe is also acting as light weight web server and sends runtime status back to remote client written in PHP.

总结一下:

1)A.exe开始/杀死B.exe

1) A.exe starts/kills B.exe

2)B.exe开始/杀死C.exe

2) B.exe starts/kills C.exe

B.exe / C. exe可能非常具有CPU意图,只有10个实例可以运行两个核心而不会影响服务器性能

B.exe/C.exe can be very CPU intencive and only 10 instances can be run two core without

。我需要执行至少100个B.exe。

effecting server performance. I would need to execute at least 100's of B.exe.

我研究了网格计算实现,如ngrid,windows集群,.net并行扩展和我迄今为止给出的一个专业建议是退出.NET 并在intel parallel studio中重写整个内容。然而,这种方法虽然大多数
可能是最好的,但它会非常耗时加上C.exe无论如何都无法重写,因为这些是3d派对应用程序。

I researched grid computing implementation like ngrid, windows clusters, .net parrallel extension and one professional advice I was given so far is to quit .NET  and rewrite the whole thing in intel parallel studio. However that approach while most likely the best but it would be very time consuming plus C.exe can not be rewritten anyway as those are 3d party apps.

基本上我需要什么一开始是组合100个刀​​片服务器,每次

Basically what I need for a start is to combine like 100 blade servers and every time

一台服务器上的B.exe计数是10(取决于服务器cpu类型)然后下一个B.exe应该开始另一台服务器

count of B.exe on one server is 10 (depending on server cpu type) then next B.exe should be started on another server

等等但必须这样做,本地磁盘路径应该是相同的位置

and so on but is has to be done is such way that local disk paths should mean the same location

到B.exe / C.exe意味着系统应将所有磁盘驱动器视为一个。

to B.exe/C.exe meaning that all disk drives should be treated by the system as one.

 

谢谢。

 

 

 

 

 

 

 

 

推荐答案

你好,

亲爱的朋友,请做一些改写您的查询。一个简单的问题,功能要求非常混乱,请把功能放在非常容易理解的地方。请记住确实要求正确的功能要求,这是您目前面临的问题
。 请记住,提供正确的功能要求会让您的生活和生活变得更加轻松。请记住这一点。它让生活变得更加轻松。

Dear friend, please do rephrase your query. One simple question , the functional requirement is very confusing , please do put the functional which is very understandable. Please do remember do ask correct functional requirement , which is you are currently facing problem.  Please do remember the providing the right funcitonal requirement makes your life and our life very easier. Please do remember this point. It makes life easier in very sphere of life .

一个简陋的请求,请重新解释你的问题或查询。

One humble request , please do rephrase your question or your query.

问候,

Phijo Mathew Philip。

Phijo Mathew Philip.

 


这篇关于共享几台服务器之间的CPU负载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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