TL;DR
This paper investigates software aging in OpenStack, a critical cloud infrastructure component, by comparing memory usage and response time as indicators. They found that while memory usage can be misleading, response time, especially when combined with workload frequency and error analysis, is a more reliable predictor of aging and potential failures.
What Problem Does This Paper Address?
Cloud systems, like OpenStack, are prone to failures that can lead to significant economic losses and security breaches. Software aging, a phenomenon where prolonged usage degrades system performance and increases failure rates, is a key contributor to these issues. While various "aging indicators" are used to detect this degradation, there's a lack of comprehensive comparison of these indicators across different cloud configurations and workloads. This paper aims to fill this gap by comparing two readily available indicators – memory usage (including swap) and request response time – within the context of OpenStack.
Methods
The authors developed an experimental setup using OpenStack, Kolla-Ansible for deployment, and Rally-OpenStack for workload execution. They designed accelerated testing scenarios to induce software aging by running various workloads. Their methodology, inspired by the SWARE approach, involved three phases: stress (continuous workload), rejuvenation (redeployment of OpenStack), and post-rejuvenation. They collected data on workload duration, memory availability, and swap usage. Statistical analysis, including the Mann-Kendall test and Sen's Slope, was used to identify trends in these indicators. They also performed a detailed failure analysis to understand how different error types impact aging.
Datasets
The paper does not explicitly mention using pre-existing datasets. Instead, they generated their own data through extensive experiments conducted on a custom-built OpenStack testbed. This testbed involved multiple OpenStack deployments with varying configurations (all-in-one vs. multi-node) and workload concurrency levels (1 to 64).
Key Insights and Ideas
- Memory usage can be a red herring: While memory usage (especially swap) shows aging trends, it doesn't always correlate well with workload duration and can even show opposite trends, making it less reliable on its own.
- Response time is a stronger indicator: Request response time, particularly when analyzed alongside workload execution frequency and error patterns, proves to be a more robust indicator of software aging and its impact on system performance.
- Concurrency accelerates aging: Higher workload concurrency significantly speeds up aging trends in workload duration and swap usage.
- Configuration matters: Different OpenStack configurations (all-in-one vs. multi-node) exhibit distinct aging behaviors and performance characteristics.
- Failure analysis is crucial: Understanding the types of failures and their patterns is essential for a complete picture of software aging, as some failures can directly contribute to degradation.
- Ageing is complex: The interaction between different indicators and the influence of factors like system warm-up phases and resource limitations (quotas) add complexity to aging analysis.
Key Results
- The study conducted 12 experimental scenarios with varying OpenStack configurations and workload concurrency levels.
- In scenarios with high concurrency (16 and 64), a significant proportion of errors were related to exceeding security group quotas, indicating an overloaded state rather than critical failures.
- For workload duration, rejuvenation actions were less effective in restoring the indicator to its original state compared to memory indicators in some scenarios.
- Scenario 4 experienced a critical failure due to physical space exhaustion on compute nodes, highlighting a resource depletion issue.
- In scenarios 5 and 6, OpenStack entered a failed state due to instance capacity exhaustion, but rejuvenation improved performance.
- The Mann-Kendall test and Sen's Slope analysis confirmed aging trends in most scenarios, with response time and workload duration often showing clearer patterns than memory usage.
Limitations and Future Work
- Wait phase extension: The authors suggest extending their methodology by incorporating a "wait phase" (from the SWARE methodology) to better understand how the system rejuvenates itself when idle, which could provide a more balanced view of aging and overload.
- Fault tolerance: The current single-point fault tolerance mechanism in their workload definition is limited. Future work could involve more robust fault tolerance by implementing mechanisms to clean up leftover OpenStack entities after errors.
- Earlier rejuvenation: Triggering rejuvenation autonomously at the first sign of system failure, rather than waiting for a specific temporal point, could be a more efficient approach.
- More indicators: While they focused on memory and response time, exploring other indicators and their interplay would provide a more comprehensive understanding of software aging.
- Real-world complexity: The experiments were conducted in a controlled environment. Future work could explore the impact of more dynamic and unpredictable real-world cloud environments.
Summary updated