Find Jobs
Hire Freelancers

Symmetrically Initiated Load balancing

$30-75 USD

已关闭
已发布大约 22 年前

$30-75 USD

货到付款
The goal of this assignment is to implement a threshold-based symmetrically initiated scheduling algorithm. The algorithm should be applied to an application that factors a large product-of-two-large-primes number in parallel by trial and error division. The program should be written over your RPC system from assignment 1. The work should be farmed out by a coordinator process, and the worker processes should maintain queues of work that are accessable by the scheduling algorithm, which also carries out communication via RPC calls. (All communication between processes in your solution should use RPC for communication). The program should be highly configurable, allowing the user to specify the number of processes, the number of ranges at each process (different processes should be able to contain different numbers of ranges), the range of values to try in each piece of work, and the thresholds for becoming a sender or receiver. Configuring these parameters should allow us to simulate load in the system and better observe how the algorithm operates. For example, if two processes, A and B, with 5 worker ranges a piece, are each given 10 ranges of values, but A is given ranges consisting of 1000 numbers and B is given ranges consisting of 10000, then A should finish before B, thereby potentially initiating a transfer of work. The output of your program should "trace" the operation of the program, including when work is transferred between processes, which ranges were completed by which processes, etc., in addition to the number's factors (the number will be a product of two large primes). Your design should keep the scheduling code as separate from the factoring part of the algorithm as possible. In other words, your scheduling algorithm should be able to be easily plugged in and used with a different but similarly "embarassingly parallel" program. In particular, this means that you should probably have one component of your program that implements the scheduling algorithm, and others that do the work. Turn in a writeup describing the implementation of your algorithm and your design choices (choice of load index, method for selecting and migrating work, etc.). Notice that the specification of the assignment is vague; I expect as many different designs and implementations as there are students in the class. Also, turn in traces that show that the algorithm works differently in a "simulation" of a heavily loaded environment than a light one. ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Detailed writeup describing the various design choices and the implementation of the program. Complete copyrights to all work purchased. ## Platform Sun Solaris , C/ C++
项目 ID: 2846135

关于此项目

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

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
1威客以均价$43 USD来参与此工作竞标
用户头像
See private message.
$42.50 USD 在14天之内
4.4 (72条评论)
5.5
5.5

关于客户

UNITED STATES的国旗
United States
5.0
8
会员自2月 21, 2002起

客户认证

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