-
公开(公告)号:KR101432751B1
公开(公告)日:2014-08-22
申请号:KR1020120148587
申请日:2012-12-18
Applicant: 서강대학교산학협력단
Abstract: 본 발명은 가상화 환경 내 하둡 맵리듀스의 부하 분산 시스템에 관한 것으로, 보다 구체적으로는 복수 개의 가상머신이 가상화 플랫폼으로부터 복수 개의 슬롯(slot)별 태스크 수행완료시간을 각각 수신하는 단계; 상기 가상머신이 현재부터 각 가상머신 내 모든 슬롯이 태스크 수행을 완료하는 수행완료시간까지의 남은 시간을 연산하는 단계; 상기 가상머신이 연산한 남은시간을 마스터노드에 전달하는 단계; 상기 마스터노드가 수신한 복수 개의 남은 시간에 대한 평균값을 연산하는 단계; 및 상기 마스터노드가 상기 평균값에 따라 각 가상머신의 CPU 자원 할당량을 조절하여 상기 각 가상머신의 태스크 수행시간이 동일하도록 제어하는 단계;를 포함한다.
이러한 구성에 의해, 본 발명의 가상화 환경 내 하둡 맵리듀스의 부하 분산 방범 및 시스템은 다수의 가상머신이 태스크 수행 시, 동일한 태스크 수행시간이 소요됨으로써, 클러스터 환경에서의 성능 향상을 기대할 수 있는 효과가 있다.-
公开(公告)号:KR1020140080795A
公开(公告)日:2014-07-01
申请号:KR1020120148587
申请日:2012-12-18
Applicant: 서강대학교산학협력단
CPC classification number: G06F9/06 , G06F9/44 , G06F9/45504 , G06F9/45533 , G06F9/46 , G06F15/16
Abstract: The present invention relates to a load balancing system for a Hadoop MapReduce under a virtual environment. More specifically, a load balancing method includes the steps of: receiving, by a plurality of virtual machines, the times at which tasks have been finished in accordance to a plurality of slots from a virtualization platform; calculating, by the virtual machine, a time remaining until the tasks for all the slots in the virtual machine are completely performed from a preset time; transmitting the remaining time calculated by the virtual machine to a master node; calculating an average value of a plurality of remaining times received by the master node; and performing a control operation such that the master node adjusts a CPU resource allocation amount of each virtual machine in accordance to the average value. Through the above structure, in accordance to the load balancing method and the load balancing system for the Hadoop MapReduce under virtual environment, when the virtual machines performs the tasks, the same time is taken to perform the tasks such that the improvement for performance is able to be expected under the cluster environment.
Abstract translation: 本发明涉及一种用于在虚拟环境下的Hadoop MapReduce的负载平衡系统。 更具体地,负载平衡方法包括以下步骤:由多个虚拟机根据来自虚拟化平台的多个时隙接收完成任务的时间; 由虚拟机计算剩余时间,直到虚拟机中的所有时隙的任务从预设时间完全执行; 将由虚拟机计算出的剩余时间发送到主节点; 计算由主节点接收的多个剩余时间的平均值; 并且执行控制操作,使得主节点根据平均值来调整每个虚拟机的CPU资源分配量。 通过上述结构,根据虚拟环境下的Hadoop MapReduce的负载平衡方法和负载平衡系统,虚拟机执行任务时,同时执行任务,使性能得到改善 在集群环境下可以预期。
-