Abstract
Green Bin Packing (GBP) is a novel variant of the classic bin packing problem that models the trade-off between the fixed cost of opening a server and the variable cost of overutilizing it. This paper provides a comprehensive theoretical framework, proving the problem is NP-hard but approximable. We demonstrate that while classic algorithms work well when overutilization is "cheap," new threshold-based strategies are essential when penalties are high.
Introduction
In classic online bin packing, items are placed into the minimum number of unit-capacity bins, a standard model for server task allocation. However, modern cloud computing introduces new complexities:
- Sustainability: Data centers may use "green" energy up to a threshold, after which they must switch to more expensive "black" energy.
- Overcommitment: Providers often sell more capacity than physically available, incurring costs for performance degradation if usage exceeds a "safe" threshold.
The Green Bin Packing model addresses this by defining a "green" zone of size $G$ in each bin. Packing items within this zone is free (post-opening), while packing beyond $G$ into the "black" zone incurs a linear cost at rate $\beta$. The goal is to minimize the total cost: (Number of Bins) + $\beta \times$ (Total Black Space Used).
Methods
The authors evaluate GBP through theoretical analysis and empirical simulations:
- Threshold-Based Algorithms: They introduce algorithms using an "effective capacity" $G + \tau$. Classic algorithms like NextFit, WorstFit, AlmostAnyFit (BestFit/FirstFit), and Harmonic are adapted to this model.
- Theoretical Framework: The authors generalized standard "weight per bin" analysis into a "weight per cost" framework to account for the dual nature of the cost function.
- Complexity: The offline version is proven NP-hard via reduction from the Partition problem, supported by an Asymptotic Polynomial-Time Approximation Scheme (APTAS).
Key Insights
- The $\beta G$ Threshold: The problem's behavior hinges on $\beta G$. If $\beta G \le 1$, black space is relatively cheap, and filling bins to 1.0 is generally optimal. If $\beta G > 1$, black space is expensive, requiring more conservative packing.
- WorstFit’s Performance: In the Green setting, WorstFit performs significantly better than NextFit. By balancing load across bins, WorstFit maximizes the use of "free" green space, whereas NextFit's sequential approach often wastes it.
- Piecewise Competitive Ratios: Unlike the single-number ratios of classic bin packing, GBP ratios are continuous piecewise functions of $\beta$ and $G$, reflecting the shifting trade-offs between opening bins and paying penalties.
Results
The theoretical analysis establishes bounds across different regimes of $\beta$ and $G$.
When $\beta G \le 1$, WorstFit achieves a competitive ratio strictly better than 2. For the more expensive regime where $\beta G > 1$, threshold-optimized versions of AlmostAnyFit and Harmonic achieve a ratio of $1.75 - \Omega(1/\beta G)$.
Empirical simulations using Weibull and Uniform distributions show that BestFit and FirstFit consistently outperform other methods, especially when the threshold $\tau$ is tuned.
Conclusion
Green Bin Packing provides a robust framework for modern resource management. Future research will explore superlinear cost functions and learning-augmented directions, such as using machine learning for adaptive thresholding in non-stationary environments.
Summary updated