Execution of load balancing algorithm on cloud using matlab and distributed computing server.
이전 댓글 표시
I have written a load balancing algorithm on MatLab. i want to execute it on cloud using Matlab and 6 machines. I know that MATLAB provides the Parallel computing tool for this purpose. Please any one is there to guide me how should i proceed.
댓글 수: 2
Akula Nishanth
2020년 6월 29일
hai can you provide me the code for the algorithm which you have written
Abdulrauf Gara
2023년 8월 15일
Please help with code of load balance on matlab Thank you
답변 (1개)
Walter Roberson
2015년 6월 8일
0 개 추천
parfor() manages loads automatically, so you possibly want to work with spmd() and use labSend() to send new work to a worker.
Note: you will need the Distributed Computing license in order to work with multiple machines.
I do not know if the Distributed Computing has facilities to build your own scheduler; it might.
댓글 수: 2
Hemant Petwal
2015년 6월 9일
Walter Roberson
2015년 6월 9일
If you are wanting to do all the system-level work of monitoring processes, determining workloads, and so on, your own job scheduler, then see http://www.mathworks.com/help/mdce/configure-parallel-computing-products-for-a-generic-scheduler.html
The alternative is that you could define your own "work queue" routines and start spmd labs and use labSend() and labReceive() to distribute tasks from the workers and get back results.
Are you interested in doing things like monitoring system workload including non-MATLAB work, and watching out for servers that have hung, and worry about disks filling up, and all the other overhead of running reliable computer systems? If so then you should create your own generic scheduler.
If not, if you are interested in "well-behaved" ideal systems and you are doing something like modelling industrial process systems that build parts at different rates, then model each industrial component as a lab and communicate with it using the lab* routines and let the DCS handle the overhead.
카테고리
도움말 센터 및 File Exchange에서 MATLAB Parallel Server Licensing in the Cloud에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!