Abstract
Resource matching is the core function of the grid. This paper analyzed the characteristics of the grid, designed a Hierarchical Resource Scheduling Model for data resources in grid and a new resource scheduling algorithm. This model can combine each function units of resource scheduling organically to meet with resource scheduling requirements of different goals, different levels, and different particle size involved in grid resource scheduling. Finally, a new resource scheduling algorithm was designed based on the resource object space distance. The experimental results show that the algorithm can effectively balance the performance and cost index in less computation, realize resource scheduling, and won't cause too much burden to the system.
Introduction
In grid computing, massive amounts of distributed resources are pooled to solve complex problems, making scheduling a significant "matchmaking" challenge. Traditional approaches typically fall into two categories: centralized models, which are easy to manage but suffer from performance bottlenecks and single points of failure; and distributed models, which are resilient but often struggle with security risks and slow resource discovery. This paper proposes a hierarchical structure that combines the reliability of centralized systems with the scalability of distributed networks to ensure resources of varying scales can be scheduled efficiently.
The Hierarchical Model
The proposed system is organized into a three-layer hierarchy consisting of High, Intermediate, and Bottom layers. This structure allows for efficient inter-domain and intra-domain resource management.
- Inter-domain (Outer Layer): Utilizes Web Services (WS) technology to provide a standardized way for different management domains to communicate securely and discover resources.
- Intra-domain (Internal Layer): Employs Peer-to-Peer (P2P) technology. Within a specific domain, nodes interact as peers to prevent any single node from becoming a bottleneck.
- Node Roles: Each domain includes a "Center Agent Node" for primary management, "Standby Agent Nodes" for failover, and "Common Resource Nodes" representing providers and requesters.
Scheduling Algorithm
The scheduling algorithm treats resource matching as a problem of functional analysis. It involves several key steps:
- Vectorization: Performance metrics (e.g., speed, accuracy) and costs (e.g., memory, bandwidth) are converted into multi-dimensional vectors.
- Normalization: A non-dimension method is applied to ensure variables of different magnitudes are treated fairly.
- Weighted Euclidean Distance: The algorithm calculates the "distance" between a user's requirements and a provider's offerings in a multi-dimensional space. The resource with the minimum distance is selected. Weight coefficients allow the system to prioritize specific needs, such as favoring performance over cost.
Experimental Evaluation
The model was evaluated using a simulated dataset based on intrusion detection software characteristics in a Matlab environment. The simulation included six software resources with varying performance and cost metrics, and four user requests with specific requirements.
Results
The simulation results demonstrated that the algorithm effectively identified the optimal resource for each requester. By mapping abstract requirements to a geometric space, the model allows for "fuzzy" matching where the best available option is identified even without a perfect 1:1 match.
As shown in the membership status graphs, the algorithm successfully identified optimal matches for the test cases (e.g., Request 2 was matched to Resource IV). The algorithm achieves these matches with minimal computation, providing high-quality scheduling without overloading the grid's management infrastructure.
Conclusion and Future Work
The hybrid hierarchical model successfully addresses the limitations of purely centralized or distributed systems. However, challenges remain, such as the subjective nature of determining weight coefficients, which currently relies on expert experience. Future work will focus on automating weight determination and testing the model in live, large-scale grid environments to assess stability under real-world conditions like network latency and node churn.
Summary updated