Research Article
MQHD: Dynamic Load Balancing Method for Energy-Aware Storage Systems
Algorithm 1
The hot data recognition algorithm.
| Input: a request | | Output: | (1) | ; | (2) | ; | (3) | ifthen; | (4) | place the current file node at the end of | (5) | else | (6) | ; | (7) | ; | (8) | ; | (9) | ifthen | (10) | place the current file node at the end of the original queue; | (11) | else | (12) | place the current file node at the end of the new queue; | (13) | end if | (14) | end if | (15) | ifthen | (16) | ; | (17) | ; | (18) | end if | (19) | fordo | (20) | ifthen | (21) | ; | (22) | ; | (23) | ; | (24) | move the head node of to the end of the new queue; | (25) | end if | (26) | end for |
|