Find Jobs
Hire Freelancers

Simple Distributed Computing Platform

$30-250 USD

已关闭
已发布大约 12 年前

$30-250 USD

货到付款
Description: You are asked to develop a replicator (client) that distributes a large job over a number of computers (a server group) on a single switched LAN (our BU04 lab). In this assignment, a large (simulation) job can be divided into a number of small jobs, each of which can be assigned to one machine from the server group for execution. The execution results of the small jobs can be merged once all of them successfully terminate. System Architecture: client server1 server2 server3 ... | | | | | | | | | LAN | | | |------------------|-------------|--------------|----- The client and servers are running Network File System (NFS) so that user files are visible at $HOME directory. You may want to set up the following environment: $HOME/[login to view URL]: a list of (server) hostnames which participate in the simulation. $HOME/replicate_out: the directory that stores the small job execution result. The simulation program "hyper_link" (binary) is provided. In this assignment, you don't need to know or care what "hyper_link" does, and actually it is a computing intensive (CPU demanding) simulator. The command line arguments of "hyper_link" are job# 100000 999 1 2 2 100, where the job number determines the number of small jobs in your simulation. To allow the client to run a large job, the job# should be given in a tuple: start, end, and step. For example, the command "hyper_link 1 100 1 100000 999 1 2 2 100" yields 100 small jobs with the job# starting from 1 to 100. Each small job produces a screen output (see example below) at the end (if finished successfully). Your code needs to redirect the output to a file and save it in $HOME/replicate_out. For example, ./hyper_link 1 100000 999 1 2 2 100 will produce a screen output looks like: 1:100000:999:2:0.5:1.124571e+00:7.744712e-04:6.245814e-01:6.957320e-04:0.000000e+00:0.000000e+00. Requirements: The communications between the replicator and servers are achieved through remote procedure calls in the client-server fashion. A user interface is required for the replicator to control the server. A command line interface will be acceptable. A (working) graphic user interface (GUI) will impress the instructor and earn up to 20 bonus credits. Your interface should at least support the following operations. show the current CPU load of a certain server (if the server is active). show the current server status (active or inactive). stop a certain server. restart a certain server. For those who are going to implement GUI, you need to create an icon for each server, and show the server status in the real time, e.g., the CPU load (with the mark of hi-threshold), active/inactive, etc. The replicator has to make sure all small jobs are successfully finished. If a server crashes (or not responsive), the running job (not finished yet) will be killed and rescheduled for execution. If a server CPU load exceed the preset threshold (the higher threshold), the replicator stops the server (and therefore kills the job). The replicate should keep polling the CPU load of the stopped server. Once the load becomes lower than the lower threshold (a preset value), the server should be reactivated to run the jobs. The replicator can also stop any server (through user interface) if needed. Once happened, the unfinished job will be killed. If a job terminates abnormally (e.g., being killed), the replicator has to reschedule the job execution later. Makefile: you need to provide a Makefile that allows the instructor to compile your code by simply typing "make". Write-up: you are required to write a README document (either in TXT or PDF format) that describes your project design detail and the execution sequence (with the commands). In particular, please explicitly state which part, if there is any, does not work and
项目 ID: 1545066

关于此项目

1条提案
远程项目
活跃12 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
1威客以均价$150 USD来参与此工作竞标
用户头像
I have previous experience in this topic and I think my skills do-match pretty well the project's requirements. Also, I can provide exhaustive reporting.
$150 USD 在4天之内
5.0 (5条评论)
2.7
2.7

关于客户

INDIA的国旗
ohio, India
0.0
0
会员自4月 4, 2012起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。