Browsing by Author "Gruber, Philipp"
Now showing 1 - 2 of 2
- Results Per Page
- Sort Options
Item Open Access Evaluating of feasibility and aiding explainability of scaling policies using architectural-based simulations(2021) Gruber, PhilippOnline services have become an indispensable part of our lives. The Internet of Things (connecting electronic devices to the Internet) has added another possible application in recent years. The resulting increase or fluctuation in the number of users means that these services must remain available and accessible. Disruptions and outages have serious consequences. If, for example, the scaling of a service does not function properly, the provider may incur considerable costs. Cloud engineers work with so-called scaling policies to enable elastic systems that automatically scale resources above a certain threshold of a metric. To avoid mistakes, architecture-based simulations like Palladio's can help. Palladio's effectiveness has been demonstrated in various scenarios such as software as a service. However, whether Palladio is also effective in the context of scaling policy has not been sufficiently investigated so far. The goal of this work is to investigate the feasibility of scaling policy simulation using Palladio. Subjects of investigation are the accuracy of the simulations and whether the Palladio model helps with the comprehensibility of scaling policies. To determine the accuracy, measured values are recorded during an experiment and later compared to the Palladio simulation results. A Kubernetes cloud system from the MoSaIC project is used as a reference system. The use case of the project is container ships sending data, with the number of ships increasing due to a new customer. To generate the load, the load testing software Gatling is used. The experiment is divided into two phases, a scaling experiment and an elasticity experiment. The former is used to quickly rank the MoSaIC Kubernetes system, which is a prerequisite for the design of the elasticity experiment. The design provides two load scenarios (low and medium). With these scenarios, two different scaling policy configurations, which differ in terms of the threshold value, are put under load in the experiment. These scenarios, the system, and the scaling policies were modeled with Palladio. During the modeling process, we found that various factors made it difficult to model the experiment scenario and run the simulation. The corresponding deficiencies and knockout criteria and possible workarounds to circumvent the problems were documented. The scaling policies could not be simulated to the full extent. Therefore it was not possible to simulate them. However, we were able to show the potential of Palladio and that the Palladio model we used allows the tracking of how self-adaptations were performed. That theoretically improves the understandability of the scaling policies. Future work can build on our findings and find out via further experimentation whether the documented deficiencies can be fixed or circumvented. In addition, an experiment should be conducted to investigate whether the improved understandability of the scaling policies through Palladio can also be proven.Item Open Access Using Palladio network links to model multicore architecture memory hierarchies(2019) Gruber, PhilippThis thesis investigates the capabilities of Palladio to predict the performance of software/hardware systems. The Palladio simulations are accurate for systems which run on single core processors. Experiments showed that the predictions are not accurate for multicore systems. The parallelization of programs is complex. In addition a parallelized program executed on four cores is not automatically four times faster than the single core program. There are reasons for this on the software/code side (e.g. Amdahl's law) but also on the hardware side (e.g. memory bandwidth). The so called memory bandwidth is referring to the capacity limit of the memory bus, the bus from the CPU to the memory. The memory bandwidth is theoretically becoming a more important factor by an increasing degree of parallelization. More cores lead to the fact that more data is flowing in shorter time that bus. A consequence is that memory bandwidth becomes a bottleneck because of an over strained memory bus, which leads to idle CPU's. Due to the fact that they have to wait to load data from the memory. Such effects of multicore systems are not taken into account by Palladio. This thesis had the target to find out, if Palladio is able to model the memory bandwidth with existing elements from their component model and subsequently if this modeling leads to more accurate predictions. Our work showed on the basis of an experiment with a matrix multiplication that this is possible, but we are not able to reach the 100% accuracy with our approach. The achieved accuracy of approximately 90 % in average indicates the existence of more factors which contribute to the non-linear speedup of multicore processors. Examples are the synchronization of shared memory or the contention for these resources. In addition our experiments lacked in confidence to determine in which quantity the memory bandwidth was a bottleneck for our specific use-case. This should be the target of future work.