<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[omi-uulm - Medium]]></title>
        <description><![CDATA[Selected topics from research and daily operations in Cloud Computing and IoT - Medium]]></description>
        <link>https://medium.com/omi-uulm?source=rss----b87a5e1848b0---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>omi-uulm - Medium</title>
            <link>https://medium.com/omi-uulm?source=rss----b87a5e1848b0---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 06:09:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/omi-uulm" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[MLOps in Academic Research — Streamlining Machine Learning Experiments.]]></title>
            <link>https://medium.com/omi-uulm/mlops-in-academic-research-streamlining-machine-learning-experiments-e6bc0ed43aa?source=rss----b87a5e1848b0---4</link>
            <guid isPermaLink="false">https://medium.com/p/e6bc0ed43aa</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[university]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Patrick Michalsky]]></dc:creator>
            <pubDate>Tue, 31 Aug 2021 12:38:41 GMT</pubDate>
            <atom:updated>2021-08-31T12:38:40.813Z</atom:updated>
            <content:encoded><![CDATA[<h3>MLOps in Academic Research — Streamlining Machine Learning Experiments.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RVo64zgB4wExeXm0pH_U9w.jpeg" /><figcaption>by <a href="https://unsplash.com/@kellysikkema?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Kelly Sikkema</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h4>DevOPs</h4><p>DevOps comprises a set of continuous software engineering practices for improving the collaboration between software development and IT operations. The focus is on the implementation of so-called DevOps pipelines, which are automated processes to simplify the production and deployment of software applications while ensuring a reliable, efficient, and standardized workflow. Moreover, both the number of potential errors and the production time are getting reduced. In a modified form, the DevOps principles are also applied to the machine learning domain. The goal of MLOps is to standardize data acquisition, data processing, model training and model evaluation through automated processes and therefore to streamline the lifecycle of machine learning applications.</p><h4>Challenges</h4><p>Besides the efficient realisation of cloud- and cluster systems, the institute of Information Resource Management (OMI) at Ulm University examines the cross-domain integration of cutting-edge machine learning algorithms. The research focuses on the prediction and synthesis of time series data as well as the optimization of decision-making processes. To increase the efficiency of academic research projects, an in-house DevOps pipeline for machine learning applications was designed. The challenges were not only to implement an application-independent automation framework, but also to consider the specific requirements of academic research. The following points formed the focus of attention:</p><ol><li>Compliance with safety standards</li><li>Enabling a parameterized execution of machine learning models</li><li>Realize an automated deployment on high-performance servers</li></ol><p>To integrate the automation pipeline into the institute’s existing project workflows, the MLOps principles were implemented using the DevOps platform GitLab. Moreover, GitLab comes with established features such as source code management, container registry and CI/CD infrastructure, making it more convenient to automate work processes.</p><h4>Approach</h4><p>The basic approach was to implement an automation framework which provides the foundation of newly created machine learning repositories. To set up the automation framework, the required credentials of the high-performance servers, such as SSH key, server address and access tokens have to be included. For security reasons, this operation is performed locally. The automation framework then creates the underlying folder structure of the GitLab repository as well as a list of all protected GitLab CI/CD variables used during the execution of the pipeline. Apart from the variables, no security-related information are stored in the GitLab repository. The GitLab CI/CD pipeline is further linked to the state of the GitLab repository, allowing users to manually decide after every incoming commit whether the GitLab repository source code should be executed. For the implementation, it was crucial that the results could also be obtained via the GitLab CI/CD pipeline.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*lIaMx2sMWJF8fCyHQvcdYA.png" /></figure><h4>Containerization</h4><p>The first challenge was to design an automation framework capable of building parameterized machine learning models while satisfying the various compatibility requirements of the high-performance servers of the state of Baden-Württemberg. To provide machine learning models, which can be used universally, <em>Docker images </em>were chosen as deployment units, containing both the source code and all necessary software dependencies such as system libraries, system tools and the runtime environment. Generally, <a href="https://www.docker.com/"><em>Docker</em></a><em> </em>is a software for isolating applications by using container virtualization. From the <em>Docker images</em>, so-called <em>Docker containers </em>are instantiated, each having its own file system, its own network stack, and its own resource constraints. Processes running within the <em>Docker container </em>are thus separated from the resources of the underlying host operating system, providing an efficient and software-independent way to automate the deployment and execution of machine learning models, especially for MLOps pipelines.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/464/1*beipf-VF2WSTN4ue8UiRyA.png" /><figcaption>Processes running within a container cannot affect processes running in another container, or in the host system.</figcaption></figure><p>Since the automation framework should have been accessible to a large number of academical employees and students, it was necessary to ensure that no unauthorized access could be enforced on the GitLab Runner while executing the GitLab CI/CD pipeline. The greatest security risk was given by <em>Docker </em>itself, as the underlying <em>Docker </em>daemon requires root privileges to create and run <em>Docker images</em>. In addition, <em>Docker containers </em>are instantiated with root privileges by default, allowing unauthorized users to gain privileged access to the host operating system. To address the security vulnerabilities, <em>Docker </em>is replaced by the standalone, daemon-less, and unprivileged container image build software <a href="https://github.com/genuinetools/img"><em>img</em></a>, which also features a higher cache efficiency and can perform multiple build steps simultaneously. Since <em>img</em> inherited the commands from <em>Docker</em>, the transition from <em>Docker </em>to <em>img </em>could be accomplished without further problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*ourk4GWxX3yzdoAYXdSHsg.png" /></figure><p>To guarantee a parameterized and cost-efficient execution of the machine learning models, topic-related processes of the machine learning lifecycle were grouped, modularized, and saved as stand-alone <em>Docker images</em>. Generally, the GitLab CI/CD pipeline distinguishes between the data-related and model-related processing steps. In addition, a third <em>Docker images </em>is created containing the parameter configurations of the machine learning model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/904/1*wX1jY2aUSfu37RdVCa4lFQ.png" /></figure><p>After creation, the three <em>Docker images </em>are stored in the <em>Docker container</em> <em>registry </em>of the automation framework as well as as .<em>tar</em>.<em>gz</em> archive files in the GitLab Runner’s cache. By using .<em>tar</em>.<em>gz</em> archive files, Docker images can be submitted to the high-performance servers without exposing the credentials of the GitLab repository. The cache also ensures that the successive processing steps of the GitLab CI/CD pipeline maintain access to the <em>Docker images</em>, even if non-contiguous sections of the source code have been modified multiple times. In addition, users can download the created <em>Docker images </em>from the GitLab registry to run them in their local environment.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/907f57bfa0eebb5aa0356fd02f44e663/href">https://medium.com/media/907f57bfa0eebb5aa0356fd02f44e663/href</a></iframe><h4>Deployment &amp; Execution</h4><p>The deployment of the created <em>Docker images </em>to the external high-performance servers is automated by the GitLab CI/CD pipeline, using a two-factor authentication (2FA). In this way, the security of the high-performance servers is maintained while the error susceptibility of a manual transmission is reduced. To respond to the usage of varying container virtualizations, the GitLab CI/CD pipeline has also been designed to match the respective high-performance server configurations by converting the transferred <em>Docker</em> <em>images </em>to e.g. <a href="https://sylabs.io/guides/3.5/user-guide/introduction.html"><em>Singularity</em></a><em> </em>images if needed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*BxyfIYS8VIH0pi0Sokhrtw.png" /></figure><p>The benefits of <em>Singularity images </em>lie within the management of user privileges. In contrast to Docker containers, the user privileges within a Singularity container are mapped to the individual users of the high-performance server and cannot be overwritten by default to acquire the root privileges, which are needed to access security-critical areas. Furthermore, the <em>Singularity containers </em>are executed as sub-processes, which on the one hand eliminates the need for an additional daemon and on the other hand simplifies resource management. The latter enables the usage of GPUs to calculate complex machine learning models more efficiently. Alternatively, <a href="https://podman.io/"><em>Podman</em></a><em> images </em>can be created, which serve a similar purpose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/443/1*Z4KH6vHZ_xJcPvFlmgKaaA.png" /><figcaption>In contrast to Docker Singularity images are just normal files on your filesystem.</figcaption></figure><p>For the computation of the parameterized machine learning models, the singularity images are executed sequentially, starting from the parameter image. The parameter image includes one or more parameter configurations in a JSON file. For each containing parameter configuration, a separate <em>environment file</em> is created, which is then saved to the mounted project directory of the high-performance server. In a next step, the data image is executed, which, depending on the implementation, either contains a previously created dataset or obtains and processes a new dataset during execution. Like the parameter image, the dataset is stored in the project directory for further processing. Finally, for each stored <em>environment file</em>, an independent instance of the model image is executed obtaining both the associated environment file and the required dataset via the project directory of the high-performance server. While the <em>environment files </em>are used to instantiate the <em>environment variables</em> of the Docker containers, which in turn are linked to the parameters of the machine learning model, realizing the parametrized execution of the Docker containers, the machine learning model is trained by fitting the dataset.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*e9J-8zMVUMAym0LgsQd-fw.png" /></figure><h4>Documentation</h4><p>Moreover, to keep the manual documentation of the experimental results as simple as possible, both the real-time tracking of the computational progress and the subsequent evaluation of the experimental models is automated by the integration of the machine learning platform <em>Weights &amp; Biases</em>. Especially by using artificial neural network models, <em>Weights &amp; Biases</em> offers a simple but efficient way to visualize the learning progress of different experimental setups within a central dashboard, allowing scientists to share their results among colleagues and students. Furthermore, a variety of neural network architectures can be both created and evaluated by using the automated parameter permutation, providing a more accurate conclusion about the best possible architecture of an artificial neural network model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/983/1*N9VQYSy_1Z1VgeHGAk9V3A.png" /><figcaption>Performance of different parameter permutations, executed with Weights &amp; Biases.</figcaption></figure><h4>Results</h4><p>Finally, by submitting a GitLab CI/CD hook, the results of the parameterized machine learning models are copied from the high-performance servers and stored as job artifacts in the repository of the automation framework. The source code management of GitLab also provides the administration and documentation of each experimental run, allowing scientists and students to reproduce the results based on the changes in the source code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/779/1*FsVYu0krCFHvBRJds2Bv8A.png" /></figure><h4>Conclusion</h4><p>The implemented automation framework streamlines the execution machine learning experiments by running an in-house GitLab CI/CD pipeline. Besides the importance of MLOps principles, the pipeline fulfils the demands of academic research, especially in data security and deployment of machine learning applications. Even though the workflow solves only one specific problem within academic research, the automation framework shows the potential of MLOps and DevOps approaches: By manually running the GitLab CI/CD pipeline, the complete process of containerization, deployment and execution of machine learning models on the high-performance servers of the state of Baden-Württemberg, as well as the subsequent retrieval of the experimental results is automated without any intervention of a user.</p><p>The resulting time savings and data security boost both the academic research and the scientific exchanges between scientists and students.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6bc0ed43aa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/mlops-in-academic-research-streamlining-machine-learning-experiments-e6bc0ed43aa">MLOps in Academic Research — Streamlining Machine Learning Experiments.</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simulating the Performance of Load-Balancers in Videoconferencing]]></title>
            <link>https://medium.com/omi-uulm/simulating-the-performance-of-load-balancers-in-videoconferencing-64cd2e8338d5?source=rss----b87a5e1848b0---4</link>
            <guid isPermaLink="false">https://medium.com/p/64cd2e8338d5</guid>
            <category><![CDATA[bigbluebutton]]></category>
            <category><![CDATA[simulation]]></category>
            <category><![CDATA[load-balancing]]></category>
            <category><![CDATA[scheduling-algorithm]]></category>
            <dc:creator><![CDATA[Florian Held]]></dc:creator>
            <pubDate>Wed, 28 Jul 2021 14:12:13 GMT</pubDate>
            <atom:updated>2021-07-28T14:12:12.944Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XjLwYnRx78yOTjxJ" /><figcaption>Photo by <a href="https://unsplash.com/@jordanharrison?utm_source=medium&amp;utm_medium=referral">Jordan Harrison</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><em>This article was written by Louis Schell, a high school student from </em><a href="https://www.kmg-fn.de/index.php/de/">Karl Maybach Gymnasium</a> <em>in Friedrichshafen, Germany, and is about his work on a topic that was granted to him in the course of the </em><a href="https://simulierte-welten.de/"><em>simulierte-welten</em></a><em> scholarships offered by the </em><a href="https://www.uni-ulm.de/einrichtungen/kiz/"><em>kiz</em></a><em> of Ulm University. He gave permission to publish it under the </em><a href="https://medium.com/omi-uulm"><em>omi-uulm</em></a><em> group.</em></p><h3>The Problem</h3><p>I am a high school student in Friedrichshafen, Germany. I was informed of the ‘Simulierte Welten’ scholarships by our headmaster, C. Felder of the Karl-Maybach-Gymnasium. Over the past 2 years I have frequently made use of services such as Big Blue Button, Zoom, and WebEx at school. While I am generally happy with the quality and performance of these conferencing systems, occasionally problems occur. While we tend to assume a bad Internet connection or a slow PC, the increasing amount of users that came with Covid-19 highlighted a new problem.</p><p>When you connect to the video conferencing service, a server that connects you to the other meeting-participants has to reserve memory resources, network bandwidth, and computational power for your session. If the server lacks any of these resources, it buckles under the load.</p><p>Under these circumstances, the connection may terminate, video could freeze, or audio may have a high latency. Even worse, services running in parallel on the same server may come to a standstill.</p><p><em>All in all, this results in a horrific user experience and poses a high risk to user satisfaction and Quality of Experience.</em></p><p>There is very little that can be done to combat this behaviour on a single server. Either you can upgrade the hardware, or you can upgrade the hardware. Really, you have no choice (besides not using a single server).</p><p>How you upgrade your hardware is a more interesting question. While improving a single server is intuitive, expanding to multiple servers makes more sense; from a financial standpoint and redundancy wise. More servers mean that less powerful (and hence cheaper) hardware is needed for each server and leaves you with a larger array of fail-safes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SpM9VWXprBKbY9-Uq2Jobw.png" /></figure><p>This solution seems attractive, but comes with a challenge. While it would be nice for clients to know which server to join, it’s wishful thinking. We do not want to hand out permissions to clients, so adding an intermediary instance is unavoidable. This intermediary instance is now in charge of distributing the clients among the nodes. We call this the “load balancer”, because it is supposed to distribute the load across the servers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ORTbaU7uDH8QD4mPzyyWGQ.png" /></figure><p>Load balancing is the process of distributing network traffic across multiple servers. In the case of the Big Blue Button video conferencing tool, this translates to hosting multiple conferences on different servers, allowing for full utility of the benefits provided by a multi-node configuration.</p><p>While the process of balancing seems simple enough, there are a few constraints, that make this problem hard:</p><ul><li>Users are organized in meeting-rooms.</li><li>Meeting-rooms cannot span multiple servers.</li><li>Once attached to a server, meeting-rooms cannot be moved.</li></ul><p>The dynamic nature of this problem is what makes it so interesting to research. The challenge is to distribute <em>n</em> rooms to <em>m</em> servers, while distributing the load as equally as possible among all servers. With the help of simulations, we can analyse different load balancing strategies and rate them according to how well they distribute the load.</p><p>But why simulate something, when we could test it out real life?</p><h4>The Uses of a Simulation</h4><p>While it may seem intuitive at first, practically implementing, deploying and observing a model load-balancer in a real-world system is <em>not</em> a good idea. Here’s a couple reasons why simulations are superior.</p><ol><li><em>Repeatability<br></em>The importance of repeatability as a fundamental property of a simulation must not be underestimated. In regards to a load-balancing simulation, this means we can use an identical dataset over and over again. This is beneficial when comparing results for different algorithms, while keeping the same environment variables.</li><li><em>Reproducibility<br></em>Reproducibility is another major principle of research. While in reality fluctuating environment variables may cause deviation among results, a simulation is deterministic (with the exception of probabilistic algorithms). This contributes to a clean set of results that can be used to fairly compare load-balancers.</li><li><em>Straightforwardness<br></em>While understanding the big picture is the goal of all scientists, progress can only be achieved in small steps. When applied to load-balancing, this means understanding the effects of an algorithm on a system bit by bit. While simulations mostly try to be as close to reality as possible, they still only map reality to a simpler depiction of our world. Therefore, they can assist in revealing certain patterns, that a complex system may not explicitly display.</li><li><em>Friendliness<br></em>Practically implementing a load-balancing algorithm into a real videoconferencing system seems intuitive at first, but the added level of complexity imposed by mammoth systems like Big Blue Button not only unbalances the ratio of “time spent implementing an algorithm” to “time spent researching an algorithm”, but also makes analysis and extraction of data needlessly more difficult. Simulations allow for test-case scenarios without the need to implement the algorithm in a frameworks. They also save the need for safety. If something goes wrong, its no big deal. “Rinse and repeat”, the real world stays unharmed.</li><li><em>Customizability<br></em>Simulations allow for targeted edge case simulation. Cases, that in the real world may be rare or non existent.</li></ol><p>All in all, a load-balancing simulation is a great alternative to implementing a load-balancer in a real system. This is the reason that I worked on a simulation engine for the last 6 months.</p><h3>The Simulation Engine</h3><p>First off, the simulator is programmed in Java. Java is great for frameworks and its scalable nature allows for easy extension and adaption of the simulator.</p><p>Development was iterative, and the simulator was refactored at it’s core multiple times. Though tedious, a clean structure helped us provide a solution built for extensibility and modularity.</p><h4>How does the Simulator work?</h4><p>The simulation is event based and driven by the Simulation class. Each simulation is made up of a <strong>data iterator</strong>, a <strong>load balancer</strong>, and <strong>event listeners</strong>.</p><ul><li>A data iterator is responsible for the ETL part of simulation and provides input data for the simulation.</li><li>The load balancer distributes rooms to servers in the simulation.</li><li>Event listeners provide a useful interface for developing additional logic on top of the core. This functionality is used to create graphs, process output data, and rate the load balancer.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z6LgRXOb1CGer7abfwBZxg.png" /></figure><p>The simulation runs in a loop as long as the database provides data. This behaviour is regulated through schedules, that define a start and end to the simulation. While it is running, the simulation repeatedly calls the data iterator for new data. The iterator serializes data from the database (or generates it) and turns it into meeting-rooms, which are then passed on to the load balancer. This is where stuff gets interesting.</p><p>The balancing part of the simulation is split into two steps:</p><ol><li>Per default, the balancer pre-balances the load. This means handling all user joins/leaves that do not result in a new room being created/deleted, thus getting rid of all changes in user count, where balancing is not possible anymore (see constraints), because the rooms have already been attached to a server.</li><li>In the balancing phase, the load balancer calls its logic, that attaches rooms to servers. User joins/leaves are automatically handled, so the logic must only distribute the rooms to the servers.</li></ol><p>After the load is has been balanced, the simulation goes into the next iteration of the loop and repeats the process. With every event, the registered event listeners are notified. This concludes the base functionality of the simulation.</p><h3>Results</h3><p>We were able to implement some custom balancing algorithms and rate them against each other.</p><p>In total, we tested 6 balancers that relied on both deterministic and heuristic approaches. We found, that heuristic approaches generally outperformed the other load-balancing algorithms. We presume this is due to the dynamic nature of the problem. Rooms still grow and shrink after distributing them. While this behaviour is somewhat predictable, it would require a neural network or a pattern detection algorithm to do so.</p><h4>The Assessment Process:</h4><p>For evaluation of the algorithms we relied on a simple loss function from machine learning, the quadratic loss function, aka. mean squared error.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/180/1*NaR-kc_FQd-MFpre0ViJZg.png" /></figure><p>This function can give us a “rating” on how close our value is to the optimal value. The higher the MSE, the worse our load-balancer is performing. There only stays the question, what to use for the optimal value. While there are ways to calculate the realistic optimal distribution of a system, this problem is very computational expensive. Instead, we took the average value (often a non integer value) as the optimal value. While this is unrealistic, it still allows us to compare the algorithms to each other.</p><p>We calculated the mean squared error for both the user count and the room count and repeated the simulation multiple times in case of a heuristic approach.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-uA5lf7b2SWQ4pko9SGU6w.png" /></figure><p>On top is the result of a simulation comparing 2 different types of random balancers, and 2 round robin balancers with differing quantums. While the values only differ from each other minimally, the balancer which takes the best of 3 random servers (in turquoise) outperforms the other load balancers.</p><p>While there are many more elegant algorithms, our mission was not to research the best load balancing algorithm, but instead help others develop these algorithms.</p><h4>In Conclusion</h4><p>Overall, I think my partner and I were successful. We accomplished our goal of simulating the loads of a video conferencing tool and had fun working on this project. It was a great learning opportunity both of us, and I can recommend trying for the “Simulierte Welten” scholarships to anyone interested in a challenge.</p><p>If by any means you would like to contact me, please send an e-mail to the official “Simulierte Welten” mailing address: <a href="/service/mailto:info@simulierte-welten.de">info@simulierte-welten.de</a>. I am happy to answer any questions regarding the simulation engine.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64cd2e8338d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/simulating-the-performance-of-load-balancers-in-videoconferencing-64cd2e8338d5">Simulating the Performance of Load-Balancers in Videoconferencing</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Continuously delivering a multi-repository application for multi-architecture Kubernetes-clusters]]></title>
            <link>https://medium.com/omi-uulm/continuously-delivering-a-multi-repository-application-for-multi-architecture-kubernetes-clusters-6805e578f07e?source=rss----b87a5e1848b0---4</link>
            <guid isPermaLink="false">https://medium.com/p/6805e578f07e</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[typescript]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[gitlab]]></category>
            <category><![CDATA[continous-delivery]]></category>
            <dc:creator><![CDATA[Thomas Huffert]]></dc:creator>
            <pubDate>Tue, 06 Jul 2021 07:59:57 GMT</pubDate>
            <atom:updated>2021-07-06T07:59:57.715Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IXbQo4HshgBjjIIc" /><figcaption>Photo by <a href="https://unsplash.com/@heytowner?utm_source=medium&amp;utm_medium=referral">JOHN TOWNER</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In a recent TypeScript-based project, we ran into a challenge. We had two different repositories, an application depending on an underlying framework. The application needed to be retested every time changes to the framework were applied to ensure the integrity of the update.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/161/1*VkCpPHh1nIYSKYmjlqx9Ow.png" /></figure><p>For local development, a structure like this is not a problem at all. In the case of TypeScript, npm for example allows linking the two repositories by first running npm link in the framework repository, after which it can be incorporated as local dependency in the application via npm link framework. This works perfectly fine if testing the repositories locally is sufficient. Other languages or runtime-environments allow for similar solutions.</p><p>However, in our case, it was not quite as easy. Our application is situated in the domain of the Internet of Things (IoT), targeting multiple different architectures and utilizing device and platform specific communication technologies. It therefore could not be fully tested locally, but needed to be deployed on a testbed — for us, in form of a local Kubernetes-Cluster — to ensure that everything is working correctly. Consequently, the application had to be containerized and made available first.</p><p>In the following article, we describe how we built an applicable continous delivery solution via GitLab ci-pipelines, utilizing intermediate images in an Open Container Initiative (OCI) container registry.</p><h3>The starting point</h3><p>First, lets describe the starting-point in form of the basic pipeline we used for a single-repository project. We use a self-hosted GitLab to host our repositories.</p><p>The goal was to build multi-architecture images that work on linux-based amd64, arm64 and arm/v7 systems. This is the basic gitlab-ci.yml we used for a multi-architecture TypeScript-project:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e332cb57e8648c92681dc060ad8008ed/href">https://medium.com/media/e332cb57e8648c92681dc060ad8008ed/href</a></iframe><h4>npm</h4><p>In the first stage, the npm dependencies are resolved and the package is built In our case, we utilize pnpm for the dependencies, an <a href="https://github.com/pnpm/pnpm#Benchmark">alternative, faster package-manager</a> for nodejs. It gives us benefits down the line, which we utilize in the containerize step.</p><p>Both dependencies and build-output are stored as artifacts for usage in later stages.</p><h4>eslint</h4><p>In the second stage, the source code is analyzed using <a href="https://eslint.org/">ESLint</a> to check for problems in the code, for example syntax errors.</p><p>We also use the <a href="https://prettier.io/">prettier</a>-plugin for ESLint to ensure a consistent code style and format.</p><h4>test</h4><p>In the third stage, we execute tests using <a href="https://jestjs.io/">jest</a> to check for easy to catch errors in the code.</p><h4>containerize</h4><p>In the last stage, it gets interesting. We containerize our application using the jess/img-image, <a href="https://github.com/genuinetools/img">a Dockerfile-based container build-tool built based on BuildKit</a>. The produced images are uploaded to a local container registry.</p><p>Within jess/img, the image of for every architecture is build separately. In consequence, a many partly redundant operations are done in the building process. To allow for shorter build-times, we therefore had made several optimizations to our base Dockerfile:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a263d9a122a8b210d302b2c454c799af/href">https://medium.com/media/a263d9a122a8b210d302b2c454c799af/href</a></iframe><p>Mainly, we did three things:</p><ul><li>Use the smallest applicable base-image (for us, alpine worked)</li><li>Use compiled TypeScript code from build artifacts</li><li>Use pnpm for installation of dependencies instead of npm</li></ul><p>All in all, these optimizations drove down the build time from around 30 minutes to below 5. This saved us some headache, but cost us a few coffee-pauses — well, somewhere priorities have to be set.</p><h3>The realization</h3><p>Now, let’s start incorporating our scenario. We have two different packages, one being the application, one being the framework. Both are managed in different repositories, however the former depends on the latter. This means that build-artifacts need to be shared between different pipelines, since every repository has it’s own build pipeline.</p><p>In GitLab, there are multiple ways to do this. One would be to use a <a href="https://docs.gitlab.com/ee/user/packages/package_registry/">GitLab Package Registry</a> to upload the compiled package to a local registry, another to retrieve artifacts of another pipeline via <a href="https://docs.gitlab.com/ee/ci/triggers/#when-a-pipeline-depends-on-the-artifacts-of-another-pipeline">CI_JOB_TOKENS</a>. These solutions however are dependent on GitLab (and the latter only works with GitLab premium). We instead opted to use our self-hosted OCI container registry, <a href="https://docs.docker.com/develop/develop-images/multistage-build/">inspired by docker multistage builds</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*xUDzpv_UXskqUqHWaSrIDg.png" /><figcaption>Schematic structure of project pipelines</figcaption></figure><p>In the framework-pipeline, we regularly create an image based on alpine — base— as we would if we only had a single-repository project. However, we create an additional image, base-build, which is intended as build-image for later steps. Both of those images now contain the build artifacts — aka the the compiled framework — for later usage in the application-pipeline</p><p>In the application-pipeline, we use the aforemention base-build image to produce our build artifacts. Subsequently, the image base is used as base-image to produce the image app. The app image can then be deployed on the Kubernetes-Cluster.</p><h4>Framework-pipeline</h4><p>We only slightly have to adjust our basic build-pipelines to create the framework-pipeline:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8b5044dcd17cc643d7c09d16c41efde5/href">https://medium.com/media/8b5044dcd17cc643d7c09d16c41efde5/href</a></iframe><p>Most notably, we create an additional image — base-build— with a slightly different Dockerfile:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9c7df39d7af4ff2a907c3726b47d8170/href">https://medium.com/media/9c7df39d7af4ff2a907c3726b47d8170/href</a></iframe><p>It uses another buster-based base-image instead, which includes necessary os-dependencies for compiling TypeScript projects. Additionally, dependencies are not installed, since that is done as part of the application pipeline — this makes the image smaller.</p><p>The regular Dockerfile looks almost the same:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c3f36dde1744418d3d692e4e887118c3/href">https://medium.com/media/c3f36dde1744418d3d692e4e887118c3/href</a></iframe><p>We just do not install the production dependencies, again to make the image smaller.</p><p>Both dockerfiles do not include an entrypoint, since they are not meant to be deployed alone.</p><h4>Application-pipeline</h4><p>We modify the basic-pipeline to incorporate the images created earlier.</p><p>The application pipeline looks like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a79b8451bcc9fe0d63c997db5e434377/href">https://medium.com/media/a79b8451bcc9fe0d63c997db5e434377/href</a></iframe><p>We use the base-build image to create our build-artifacts. The included framework package is linked in the <strong>npm</strong> stage.</p><p>Similarly, we modify our basic Dockerfile to use the base image and link the framework as well:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a5781046255bde5d57bb607f6a37b915/href">https://medium.com/media/a5781046255bde5d57bb607f6a37b915/href</a></iframe><p>With this, were done.</p><h3>Final thoughts</h3><p>With this, we created pipelines, spanning across multiple repositories, that manage inter-pipeline build artifacts using a OCI container repository and create multi-architecture images for usage in an Kubernetes-Cluster. Although it is focussed on nodejs-based TypeScript project, this method could be used with as other languages or runtime environments as well, since it basically just uses the intermediate-images as containers to share the project-artifacts. Also, since no GitLab exclusive features were used, it would work with other hosting-services like GitHub as well (albeit with conversion of the gitlab-ci.yml -files).</p><p>One thing that still can be improved uppon is the handling of job-triggers. Currently, a job for the application-pipeline needs to be triggered manually after the framework’s is done. This could be done automatically with GitLab <a href="https://docs.gitlab.com/ee/ci/pipelines/multi_project_pipelines.html#trigger-a-pipeline-when-an-upstream-project-is-rebuilt">pipeline-triggers</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6805e578f07e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/continuously-delivering-a-multi-repository-application-for-multi-architecture-kubernetes-clusters-6805e578f07e">Continuously delivering a multi-repository application for multi-architecture Kubernetes-clusters</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating Benchmarks for Distributed Files Systems]]></title>
            <link>https://medium.com/omi-uulm/automating-benchmarks-for-distributed-files-systems-b4891649340f?source=rss----b87a5e1848b0---4</link>
            <guid isPermaLink="false">https://medium.com/p/b4891649340f</guid>
            <category><![CDATA[distributed-file-systems]]></category>
            <category><![CDATA[benchmarking]]></category>
            <category><![CDATA[filesystem]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Georg Eisenhart]]></dc:creator>
            <pubDate>Wed, 23 Jun 2021 11:45:16 GMT</pubDate>
            <atom:updated>2021-06-23T20:19:32.309Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Automating Benchmarks for Distributed File Systems</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Cr-_BFtpFwsefGA2" /><figcaption>Photo by <a href="https://unsplash.com/@bradencollum?utm_source=medium&amp;utm_medium=referral">Braden Collum</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Distributed File Systems promise to be more flexible and scalable and also cluster scheduler aware. Therefore, the question of which Distributed File System suits to our requirements is not only a question regarding their features and functional requirements. It is also a question of non-functional requirements and furthermore the file systems performance. This article gives an overview of our approach to automate the benchmarking of different distributed file systems to evaluate their performance for different workloads.</p><h3><strong>The Tool Set</strong></h3><p>At a first glance there are many benchmarking tools available. Choosing the right tool is essential for the expressiveness of the benchmark results. To make the choice easier we have defined requirements for the benchmarking tools. After some research we ended up comparing <a href="https://www.iozone.org/">iozone</a>, <a href="https://github.com/axboe/fio">fio</a> and <a href="https://github.com/filebench/filebench">filebench</a>. The comparison with the main criteria is shown in the following table.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dd96a459ac3269015c09e07c2d85bee9/href">https://medium.com/media/dd96a459ac3269015c09e07c2d85bee9/href</a></iframe><p>There are only minor, but crucial differences between them. For our purpose <strong>fio</strong> was the best choice due to its large amount of supported IO-libraries and the multiple options to define, manage and run workloads. Providing various IO-libraries allows us to take proprietary libraries like <a href="https://staged-gluster-docs.readthedocs.io/en/release3.7.0beta1/Features/libgfapi/">libgfapi</a> for additional benchmark configuration into account and to determine its impact in comparison to others. It also promises to give comparable data for all file systems under test.</p><h3>Benchmarking with Flexible IO (FIO)</h3><p>Fio provides a large set of parameters to customize the workload. The most basic parameters are:</p><ul><li>I/O Type: defines sequential or random read and write operations</li><li>Block Size: defines the size of the chunks per IO request</li><li>I/O Size: set the absolute size for the workload</li><li>I/O Engine: define the io engine to use. E.g. libaio, gfapi, mmap,…</li><li>I/O Depth: define the amount of io request held in queue for asynchronous io requests</li><li>Threads and Processes: defines how many threads and processes shall be used for the benchmark execution.</li></ul><p>Traeger et. al. [1] investigated 198 benchmark experiments with regard to their duration. 28.6% of the experiments ran for less than 1 minute, 58.3% for less than 5 minutes and 70.9% for less than 10 minutes. Based on this evaluation, the runtime for all benchmark runs is limited to 15 minutes for each individual iteration. This time window also allows us to identify irregularities during ramp up phases. By limiting the runtime, IO operations are repeated until 15 minutes have elapsed after the specified workload size has been reached, or they are canceled if not all operations have been carried out until the workload size has been reached. This allows a foreseeable calculation of the time required for benchmarking. Furthermore, the comparability of the benchmark results should be simplified, since the values of the recorded metrics are distributed over a homogeneous time interval.</p><p>With these parameters in mind the amount of different test cases can grow very fast and gets more time consuming and difficult to run manually.<br>We assume, that we will have 3 different file systems under test with the following parameters:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/1*GHtFckJf7N_PhwqhB2d1yg.png" /></figure><p>There will be 384 benchmark runs in total. All in all, with a runtime of 900 seconds per each single workload this will be 96 hours of total execution time. Though, depending on the setup it might be necessary to repeat some benchmarks. After this first estimation we came up with the idea to automate the process for these benchmarks to be more flexible in the workload design and the benchmark execution itself.</p><p>In the following there is an example workload definition for a random read/write job with fio.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7614453e7b72f8b6eea990cab0e6597c/href">https://medium.com/media/7614453e7b72f8b6eea990cab0e6597c/href</a></iframe><h3>Distributed File Systems</h3><p>POSIX file systems are defined in IEEE Std 1003.1.2017 [2] as</p><blockquote>“a collection of files and certain of their attributes. It provides a name space for file serial numbers referring to those files.”</blockquote><p>By the NIST definition of distributed file systems [3]</p><blockquote>“In distributed file storage systems, multi-structured (object) datasets are distributed across the computing nodes of the server cluster(s). The data may be distributed at the file/dataset level, or more commonly, at the block level, allowing multiple nodes in the cluster to interact with different parts of a large file/dataset simultaneously.”</blockquote><p>they are not limited to storing files as defined in [2], but also support different kind of structured data and objects stored across a cluster.<br>As Tanenbaum introduced in [4] there are three different architectures of distributed file systems. These are <em>Client-Server, Cluster Based </em>and<em> Symmetric Architectures.<br></em>Summing up the definitions and categorization of distributed file systems it was clear to take at minimum one representative file system of each into account. After some research and comparison of possible candidates we decided to use NFS, Ceph and GlusterFS.</p><p>By using container technologies such as Docker, applications can be deployed and reused on different operating systems with relatively little effort which also supports our approach of automating the benchmarking process. When using containers for benchmarking, the performance overhead of such technologies should be considered. This has already been examined in various papers. We have shown in [5] that the performance overhead of containerized applications like Databases is negligibly small when using the host file system as storage backend. So, the storage driver should be bypassed or switches off. For example, this can be achieved by using bind mounts for the privileged container to give full access to the host devices. To further minimize the performance overhead, the container network isolation should also be removed by using the host network directly [6, 7].</p><p>Due to the design decision to use containerized distributed file systems, we had to implement a reusable deployment for each. <br>If available there were used the official containers from Dockerhub to provide a deployment which suits to the test bed. At this time we were very familiar with <a href="https://rancher.com/docs/rancher/v1.6/en/">Rancher 1.6</a> as container orchestration tool. Therefor all deployments were provided for this platform. Future work will be to migrate these to Kubernetes deployments to be able to use the approach on K8s too.</p><p>For simplicity all file systems were used without any performance tweaks or additional settings. This will also be task for further research. <br>If not provided by the container image itself there were added scripts for automating the initialization of the storage cluster itself like it was necessary for <a href="https://www.gluster.org/">GlusterFS</a>.</p><h3>Design of the test bed</h3><p>The general idea is to automate the whole process to be able to run the benchmarks independently. The approach is to use container images to provision each individual file system and to run the benchmarking client itself with its desired configuration for each workload. For this experimental setup the hardware is fully isolated from others and also equipped with two physically separated networks. One network for the management and orchestration and the other 40GbE network for the benchmark traffic itself.</p><p>The client server is generating the defined workloads and runs the benchmarks. For this, the client mounts the provided storage of the file system under test.</p><p>The core of the setup are the servers for running the file systems. In the minimal setup described here there were four servers used. With the usage of containerized file systems it is easy to horizontally scale them with taking more nodes into account if necessary.<br>In addition a fully fledged monitoring setup is deployed alongside each node to gather the system and network utilization of each node itself. The monitoring setup used here was the <a href="https://www.influxdata.com/products/">TICK</a> stack, but it can easily be replaced with any other desired monitoring setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HRiJabFscrRrkFvE7NlQ9g.png" /><figcaption>Infrastructure Overview</figcaption></figure><h3>Benchmarking</h3><p>As mentioned before, there is a deployment for each file system under test to be able to easily switch between them. These deployments give the ability to clean all disks from previous data, provision and initialize the desired file system and start the benchmark itself. For a better overview the general workflow of a benchmark run is depicted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ScP4fYPK9vBo4XrJGzjl4g.png" /><figcaption>Benchmark Workflow</figcaption></figure><p>This approach allows to schedule predefined workloads like the one pasted above for each file system. For each single run of a workload the file system will be completely removed and redeployed from the servers so there is no data left from any previous runs.</p><h3>Outlook</h3><p>As a starting point for further work in this approach it will be useful to migrate it to use modern orchestration engines and platforms like Kubernetes.<br>Due to the seemingly endless possibilities of modifications in the whole system under test it’s very useful to automate the benchmarking process. Most interesting adjustments and research topics for the future are</p><ul><li>Design experiments such that results are comparable</li><li>Take more file systems into account</li><li>Support of more complex workloads</li><li>Tweak and optimize the file systems</li><li>Analyze the impact of cache tiers</li><li>Analyze elasticity and scalability of the file systems</li></ul><h3>References</h3><p>[1] Traeger, Avishay; Zadok, Erez; Joukov, Nikolai; Wright, Charles P.: A Nine Year Study of File System and Storage Benchmarking. 4 (2008), May, Nr. 2, S. 5:1–5:56. — URL http://doi.acm.org/10.1145/1367829.1367831. — ISSN 1553–3077</p><p>[2] IEEE Standard for Information Technology–Portable Operating System Interface (POSIX(R)) Base Specifications, Issue 7. In: IEEE Std 1003.1–2017 (Revision of IEEE Std 1003.1–2008)(2018), Jan, S. 1–3951</p><p>[3] Chang, Wo L.: NIST Big Data Interoperability Framework: Volume 1, Definitions. 2015.</p><p>[4] Tanenbaum, Andrew S.; Van Steen, Maarten: Distributed systems: principles and paradigms. Prentice-Hall, 2007</p><p>[5] Seybold, Daniel; Hauser, Christopher; Eisenhart, Georg; Volpert, Simon; Domaschka, Jörg: The Impact of the Storage Tier: A Baseline Performance Analysis of Containerized DBMS. In: European Conference on Parallel Processing Springer (Veranst.), 2018, S. 93–105</p><p>[6] Boettiger, Carl: An introduction to Docker for reproducible research. In: ACM SIGOPS Operating Systems Review 49 (2015), Nr. 1, S. 71–79</p><p>[7] Felter, Wes; Ferreira, Alexandre; Rajamony, Ram; Rubio, Juan: An updated performance comparison of virtual machines and linux containers. In: 2015 IEEE international symposium on performance analysis of systems and software (ISPASS) IEEE (Veranst.), 2015, S. 171–172</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4891649340f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/automating-benchmarks-for-distributed-files-systems-b4891649340f">Automating Benchmarks for Distributed Files Systems</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An initial Approach to deliver an X11 Application as a Web Service]]></title>
            <link>https://medium.com/omi-uulm/an-initial-approach-to-deliver-an-x11-application-as-a-web-service-79cc0f70bbed?source=rss----b87a5e1848b0---4</link>
            <guid isPermaLink="false">https://medium.com/p/79cc0f70bbed</guid>
            <category><![CDATA[web]]></category>
            <category><![CDATA[simulation]]></category>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[openstack]]></category>
            <category><![CDATA[x11]]></category>
            <dc:creator><![CDATA[Florian Held]]></dc:creator>
            <pubDate>Tue, 08 Jun 2021 11:11:34 GMT</pubDate>
            <atom:updated>2021-06-08T11:11:34.585Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*VerE42ZqRPnDoyqy" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In my previous <a href="https://medium.com/omi-uulm/how-a-complex-hydromechanical-simulation-can-be-brought-onto-a-laptop-da476b67d84a">blog post</a>, I talked about bringing a complex hydromechanical simulation onto a laptop for the purpose of presenting it to pupils visiting 11th grade in a technical grammar school in Germany. Though I came up with a technically feasible solution, it was clear from the beginning that this wasn’t the best fit for distributing this software to pupils willing to experiment and conducting their own simulations. The option to redundantly install this software “bare-metal” on machines used by the pupils cannot be seen as best practice since at least a decade due to various problems like incompatible library dependencies or an a priori impossibility to port it to a certain operating system. Another option, to install a container runtime, bundle this application and its dependencies into an image and then somehow connecting the graphical display to the running container also seemed more like a bulky hack than an elegant solution. Clearly, a better solution would be to provide this simulation application as some sort of an easily deployable and manageable web service, accessible from a webbrowser and rolled out at e.g. a webhoster or cloud.</p><p>However, implementing such a solution, is far away from being straight-forward and comes with various challenges. In the following, I want to elaborate on first ideas and steps to overcome those and present an initial solution.</p><h3>Challenges</h3><p>The biggest challenge was to find a tool to port a rather complex X11 application, which:</p><ul><li>I forked and customized</li><li>is based on the cmake build-system</li><li>uses specialized libraries like gomp (i.e. an OpenMP implementation for C++)</li></ul><p>to a web service. This raised the question to go for a typical solution with underlying webserver technology like nginx and wrapping the simulation code into e.g. webassembly bytecode for delivery in a webbrowser or simply go for some sort of remote-display server. Another indirect restriction was, that development effort should not be too big, as I worked on this project on my own and only part time.</p><p>Another point to consider was, that this solution should be scalable to some degree. As a rough estimator, 15 pupils at the same time should be able to use this application without disturbance.</p><p>The solution should also be constructed in such a way that it would be usable by the said pupils without presuming some deep technical background.</p><p>Eventually, for me as the operator, ease of deployment and maintainability of the solution should be strived for.</p><h3>Used Tools</h3><p>As a technology for porting the application, webassembly and the associated <a href="https://emscripten.org/">emscripten</a> toolchain seemed like a promising fit at first, as native c++ code could be provided as binary-code to run in modern webbrowsers overcoming javascript limitations for cpu-intensive tasks like performing a fluid simulation. And with emscripten it is principally possible to execute the associated cmake build chain, the whole application is based on. However, the foundation of webassembly was not built for rendering X11 applications in webbrowsers, though there seem to be some <a href="https://github.com/emscripten-core/emscripten/issues/4071">hacky workarounds</a> possible, copying X11 headers and manually linking X11 libraries. However, building such a “solution” for my fluid simulation was everything but straight-forward as additional conflicts like the unability to cross-compile OpenMP libraries occurred which eventually led to the conclusion that this approach was too tedious and not expedient. And what was more, a lacking first impression of the rendering experience in the browser and the prospect of work for creating a fancy front-end strengthened this initial rejection for my use case.<br>So I went on looking for a solution that relieved me off those obstacles and provide some sort of a “cloned experience” of the terminal controlled simulation approach used on my laptop. Eventually, my research brought me to a solution providing a remote display (and thus the ability to interact with the application with a console like xterm) called <a href="https://xpra.org/"><strong>xpra</strong></a><strong>. </strong>On its web page it is defined as: <em>Xpra is an open-source multi-platform persistent remote display server and client for forwarding applications and desktop screens.</em> Together with the tool <a href="https://github.com/Xpra-org/xpra-html5">xpra-html5</a> it was possible to forward the xterm console running on a machine on the web to a webbrowser connected to it. Summarized, this approach gave me a one-to-one match with my original case developed for use on my laptop.</p><p>To tackle challenges like providing a scalable solution, ease of deployment and maintainability, I went for the cloud solution<strong> openstack</strong>. Reasons for this were, that cloud solutions per-se support those concepts by means of virtualization or providing APIs to smoothly interact with deployments and also because of an openstack infrastructure being available at our institute. For automated provisioning of the xpra server instances I went for <strong>ansible</strong> due to own experiences with this tool and its tight integration with openstack. Moreover due to the automation capabilities of ansible it was possible to provide resources on the xpra servers to give the pupils a better user experience and make the application easier to handle and comprehend.</p><h3>Implementation Approach</h3><p>To be able to provision xpra server instances, first some prerequisites had to be met. First, authorized access to relevant resources was needed, that is the source code of the forked <a href="https://github.com/InteractiveComputerGraphics/SPlisHSPlasH">original hydromechanical fluid simulation</a> at the moment residing at our institute’s gitlab instance and also resources helping pupils to understand and execute the simulation (simulation-manual, theoretical background, plots, …) also residing at the institute’s gitlab.</p><p>To map the requirements for application delivery to ansible’s ecosystem, following project structure was chosen:</p><pre><strong>ansible/</strong> <br>├── ansible.cfg <br>├── <strong>ansible-secrets</strong> <br>│   └── secrets.yml <br>├── <strong>inventories</strong> <br>│   ├── <strong>development</strong> <br>│   │   ├── <strong>group_vars</strong> <br>│   │   │   └── all <br>│   │   └── hosts <br>│   ├── <strong>integration</strong> <br>│   │   ... <br>│   │   <br>│   └── <strong>production</strong> <br>│       ...<br>│<br>├── pa-token <br>├── <strong>playbooks</strong> <br>│   ├── delete_full_stack.yml <br>│   ├── deploy_full_stack.yml <br>│   ├── <strong>roles</strong> <br>│   │   └── requirements.yml <br>│   └── <strong>tasks</strong> <br>│       ├── add_sim_folder_to_sim_group.yml <br>│       ├── create_meta_content_for_sim_user.yml <br>│       ├── install_app_apt_part.yml <br>│       ├── install_app_raw_part.yml <br>│       ├── make_sim_folder_accessible_to_sim_user.yml <br>│       ├── setup_vm.yml <br>│       ├── start_xpra.yml <br>│       ├── stop_server.yml <br>│       ├── uninstall_app_apt.yml <br>│       └── uninstall_app_raw.yml <br>├── requirements.txt <br>├── <strong>roles</strong> <br>│   ├── <strong>clone_repo</strong> <br>│   │   ├── <strong>defaults</strong> <br>│   │   │   └── main.yml <br>│   │   ├── <strong>handlers</strong> <br>│   │   │   └── main.yml <br>│   │   ├── <strong>meta</strong> <br>│   │   │   └── main.yml <br>│   │   ├── README.md <br>│   │   ├── <strong>tasks</strong> <br>│   │   │   └── main.yml <br>│   │   ├── <strong>tests</strong> <br>│   │   │   ├── inventory <br>│   │   │   └── test.yml <br>│   │   └── <strong>vars</strong> <br>│   │       └── main.yml <br>│   ├── <strong>create_group</strong> <br>│   │   │ ... <br>│   │   <br>│   ├── <strong>create_network</strong> <br>│   │   │ ... <br>│   │<br>│   ├── <strong>create_router</strong> <br>│   │   │ ... <br>│   │<br>│   ├── <strong>create_rule</strong> <br>│   │   │ ... <br>│   │<br>│   ├── <strong>create_security_group</strong> <br>│   │   │ ... <br>│   │<br>│   ├── <strong>create_subnet</strong> <br>│   │   │ ... <br>│   │<br>│   ├── <strong>create_user</strong> <br>│   │   │ ... <br>│   │<br>│   ├── <strong>delete_vm</strong> <br>│   │   │ ... <br>│   │<br>│   ├── <strong>deploy_vm</strong> <br>│   │   │ ... <br>│   │<br>│   └── <strong>wait_for_port1_ready</strong> <br>│       │ ... <br>│   <br>└── site.yml</pre><p>The provisioning flow is controlled in the deploy_full_stack.yml playbook:</p><pre>--- <br>- hosts: localhost <br>  gather_facts: false <br>  vars: <br>    register_upstream: [] <br>  tasks: <br>    - name: create network <br>      vars: <br>        nw_name: &quot;{{ nw_name_par }}&quot; <br>      include_role: <br>        name: create_network <br>    - name: create subnet <br>      vars: <br>        subnet_name: &quot;{{ subnet_name_par }}&quot; <br>        nw_id: &quot;{{ hostvars[&#39;localhost&#39;][&#39;bodensee_private_net&#39;].id }}&quot; <br>      include_role: <br>        name: create_subnet <br>    - name: create router <br>      vars: <br>        router_name: &quot;{{ router_name_par }}&quot; <br>      include_role: <br>        name: create_router <br>    - name: create security group <br>      vars: <br>        sec_group_name: &quot;{{ sec_group_name_bodensee }}&quot; <br>      include_role: <br>        name: create_security_group <br>    - name: create security group rule <br>      vars: <br>        sec_group_name: &quot;{{ sec_group_name_bodensee }}&quot; <br>        port_nmbr: &quot;{{ port_nmbr_ssh }}&quot; <br>      include_role: <br>        name: create_rule <br>    - name: Deploy vm <br>      vars: <br>        sec_group_list: [&quot;{{ sec_group_1 }}&quot;,&quot;{{ sec_group_2 }}&quot;] <br>      include_role: <br>        name: deploy_vm <br>      register: app_host <br>    - name: Add vm to inventory <br>      add_host: name=&quot;{{ item.server.name }}&quot; groups=bodensee_hosts ansible_ssh_host=&quot;{{ item.server.accessIPv4 }}&quot; ansible_all_ipv4_addresses=[&quot;{{ item.server.private_v4 }}&quot;] ansible_ssh_private_key_file=&quot;{{ key_file_path }}&quot; <br>      with_items: <br>        - &quot;{{ register_upstream }}&quot; <br> <br>- hosts: bodensee <br>  remote_user: ubuntu <br>  gather_facts: false <br>  tasks: <br>    - name: wait for ssh port to be ready <br>      include_role: <br>        name: wait_for_port1_ready <br>- hosts: bodensee <br>  remote_user: ubuntu <br>  become: yes <br>  gather_facts: false <br>  tasks: <br>    - import_tasks: tasks/setup_vm.yml <br>- hosts: bodensee <br>  remote_user: ubuntu <br>  become: yes <br>  gather_facts: false <br>  vars: <br>    personal_access_token: &quot;token&quot; <br>    repo_name: &quot;SPlishSplash&quot; <br>    repo_uri: https://gitlab-ci-token:{{ personal_access_token }}@{{ gitlab-server-uri }}/simulierte-welten/projekte/wasserschicht_dynamik/SPlisHSPlasH_mod_1.git <br>    dest_folder: &quot;{{ sim_folder_su }}&quot; <br>  tasks: <br>    - name: clone SPlishSplash <br>      include_role: <br>        name: clone_repo <br>- hosts: bodensee <br>  remote_user: ubuntu <br>  become: yes <br>  gather_facts: false <br>  vars: <br>    repo_name: &quot;xpra-html5&quot; <br>    repo_uri: https://github.com/Xpra-org/xpra-html5 <br>    dest_folder: &quot;{{ xpra_html5_folder_su }}&quot; <br>  tasks: <br>    - name: clone xpra-html5 <br>      include_role: <br>        name: clone_repo <br>- hosts: bodensee <br>  remote_user: ubuntu <br>  become: yes <br>  gather_facts: false <br>  pre_tasks: <br>    - import_tasks: tasks/install_app_apt_part.yml <br>  tasks: <br>    - import_tasks: tasks/install_app_raw_part.yml <br>- hosts: bodensee <br>  remote_user: ubuntu <br>  become: yes <br>  gather_facts: false <br>  vars: <br>    append_user: &quot;ubuntu&quot; <br>  tasks: <br>    - name: &quot;create group {{ group_name }}&quot; <br>      include_role: <br>        name: create_group <br>    - name: &quot;create user {{ user_name }} under group {{ group_name }}&quot; <br>      include_role: <br>        name: create_user <br>    - name: &quot;append {{ append_user }} to group {{ group_name }}&quot; <br>      user: <br>        name: &quot;{{ append_user }}&quot; <br>        groups: &quot;{{ group_name }}&quot; <br>        append: yes <br>    - import_tasks: tasks/add_sim_folder_to_sim_group.yml <br>    - import_tasks: tasks/make_sim_folder_accessible_to_sim_user.yml <br>- hosts: bodensee <br>  remote_user: ubuntu <br>  become: yes <br>  tasks: <br>    - import_tasks: tasks/create_meta_content_for_sim_user.yml <br>    - import_tasks: tasks/start_xpra.yml</pre><p>What is basically done here is:</p><ul><li>Setup a tailor-made virtual machine accessible from the public internet and waiting for its ssh-port to become ready.</li><li>Cloning relevant git-repositories and building and installing them later alongside dependent other software packages</li><li>Creating a non-privileged sim-user able to access content relevant for simulation execution</li><li>Copying meta-content having educational purposes for the pupils onto the machine.</li><li>Starting the xpra server</li></ul><p>The provisioning process can be triggered with a command similar to this:</p><pre>$ export ANSIBLE_HOST_KEY_CHECKING=False &amp;&amp; ansible-playbook -vvv site.yml --extra-vars &quot;inventories/development/group_vars/all deploy=1 personal_access_token=xxx key_file_path=xxx&quot;</pre><p>At the moment, the virtual machine is up and running in openstack, the user can authenticate with valid credentials over a webbrowser (replace localhost with the respective public IP):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*GXgsTmJaQnexNDrnmitJIw.png" /><figcaption>Login mask for xpra server</figcaption></figure><p>Given access to the machine, the user can now work on an xterm console browsing through the simulation-manual (a pdf readable through the pre-installed reader <a href="https://help.ubuntu.com/community/Evince">evince</a>) or looking at temperature plots (png images viewable through the pre-installed viewer <a href="https://manpages.ubuntu.com/manpages/groovy/man1/qiv.1.html">qiv</a>) . However, most importantly, a simulation run can be started, shown here exemplarily:</p><pre>$ whoami<br>sim-user<br>$ pwd<br>/home/sim-user/simulation/bin<br>$ cat example-run<br>MESA_GL_VERSION_OVERRIDE=3.3 ./SPHSimulator --stopAt 42.0 ../data/Scenes/simu_bodensee/bodensee_scene_7_succeed.json<br>$ bash example-run</pre><p>and should look similar to this screenshot from my personal Firefox 89.0 browser:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*2XYuIEgNQ2I8l0LaC4NWAg.png" /><figcaption>Simulation run in a webbrowser</figcaption></figure><h3>Open Issues</h3><p>Though this approach yielded a running and usable solution, it is far from having a production-like quality. What is to follow is a small excerpt of open issues still to overcome:</p><ul><li>Low security quality. Ranging from not having features like Secure Sockets or (AES) encryption enabled to giving each connected user terminal access to a virtual machine and sharing content with a privileged user.</li><li>No typical web application delivery. That is e.g., multiple sessions on a server instance are not possible, no fancy interactive frontend and no auto-scalability.</li><li>No integration with DNS so far.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79cc0f70bbed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/an-initial-approach-to-deliver-an-x11-application-as-a-web-service-79cc0f70bbed">An initial Approach to deliver an X11 Application as a Web Service</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are Kubernetes CNI solutions ready for >10 GBit/s?]]></title>
            <link>https://medium.com/omi-uulm/are-kubernetes-cni-solutions-ready-for-10-gbit-s-4f20da957af?source=rss----b87a5e1848b0---4</link>
            <guid isPermaLink="false">https://medium.com/p/4f20da957af</guid>
            <category><![CDATA[cni]]></category>
            <category><![CDATA[argo]]></category>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[networking]]></category>
            <dc:creator><![CDATA[Simon Volpert]]></dc:creator>
            <pubDate>Wed, 02 Jun 2021 08:01:16 GMT</pubDate>
            <atom:updated>2021-06-02T08:01:13.570Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ajKQNMAgPMODq4sj" /><figcaption>Photo by <a href="https://unsplash.com/@jack070?utm_source=medium&amp;utm_medium=referral">Jacek Smoter</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Since CoreOS first suggested [1] a draft on a Container Network Interface, the amount of CNI-enabled container runtimes and CNI implementations has grown significantly. Basic and sophisticated network functionality is a core demand and integral part of the Kubernetes ecosystem. Features provided by CNI range from providing pod-to-pod connectivity across hosts, over port forwarding, to complex network policies. Thus, the multitude of features provided by CNI complete this ecosystem to the point it is today.</p><p>Relying on those features, the following questions regarding CNI arise:</p><ul><li>Are CNI implementations able to saturate 50 and 100 Gigabit network interface cards?</li><li>Which performance implications arise for different implementation approaches?</li><li>How to decide on a provider based on requirements towards features and performance</li></ul><p>On our Kubernetes adoption path, we initially settled on k3s [2] and its integrated CNI provider Flannel [3]. Our main usage scenarios center around Bare-Metal clusters with <a href="https://www.nvidia.com/en-us/networking/ethernet/connectx-5/">50 or 100 Gigabit</a> network cards. In these scenarios, the underlying network performance starts to become an issue.</p><p>This article is a summary of our early investigations of throughput and latency capabilities of our infrastructure. Particularly, the cluster used for that purpose is set up as follows:</p><ul><li>2 Servers: NEC Express5800/E120f-M withIntel(R) Xeon(R) CPU E5–2630 v3 @ 2.40GHz, 256GB DDR4 RAM</li><li>2 Network interface cards: Mellanox MCX515A (50Gbit/s)</li><li>Operating System: Fedora CoreOS 33.20210104.3.0 with kernel 5.9.16</li><li>Switch: Mellanox/Nvidia MLX SN2100</li></ul><h4>Methodology</h4><p>Each performance test is performed over 10 minutes by using the network performance testing tool netperf[4]. Netperf allows, amongst others, the measurement of bandwidth and latency.</p><p>Each measurement process of spawning and setting up containers, collecting and processing metrics until visualization is specified in an Argo Workflow [5]. This enables each process to be easily repeated and reproduced.</p><h4>Results</h4><p>To put a measurement between two pods and two hosts into perspective, we first perform some baseline tests. One being a pod-to-pod cross host test without network virtualization using a single stream. Since a single stream could not utilize the full bandwidth capacity, we parallelized this test to handle 3 simultaneous streams. Upon determination and verification of a baseline performance, further measurements for pod-to-pod performance with network virtualization done by Fannel can be performed. Flannel can be configured to utilize different approaches for network virtualization. Here the default configuration (VXLAN) is applied. Figure 1 illustrates this setup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/361/1*shyPXDEXDag_US04aLS1Ow.png" /><figcaption>Figure 1: Color coded scenarios</figcaption></figure><p>In this figure, the scenarios are color coded as follows: blue is single stream pod-to-pod cross host communication, whereas the difference in the orange scenario is the usage of 3 parallel streams. Finally the red scenario enables Flannel network virtualization using a single stream.</p><p>Preliminary results are shown in figure 2:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/701/1*aO3X6dggGLBFZ-i7hzE7mg.png" /><figcaption>Figure 2: Preliminary results of througput, latency and cpu utilization measurements</figcaption></figure><p>These results yield multiple insights: <em>(i) </em>One TCP connection cannot saturate a 50 Gbit link with this specific CPU, whereas a second run with <em>(ii)</em> 3 parallel connections is able to do so. While Flannel’s single performance <em>(iii)</em> is easily sufficient for 1Gbit/s networks, we were not able to achieve more than ~13Gbit/s in this scenario. As we can see, latency and especially its standard deviation is significantly higher than that for scenarios without any networkwork virtualization. Also the time this process can spend in user or system cpu time is much lower, which directly influences the amount of softirq leading to an overall lower transfer rate.</p><h4>Conclusion</h4><p>The hardware/software combination we are currently running is capable of handling single connections with 10Gbit/s, but is certainly quickly limited afterwards. However, we cannot answer the introductory question whether CNI is ready for &gt;10Gbit/s yet. Thus further investigations are necessary.</p><h4>Outlook</h4><p>Since this measurement process is only a very preliminary, a lot of further measurements and performance tunings will need to be done. Regarding higher performance eBPF [6] based solutions seem to be very promising, since they are able to avoid parts of the classic netfilter stack.</p><p>These measurements opened up a lot of further questions regarding bottlenecks, strategies and possible performance tunings. As a consequence we currently pursue further research to eventually find answers to these questions. These insights can be helpful for deciding which CNI solution fits best for specific requirements.</p><h4>References</h4><p>[1] GitHub. 2021. <em>containernetworking/cni</em>. [online] Available at: &lt;https://github.com/containernetworking/cni&gt; [Accessed 21 May 2021].</p><p>[2] K3s.io. 2021. <em>K3s: Lightweight Kubernetes</em>. [online] Available at: &lt;https://k3s.io/&gt; [Accessed 21 May 2021].</p><p>[3] GitHub. 2021. <em>flannel-io/flannel</em>. [online] Available at: &lt;https://github.com/flannel-io/flannel&gt; [Accessed 21 May 2021].</p><p>[4] Hewlettpackard.github.io. 2021. <em>The Netperf Homepage</em>. [online] Available at: &lt;https://hewlettpackard.github.io/netperf/&gt; [Accessed 21 May 2021].</p><p>[5] Argoproj.github.io. 2021. <em>Workflows &amp; Pipelines | Argo</em>. [online] Available at: &lt;https://argoproj.github.io/projects/argo/&gt; [Accessed 21 May 2021].</p><p>[6] Ebpf.io. 2021. <em>eBPF — Introduction, Tutorials &amp; Community Resources</em>. [online] Available at: &lt;https://ebpf.io/&gt; [Accessed 31 May 2021].</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f20da957af" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/are-kubernetes-cni-solutions-ready-for-10-gbit-s-4f20da957af">Are Kubernetes CNI solutions ready for &gt;10 GBit/s?</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Cornerstone in Reasoning from Commonsense Phenomena]]></title>
            <link>https://medium.com/omi-uulm/the-cornerstone-in-reasoning-from-commonsense-phenomena-fe67fe963b10?source=rss----b87a5e1848b0---4</link>
            <guid isPermaLink="false">https://medium.com/p/fe67fe963b10</guid>
            <category><![CDATA[hybrid]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[reasoning]]></category>
            <category><![CDATA[knowledge-base]]></category>
            <category><![CDATA[common-sense]]></category>
            <dc:creator><![CDATA[Athanasios Tsitsipas]]></dc:creator>
            <pubDate>Mon, 10 May 2021 16:41:31 GMT</pubDate>
            <atom:updated>2022-05-05T21:22:15.106Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>The absence of Commonsense Knowledge hinders modern Artificial Intelligence (AI) applications!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*IjYFUz4f4Qp9ejn4Q-w4iQ.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@ekaterina221b?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Ekaterina Z.</a> on <a href="https://unsplash.com/s/photos/common-sense?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Modern AI (that includes Machine Learning and Deep Learning) rampages the stage of Information Technology as the medium of intelligence. They made extraordinary progress in natural language processing, search engines, machine translation and speech recognition. Smart replies are some of the recent applications thanks to the explosion in neural networks research. Unfortunately, this innate “explosion” translates to more extensive training data and more enormous compute resources.</p><p>AI systems can now beat world champions in Go and chess, looking at names, to frame their advancements as the “Narrow AI”. Such deep neural networks are massive stochastic machines containing mathematical functions that can find complex and valuable correlations between vast amounts of data. Many projects in AI use reinforcement learning, a subset of AI that exhibits iterations on maximising reward. This technique works well in narrow problems and games. However, things start to fall apart when the situation becomes complicated, and a rational agent chooses between conflicting objectives.</p><p>Extraordinary leaps in sheer brute force applications, like face recognition or object recognition, are currently looking at predicting breast cancer and composing natural language models. However, a blunt viewpoint is that all these deep learning applications are virtually equivalent to their training data. It is not a problem for “plain” computer vision tasks, such as image classification. Still, deep learning falls behind when it comes to “understanding” hidden meanings in a sentence or knowledge that cannot be taught using many examples.</p><h4>Another AI Winter in History?</h4><p>Technology is progressing at the same pace as human ambition. The neural network was a concept from the early 1940s and for almost 25 years. They tried to emulate a biological neuron in our brain with a mathematical function that models its functionality. It was not long before Marvin Minsky, with his writings and books (e.g., “Perceptrons” and “The Society of Mind”) from the late 1960s, became a silent opponent/scepticist of the neural networks. He pointed out the limits of neural networks and that we are far from achieving human intelligence. He was accused that his writings contributed to a bias of the general public, which was eventually followed by the first AI winter in the 1970s. That was also a result of many promises and visions about the so-called Strong AI or Human-like AI. Despite the advancements in Machine Learning and now the buzzword Deep Learning, people do not make predictions for the future AI, not to fall into the pitfall of another AI winter.</p><h4>Maybe not…</h4><p>As a modern Marvin Minsky, the AI expert and neuroscientist Gary Marcus openly criticise recent AI advancements and their components with in-depth research papers. His recent book “Rebooting AI” and recent articles found on arxiv.org about the next decade of AI have favoured hybrid approaches towards general intelligence and robust AI. This entails a mixture of the old and the new, the classical and the modern.</p><p>The innateness of knowledge, any knowledge (temporal, relational, causal, physical) in a domain, should be geared down to a representation or a cognitive model, making it machine-interpretable and valuable for complex reasoning tasks. Learning is a crucial part but not the whole solution to AI.</p><p>Current approaches suffer from generalisation, are data-demanding and are described as black boxes. The vision of solving AI and achieving human-like intelligence has always been the target. It is synonymous with the human ability to make inferences about the everyday world, named Commonsense Reasoning(CR). Automating CR has been and is a great challenge…</p><h4>Commonsense Reasoning and recent approaches</h4><p>Since the beginning of the field, the challenge of developing concepts marginal to CR and automating them has been recognised as a central problem in AI. In addition, knowledge about commonsense phenomena (e.g., time, space, physics, situations, people etc.) in the world is generally absent and omitted as it is considered widely known. Examples of Commonsense Knowledge(CK) are plentiful: typically, opening a window lets fresh air come in; sugar is sweet; temperature from the human body does not change the ambient temperature radically in a room; raising the shades during night-time, the room does not get brighter. Many tasks may benefit from CR and Commonsense Knowledge (CK), such as Natural Language Processing, Visual Interpretation (mostly from videos) and Robotics (for obvious reasons).</p><p>Acquiring and getting such knowledge in machine-readable form has seen significant effort in AI since its early days. This results in a rich palette of different constructions and curation of large knowledge bases. A few examples are CYC, ATOMIC, FrameNet, WordNet, Visual Genome and others. A recent <a href="https://arxiv.org/abs/2101.04640">report</a> enlists the dimensions of Commonsense Knowledge found in the knowledge bases.</p><p>Techniques varying from hand-crafted efforts, Web Mining, or Crowdsourcing have been employed to acquire such knowledge. Major knowledge bases (e.g., NELL, KnowItAll, ConceptNet and many others) include exciting facts that record categories, entities, and fundamental relations. These resulting taxonomies (also known as “ontologies” on Semantic Web) are challenging to collect and systematically encode and maintain the knowledge. Representational frameworks that support the encoding of the knowledge employ mostly a form of logic (e.g., Description Logic) that naturally expresses the relations of entities — a widely adopted and applied domain in the Semantic Web.</p><p>An extensive corpus of knowledge bases and datasets target Natural Language Processing (NLP) and Computer Vision (CV), which benefit substantially. The most studied field towards the goal of reasoning has been the use of <em>logic</em>. CR is mainly implemented as a sound inference (or approximated) for the employed logic. Nowadays, with the pervasiveness of Deep Learning and a focus on NLP and CV, models like the Transformer gave birth to the two most famous models that built upon it, namely OpenAI’s GPT (1 to 3) and BERT. The models struggle hard even with giant pre-training steps to evaluate against big datasets for natural understanding; for example, SWAG, CODAH, Event2Mind, DROP and many others. On critical examination, the models do not learn anything. <a href="https://arxiv.org/ftp/arxiv/papers/2002/2002.06177.pdf">They merely memorise and approximate world knowledge</a> with no actual evidence of deep understanding.</p><h4>Testing for CR</h4><p>Testing for Commonsense, one could consider passing a Turing test, going back in the 1950s, asking whether behind the given intelligent interface is a machine or a human. In 2012 Levesque et al. developed the so-called “Winograd Schema Challenge” (named after Terry Winograd (1972), who first introduced it) as an alternative to the Turing Test. A comprehensive review, from Kojican et al. (2020), of the potential datasets and the broad range of approaches to tackling the challenge, with performance metrics on the accuracy of the models.</p><h4>Conclusions</h4><blockquote>“As long as the dominant approach is focused on narrow AI and bigger and bigger sets of data, the field may be stuck playing whack-a-mole indefinitely, finding short-term data patches for particular problems without ever really addressing the underlying flaws that make these problems so common,” <em>Marcus and Davis write in Rebooting AI.</em></blockquote><p>For the moment, most AI researchers throw in larger datasets and compute resources at the problem, hoping that AI will eventually answer every possible case. It is not a personal viewpoint, but it is a trend that is going mainstream. Stuart Russel and Peter Norvig, authors of the book <em>“Artificial Intelligence: A Modern Approach”</em>, in the <a href="https://www.pearsonhighered.com/assets/preface/0/1/3/4/0134610997.pdf">Preface </a>of the fourth edition of the book they write: <em>“…We focus more on machine learning rather than hand-crafted knowledge engineering due to the increased availability of data, computing resources and new algorithms…”. </em>It has been evident in the last decade; it has been apparent that experts owe to acknowledge the field and the work that has been done.</p><p>Marcus and Davis propose a “..a <em>hybrid, knowledge-driven, reasoning-based approach, centred around cognitive models, that could provide the substrate for a richer, more robust AI than is currently possible”</em>. Harmelen et al. (2008), in “The Handbook of Knowledge Representation”, urges the need to develop powerful reasoning techniques that can deal with the knowledge that is complex, uncertain, and incomplete and that can freely work both top-down and bottom-up.</p><p>Nevertheless, the question is: <em>Are we there yet?. </em>The future will surprise us.</p><h4>Research</h4><p>In our institute, we are interested in techniques for bridging the gap between sensing and reasoning while considering commonsense phenomena that mainly characterise dynamic application domains. We aim to tackle uncertainty and incompleteness, innate in data streams, via automating commonsense reasoning in sensing environments. The work was partially funded by Germany’s Federal Ministry of Education and Research (BMBF) under HorME.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe67fe963b10" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/the-cornerstone-in-reasoning-from-commonsense-phenomena-fe67fe963b10">The Cornerstone in Reasoning from Commonsense Phenomena</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Challenges in Scheduling]]></title>
            <link>https://medium.com/omi-uulm/challenges-in-scheduling-cf65fbb6ce07?source=rss----b87a5e1848b0---4</link>
            <guid isPermaLink="false">https://medium.com/p/cf65fbb6ce07</guid>
            <category><![CDATA[distributed-systems]]></category>
            <category><![CDATA[scheduling]]></category>
            <category><![CDATA[operating-systems]]></category>
            <category><![CDATA[hpc]]></category>
            <dc:creator><![CDATA[Stefan Bonfert]]></dc:creator>
            <pubDate>Thu, 29 Apr 2021 13:42:19 GMT</pubDate>
            <atom:updated>2021-04-29T13:42:19.638Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tS3xlbDIAAY2iMXO" /><figcaption>Photo by <a href="https://unsplash.com/@rocinante_11?utm_source=medium&amp;utm_medium=referral">Mick Haupt</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Whenever you use a computer, most certainly a scheduling algorithm is running in the background to make sure that multiple applications and background services are executed “in parallel”. This post outlines, what basic challenges a scheduling algorithm has to solve, especially in scientific computing applications, and which tradeoffs have to be considered, when designing a scheduling algorithm.</p><h3><strong>What is Scheduling and how do I benefit?</strong></h3><p>The workload of a computer can be broken down into smaller pieces at two levels: The first is, that computers typically are able to execute multiple applications in parallel. These might be user applications, background services or operating system services. On the operating system level each of these applications is represented by a process. All processes running on a system can be (theoretically) executed in parallel, as long as they do not compete for indivisible resources such as file locks, a printer or the limited number of CPU cores.</p><p>A process may create threads during its execution, which are a smaller execution unit, that can be created and managed with relatively low overhead. Typical use cases in desktop applications are the separation of parts of the application that execute mostly independent tasks, e.g., disk I/O, CPU-bound computations, network communication or user interaction. Another common use case is the separation of different computation tasks to make use of multiple computational units (CPUs or CPU cores). Again, all threads belonging to a given process can be run in parallel. However, threads of one process often have stronger dependencies upon each other, since ,e.g., file I/O may have to wait for the results of a computation or a computation may depend on data received via the network.</p><p>While all threads of a system can theoretically be executed in parallel, the number of available CPU cores to actually run them usually is (much) smaller. Therefore, the actual degree of parallelism is limited by the available computational resources and it is the task of the operating system prioritize and order threads and to assign them to computational resources. The resulting assignment is called a schedule.</p><p>Depending on the expected use, the scheduler can pursue different optimization goals. In interactive systems like desktop computers interactivity is often prioritized over throughput, while in non-interactive systems like HPC-systems tailored for scientific computing prioritize high throughput and low time-to-completion.</p><p>I should be mentioned that some scheduling problems can be solved by a static schedule, that predefines all assignments ahead of the execution. However, that approach is limited to very well-known applications where execution patterns and execution times are known in advance. These schedules are often used in real-time systems and play no considerable role in desktop or scientific computing.</p><h3><strong>Interactive Systems</strong></h3><p>In interactive systems the responsiveness of the system is very important. To guarantee low response times these systems use timeslicing, which assigns a thread only a short amount of execution time before it is interrupted by the operating system and a different thread is executed. Once all threads have been run, the execution returns to the first thread. As a consequence, all applications (or rather processes) receive a share of the CPU and are therefore able to quickly respond to user input without being blocked by another application.</p><p>When thread A is interrupted to admit thread B, the current state of A is stored into memory, the state of B is fetched from memory and restored and the execution of B is resumed. This procedure, the context switch, is rather costly. Therefore, the time slices assigned to a thread should not be too small, since the time used for computation should be considerably higher than for the context switch. On the other hand the time slices should not be too large, since that would impact the user experience in terms of responsiveness.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/1*x2_Fsaloek0cZ8t9ck7fSQ.png" /><figcaption>Execution of two threads on one core using timeslicing</figcaption></figure><p>Further, interactive systems most often only consist of a single node (one computer with potentially multiple CPUs and CPU cores), which limits the size of the scheduling problem.</p><h3><strong>Scientific Computing</strong></h3><p>In scientific computing users submit their computing jobs into a queue and only fetch the results of their computation once it finished, which might take days or even weeks. They usually do not interact with their application in the meantime. Therefore, responsiveness is irrelevant to them. The most common optimization goals in these scenarios are low time-to-completion (from the user perspective), which is the time between submission and completion of a single job, and throughput (from the operator perspective), which is the amount of completed jobs per time.</p><p>Scientific computations often require high accuracy, for example using high spatial resolution. Through domain partitioning and other techniques a large amount of mostly independent threads are created. To keep the duration of execution reasonable, the computation is distributed to multiple nodes, racks or entire data centres, depending on the application. Due to the high number of threads and available resources, the scheduling problem is significantly more complex than for a typical desktop computer. The remainder of this post outlines some of the challenges and tradeoffs that have to be considered when designing a scheduler.</p><h4><strong>Thread Runtime</strong></h4><p>Finding the optimal schedule for a given combination of threads and resources is a NP-complete. Therefore, heuristics are used in almost all cases to find good solutions, even though they are not proven to be optimal. This heuristic can be designed to be either complex to compute and find very good solutions or quick to finish, while finding a good but less optimized one. Which approach to choose mainly depends on the runtime of the threads that will be scheduled. In any case the time spent on executing the actual threads has to be much larger than the scheduling overhead. Therefore, if the threads are long running, more time can be spent on scheduling, than for short running ones.</p><p>However, the runtime of a thread depends on a lot of factors like input data, I/O utilization, memory latency and power budgets. The runtime of one thread can thus not be known before its execution. In some cases the average runtime of a large number of threads can be estimated by the developer, which helps them choose a suitable scheduling method.</p><h4><strong>Communication</strong></h4><p>During their execution, threads may communicate with each other. This poses two challenges:</p><p>1. Communicating threads should be placed such that the communication latency between them is as low as possible to avoid blocking their execution.</p><p>2. Communicating threads have to be running simultaneously to allow them to communicate.</p><p>The communication infrastructure in data centres is often structured hierarchically. Thus, to keep communication latency low, related threads should be placed on different cores of the same CPU. If that is not possible, placing them on different CPUs of the same node, different nodes in the same rack or different racks in the same aisle are the other options in decreasing order of preference.</p><h4><strong>Scalability</strong></h4><p>Since the runtime of threads cannot be known in advance, data about their execution state has to be processed by the scheduler in order to make reasonable decisions. Also data about the dependencies among threads (communication, readiness to run) and the utilization of resources have to be taken into account. For that, data has to be collected and processed, which can be done in different ways:</p><p>1. Centralized: All data is collected at a central location, which then processes the data and computes the schedule. With growing number of threads and resources this central instance easily becomes a bottleneck.</p><p>2. Distributed: The data is processed locally and only exchanged with individual peers where necessary. This scheme comes with huge inherent complexity and is therefore hard to implement efficiently. The coordination overhead is considerably large.</p><p>3. Hierarchical: Data is processed locally, where possible. Higher order coordination instances aggregate data in multiple levels and make higher order decisions (e.g. assign a large number of threads to a group of nodes at once). This approach combines the benefits of centralized coordination (global overview, low overhead) with the ones of distributed coordination (no bottleneck, mostly local communication).</p><h4><strong>Data Locality</strong></h4><p>Most commonly in scientific computing, threads process input data and produce output data. Output data is written to the main memory of the executing node and consumed by one or more other threads as their input data at a later time. When a thread is randomly placed somewhere, the chances are high that its input data is not located on the same node and therefore it has to be transferred over the network first, which usually takes quite long.</p><p>It is therefore a good idea to place threads on the node, where their input data is already stored to avoid data transfers. However, in the extreme case, that would lead to a situation where all threads are executed on a single node, which contradicts parallelization. Thus, a tradeoff between data locality and parallelism has to be found. Transferring data in the background can help with that, since in data centres data can usually be transferred by the network interfaces autonomously whiteout blocking the execution of CPU threads. Also the knowledge of data dependencies between threads can lead to better scheduling decisions. These can be captured in a task graph, that described the tasks of an application and the data exchanged between them. This will be the topic of an upcoming post.</p><h3>Conclusion</h3><p>The design space for scheduling algorithms is huge. Even for the domain of scientific computing in data centres, an enormous amount of approaches exist, each with their own benefits and tradeoffs. In some upcoming posts I will go into more detail of individual aspects and possible solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf65fbb6ce07" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/challenges-in-scheduling-cf65fbb6ce07">Challenges in Scheduling</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Remember Your Path to Success — Why Machine Learning has the potential to exceed human knowledge.]]></title>
            <link>https://medium.com/omi-uulm/remember-your-path-to-success-why-machine-learning-has-the-potential-to-exceed-human-knowledge-126b3a4c54ed?source=rss----b87a5e1848b0---4</link>
            <guid isPermaLink="false">https://medium.com/p/126b3a4c54ed</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[monte-carlo-tree-search]]></category>
            <category><![CDATA[alphazero]]></category>
            <category><![CDATA[deepmind]]></category>
            <dc:creator><![CDATA[Patrick Michalsky]]></dc:creator>
            <pubDate>Wed, 14 Apr 2021 07:40:59 GMT</pubDate>
            <atom:updated>2021-04-14T07:40:58.886Z</atom:updated>
            <content:encoded><![CDATA[<h3>Remember Your Path to Success — Why Machine Learning has the potential to exceed human knowledge.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UJGR-tSpLsbjxcNijkHtNg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@szmigieldesign?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Lukasz Szmigiel</a> on <a href="https://medium.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Nowadays, many companies rely on the deployment of machine learning algorithms to solve increasingly challenging optimisation problems. However, not every machine learning technique is equally suitable. Limiting factors such as accuracy, precision, recall, runtime efficiency and memory efficiency have a significant influence on the operational scope of each algorithm.</p><p>In this blog post, we describe AlphaZero, an all-purpose machine learning algorithm, which increased both the runtime efficiency and the overall performance of automated decision-making processes by combining the non-linear function approximation of an artificial neural network model and the powerful, domain-independent capabilities of the Monte Carlo Tree Search algorithm. The decisive advantage of AlphaZero lies in the independent and unbiased learning of potential solutions, which enables AlphaZero not only to outperform established decision-making algorithms, but also to overcome the entrenched thinking patterns of our human knowledge.</p><p><strong>Human Knowledge</strong></p><p>To understand how it is possible to design algorithms capable of solving existing optimisation problems while overcoming explicit human knowledge, it is essential to first take a look at the general process of knowledge creation.</p><p>Generally, most of what we understood as knowledge can be simplistically interpreted as the accumulation of skills that we acquired through experiences. The distinction between the experiences we have had ourselves and the knowledge we have gained through the experiences of others can be considered as negligible in this context. However, to acquire knowledge, we as individuals need to gain additional experiences either by educating ourselves or by trialling unfamiliar situations.</p><p>Both procedures come with downsides. While conducting practical and theoretical experiments takes a lot of time and does not guarantee the generation or discovery of new findings, the correctness of existing human knowledge is commonly not consistent and can be refuted anytime by new insights. One of the most important questions is therefore how the process of future knowledge acquisition can be made faster, more efficient and more reliable.</p><p>A promising answer is provided by the concept of reinforcement learning. Instead of generating mathematical models based on explicit knowledge, reinforcement learning combines both the optimal control and behaviourist psychology to simulate an experience-driven learning process. The fundamental approach is based on trial-and-error learning: An autonomous agent continuously interacts with a certain environment and alters its behaviour depending on the observed consequences.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y-4oxzV06XHJxEDpO46Dog.png" /><figcaption>Reinforcement Learning: An agent performs actions to maximize the resulting reward</figcaption></figure><p>The more interactions are performed regarding an given environment, the more experiences can be gathered and converted into knowledge. In return, the more knowledge is acquired, the higher is the probability of selecting beneficial interaction opportunities, which leads to a continuous improvement of the reinforcement learning algorithm. Combined with the usage of high-performance servers, which are able to reduce the required wall-clock time of machine learning algorithms to a minimum, it is thus possible to simulate the elementary human knowledge acquisition process in a more time-efficient manner.</p><p>In comparison to humans, which may take years of intense studies to reach a specific level of knowledge, machine learning algorithms can achieve similar results in a fraction of time and by trialing more unfamiliar situations. Moreover, the application of reinforcement learning algorithms allows the omission of explicit knowledge, providing the necessary power to unleash the potential for superhuman performance.</p><p><strong>Game Playing Approaches</strong></p><p>A breakthrough in the field of machine learning was achieved in March 2016 when AlphaGo, an experience-based search tree algorithm, was able to beat the world’s best Go player Lee Sedol. In contrast to established Go engines, AlphaGo uses pre-learned artificial neural networks to reduce the complexity of the Monte Carlo Tree Search algorithm by adapting human experts’ strategies.</p><p>To get more independent from human knowledge, AlphaGo Zero, a more generic version of AlphaGo was launched in October 2017. Instead of relying on pre-learned strategies, AlphaGo Zero starts without previous knowledge about the game environment and continuously improves the behaviour of the artificial neural network by learning from the suggested policies of the Monte Carlo Tree Search algorithm. In December 2017, the AlphaGo Zero algorithm was applied under the name of AlphaZero to a broader class of game rules.</p><p>Without additional parameters, AlphaZero mastered the games of Go, Chess and Shogi through self-play, overcoming the extraordinary calculating capabilities of the world’s strongest game engines like Stockfish and IBM’s Deep Blue, which rely on thousands of handcrafted rules and heuristics. However, it was AlphaZero’s style of play which caused astonishment. In Chess, for example, AlphaZero independently discovered and played common human chess strategies such as openings, king safety and pawn structure. Furthermore, AlphaZero developed its own strategies that augment and overturned centuries of chess knowledge with a wide range of innovative game playing approaches.</p><blockquote>The implications go far beyond my beloved chessboard… Not only do these self-taught expert machines perform incredibly well, but we can actually learn from the new knowledge they produce.</blockquote><blockquote>(Garry Kasparov — former World Chess Champion)</blockquote><p><strong>Monte Carlo Tree Search</strong></p><p>But how did AlphaZero generate a deeper understanding of the gameplaying environment? Let us start with the Monte Carlo Tree Search algorithm. The Monte Carlo tree search algorithm is a heuristic search method to calculate optimal decisions in a designated domain combining both the precision of tree search and the generality of random sampling. The basic process is subdivided into four repetitive computational steps: selection, expansion, simulation, and backpropagation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pep-6bpw48rTROg7be9sNg.png" /><figcaption>Monte Carlo Tree Search</figcaption></figure><p>In chess, for example, the Monte Carlo Tree Search is iteratively applied to compute the optimal interaction for a given board state by simulating various future scenarios and selecting the move which guarantees the best possible long-term outcome. The nodes within the search tree represent certain board states, while each connection between the nodes illustrates the movement of a game piece. In mathematical terms, a specific node <em>(s, a) </em>can thus be determined by the combination of a certain board situation <em>s </em>and the respective move <em>a </em>performed on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CrjZ-qbnSuZ9zXPvojE7Yw.png" /><figcaption>Each node of the tree represents a combination of a certain board situation and the move applied to it (<a href="https://de.wikipedia.org/wiki/Datei:Chess_board_blank.svg#/media/Datei:Chess_board_blank.svg">PNG</a>).</figcaption></figure><p>During the execution of the algorithm, each simulated node is assigned with a efficiency value, indicating whether the combination of board state and performed move had a positive or negative effect on the current player’s performance. Usually, the efficiency value of a node is defined as the relation between the number of simulations <em>N(s,a)</em> and the corresponding number of victories <em>Q(s,a)</em>. For example, if a node led to a victory only once, but was simulated four times, the efficiency value is ¼. Nodes that have a higher efficiency values are consequently more profitable and are preferred in the selection of subtrees.</p><p>For the simulation of possible board interactions as well as consequential board situations, the Monte Carlo Tree Search algorithm is provided with perfect knowledge of the game rules and considers possible opponent reactions by simulating both the players and opponents moves alternately. To differentiate between the player’s benefits, the outcome of an opponent step is provided with a negative sign. This procedure is similar to the Minimax algorithm, but differs in the fact that not all, but only a limited number of nodes need to be traversed.</p><p><em>Selection</em></p><p>Let’s get into a little more detail. Starting at the root node <em>(sₒ,⋅ )</em>, a child selection policy 𝜋 is recursively applied to the search tree until a nonterminal board state <em>sₖ</em> with unvisited child nodes <em>(sₖ, a) </em>is reached. The most popular child selection policy 𝜋 is represented by the simple and efficient Upper Confidence bounds applied to Trees (UCT) algorithm, which guarantees to be within a constant factor of the best possible bound. The functionality of the UCT algorithm is described as an independent multiarmed bandit problem, selecting an optimal action among all possible decisions by maximizing the following policy:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/876/1*Hb9ej1lr5hKldbAVaFJ8YA.png" /><figcaption>Upper Confidence bounds applied to Trees (UCT)</figcaption></figure><p>Considering a current nonterminal board state <em>sₘ</em>, and a set of subsequent board states <em>sₙ,</em> each connected to node <em>(sₘ,⋅ ) </em>over a respective move <em>a.</em> The variable <em>N(sₘ,⋅ )</em> represents the number of times <em>sₘ </em>has been investigated in total, while the variable <em>N(sₘ, a)</em> describes the number of visits related to each of the subsequent nodes <em>(sₘ, a). </em>If a specific value<em> of N(sₘ, a) </em>equals zero, the UCT value of node <em>(sₘ, a) </em>is defined as infinity. This definition is based on the exploration-exploitation dilemma, ensuring unvisited child nodes are considered at least once before any other subsequent node is expanded further. In addition, the variable<em> Cₚ &gt; 0</em> can be increased or lowered to regulate the influence of the ensuing exploration term. The ratio of <em>Q(sₘ, a)</em> and <em>N(sₘ, a) </em>represents the efficiency value of node <em>(sₘ, a)</em>, which is considered to be within the interval from zero to one. If more than one node <em>(sₘ, a) </em>has the same maximal value, an action is chosen randomly.</p><p><em>Expansion</em></p><p>Whenever a combination of non-terminal board state<em> sₘ </em>and selected move <em>a</em>, which is not yet represented by a corresponding tree node<em>, </em>is examined during the traversal of the search tree, the expansion step extends the preceding node<em> </em>by creating the nonexisting child node (s<em>ₘ</em>, a).</p><p><em>Simulation</em></p><p>In a next step, the game outcome ∆ for the newly created leaf node <em>(sₘ, a) </em>is calculated by simulating a sequence of random actions until a final game state is reached. Depending on the application area of the Monte Carlo Tree Search algorithm, the simulation can variate in its complexity. Furthermore, the expected return ∆ may be a discrete or continuous value for simpler domains, or a vector for more complex multiagent domains. For example, in a environment in which the set of possible outcomes are defined by either winning or losing a game, the value of ∆ would contain either <em>1</em> or <em>0</em>.<em> </em>Since each of the created nodes are generated without previous knowledge about the search space, the generality of random sampling remains.</p><p><em>Backpropagation</em></p><p>In the last step, the simulated outcome ∆ of the newly created leaf node <em>(sₘ, a) </em>is backpropagated through the preceding tree nodes to update the outcome statistics <em>Q(s, a)</em> of each node <em>(s, a)</em> in the selected subtree. The update is usually realised by adding ∆ to the value of <em>Q(s, a)</em>. In addition, the visit count <em>N(s, a) </em>of each node is incremented.</p><p><em>Termination</em></p><p>The traversal of the Monte Carlo tree search algorithm is repeated until either a time, memory, or iteration constraint is satisfied. As soon as the search terminates, one of the possible actions <em>a</em> of the root node <em>sₒ </em>is selected to be the optimal solution to the initial decision problem. Generally, there are four different criteria for selecting the best possible action:</p><ul><li><em>max child</em>: select the root child with the highest efficiency value.</li><li><em>robust child</em>: select the most visited root child.</li><li><em>max-robust child</em>: select the root child with both the highest visit count and the highest efficiency value. If none exists, then continue searching until an acceptable visit count is achieved.</li><li><em>secure child</em>: select the child which maximizes a lower confidence bound.</li></ul><p><strong>Experience-based Tree Search</strong></p><p>In contrast to traditional Monte Carlo tree search algorithms, which are investigating all possible upcoming board situations, AlphaZero uses previous search experiences, represented by an artificial neural network model, to exclude search branches that are expected to be insufficient. As a result, the potential board situations can be reduced dramatically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mda9VfiE4wfAwxV-HhcQOQ.png" /><figcaption>Experience-based Tree Search</figcaption></figure><p>In Chess, for example, AlphaZero searches only <em>60</em> thousand positions per second, compared to roughly <em>60</em> million for the open-source chess engine Stockfish. To realize the AlphaZero algorithm, each node <em>(s, a)</em> consists of a prior probability of success <em>P(s, a)</em>, a visit count <em>N(s, a)</em>, and an expected outcome, represented again by the ratio of <em>Q(s, a) </em>and <em>N(s, a)</em>. Starting from a current board state <em>sₒ</em>, the AlphaZero algorithm simulates multiple board situation by iteratively selecting board interactions, that are maximizing the upper confidence bound, until an unvisited child node <em>(sₘ,⋅ ) </em>is encountered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3mrYpSB3CGbTWDP0xyrkFw.png" /><figcaption>Upper Confidence bound and neural network predictions</figcaption></figure><p>The position of the encountered unvisited child node is then expanded and evaluated by the artificial neural network model <em>f</em>ₔ to generate both the prior probabilities <em>P(sₘ,⋅ ) </em>and the prognosticated outcomes <em>V(sₘ)</em> of the subsequent child nodes <em>(sₘ, a).</em></p><p>Since the prognosticated outcomes <em>V(sₘ) ∈ {-1, 0, 1}</em> are already generated by the artificial neural network model, no further simulations are needed to evaluate ensuing board interactions. In the following step, the prognosticated values of the encountered child node <em>(sₘ, a) </em>are backpropagated through the preceding nodes to update the average outcome statistics of the selected path nodes, described by <em>Q(s, a)</em> and <em>N(s, a)</em>.</p><p>After 800 iterations, the Monte Carlo tree search algorithm of AlphaZero returns the board interactions with the most visited node <em>(sₒ</em>, <em>a)</em> as optimal solution to the current decision problem <em>sₒ</em>. As an additional return, the visit counts of the branches <em>(sₒ</em>, <em>a) </em>are transformed into a probability distribution 𝜋, calculated either proportionally or greedily with respect to the visit counts of the root node <em>(sₒ</em>,<em>⋅ )</em>. The distribution 𝜋, representing the latest executed search experiences, is then used to adjust the parameters ɘ of the artificial neural network <em>f</em>ₔ.</p><p>At the beginning of the self-play reinforcement learning algorithm, the neural network is initialized to random weights ɘ<em>ₒ</em>. During a game, AlphaZero uses the guided Monte Carlo tree search algorithm to find an optimal solution for each of the emerging board situation. The resulting probability distributions <em>𝜋ₜ</em> and the corresponding board situation <em>sₜ</em> are saved until the current game terminates. By definition, a game terminates at step <em>T</em> when either both players pass, when the search value drops below a resignation threshold or when the game exceeds a maximum length.</p><p>The emerging board situations <em>s</em> are then transferred to the artificial neural network model as a stack of input images <em>N </em>×<em> N </em>×<em>(M ⋅ T + L)</em>, concatenating <em>T</em> sets of <em>M</em> planes with the size of <em>N </em>×<em> N</em>. Each set of planes represents the board position at a specific timestep and is oriented to the perspective of the current player. The <em>M</em> feature planes are composed of binary feature planes, indicating the presence of the player’s pieces, while each of the <em>L</em> additional constant-valued input planes are donating supplementary information in terms of player’s colour, total move count or game-depending restrictions.</p><p>The combination of final outcome <em>z</em> <em>∈ {-1, 0, 1}</em>, probability distributions 𝜋, prognosticated outcomes <em>v:=V(sₒ)</em>, prior probabilities <em>p:=P(sₒ</em>,<em>⋅ )</em> and corresponding board situations <em>s</em> are then used to update the parameters of the artificial neural network model <em>f</em>ₔ by minimizing the following loss function <em>l</em>. Specifically, the parameters ɘ are adjusted by gradient decent, applied to the mean-squared error and the cross-entropy of the probability and value output of the artificial neural network model. The value of <em>c</em> is introduced as parameter to control the level of <em>L2</em> weight regularisation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/647/1*EjSq939FN0Kt0SN5gLAZgA.png" /><figcaption>Loss function which needs to be minimized</figcaption></figure><p>To learn each game, an untrained artificial neural network model plays millions of games against itself. At first, it plays completely randomly, but over time the system learns from wins, losses, and draws, making it more likely to choose advantageous moves in the future. The amount of training the network needs depends on the style and complexity of the game, taking approximately <em>9</em> hours for chess, <em>12</em> hours for shogi, and <em>13</em> days for Go — a fraction of the time it would take us, as humans, to master the game’s mechanics. Similar results can be observed in comparison with the world’s strongest game engines:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xOWooni-E6F3kZS-kZ9_3A.png" /><figcaption>Comparison between AlphaZero and world’s strongest game engines (<a href="https://kstatic.googleusercontent.com/files/2f51b2a749a284c2e2dfa13911da965f4855092a179469aedd15fbe4efe8f8cbf9c515ef83ac03a6515fa990e6f85fd827dcd477845e806f23a17845072dc7bd">PDF</a>)</figcaption></figure><p><strong>Research</strong></p><p>Since experience-based search tree algorithms are no longer limited to the analytical description of explicit human knowledge, similar machine learning techniques could be applied to other domains requiring recognition of complex patterns, long-term planning, and decision-making. At our institute, we are deeply inspired by the overwhelming results of AlphaZero and are currently investigating alternative application areas. Stay tuned.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=126b3a4c54ed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/remember-your-path-to-success-why-machine-learning-has-the-potential-to-exceed-human-knowledge-126b3a4c54ed">Remember Your Path to Success — Why Machine Learning has the potential to exceed human knowledge.</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Come and Gone: one year operating Big Blue Button on a campus-scale]]></title>
            <link>https://medium.com/omi-uulm/come-and-gone-one-year-operating-big-blue-button-on-a-campus-scale-8db8ea36a940?source=rss----b87a5e1848b0---4</link>
            <guid isPermaLink="false">https://medium.com/p/8db8ea36a940</guid>
            <category><![CDATA[e-learning-platform]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[bigbluebutton-install]]></category>
            <category><![CDATA[pandemic]]></category>
            <category><![CDATA[bigbluebutton]]></category>
            <dc:creator><![CDATA[Jörg Domaschka]]></dc:creator>
            <pubDate>Wed, 31 Mar 2021 07:42:20 GMT</pubDate>
            <atom:updated>2021-04-01T08:31:23.523Z</atom:updated>
            <content:encoded><![CDATA[<p><em>On 1st April 2021 Ulm University will turn off their 30 node Big Blue Button cluster and switch video conferencing for teaching and meetings to Zoom. Almost one year ago to the day the pandemic and the resulting political decisions forced the country in a lock-down and set lecturers and IT operations the task to run the semester entirely virtual. Big Blue Button was the software of choice at our university back then and getting it up and running before semester start was a tight race.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*eVPQ9rDv3PUi9SpX" /><figcaption>Photo by <a href="https://unsplash.com/@hazardos?utm_source=medium&amp;utm_medium=referral">Hassan OUAJBIR</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Introduction</h3><p>An entirely virtual semester basically requires three types of software services: (i) an e-learning platform to organize teaching (for lecturers) and to serve as a single entry point for students. (ii) a platform to record, process, and ship teaching material produced asynchronously, typically screencasts of lectures. (iii) a video conferencing platform for synchronous teaching, be it for Q/A sessions, supervise Bachelor, Master, and PhD students, and running workshops. Needless to say, all three types of services need to scale for 10k students.</p><p>The approach followed at Ulm University was special in the sense that the CIO predicted an overload of network operators and any cloud services available for video conferencing. Hence, the decision was taken to host all necessary software in-house and several measures were taken to ensure the necessary network and compute capacities were available:</p><ul><li>In-house network bandwidths in the data centre were increased by a factor of four leading to 40Gbps and 100Gbps server uplinks.</li><li>At <a href="https://www.belwue.de/">BelWü</a>, the federal state’s ISP for universities running a 2x100Gbit fiber backbone network across the federal state of Baden-Württemberg, capacities for peering and transit to commercial ISPs were tremendously increased.</li><li>For each of the above mentioned software services, task forces were established with members from the university’s Communication and Information Centre (KIZ), but also dedicated experts from research institutes and further associated departments.</li></ul><p>Being member of the video conferencing task force got me rather quickly in the position of being responsible for preparing, scaling, and operating Big Blue Button as a “side task” to my regular position as a researcher; probably, I got the job, because I am good a fiddling with things I don’t have a clue about and because in our research we claim, we knew how to run things. From OMI, I got supported by <a href="https://medium.com/u/1e65c1d61efb">Simon Volpert</a> and <a href="https://medium.com/u/6da0244b8875">Georg Eisenhart</a>. BBB support came from <a href="https://www.uni-ulm.de/einrichtungen/saps/">Steffen Moser from SAPS</a>. First and second level support was taken on by <a href="https://www.uni-ulm.de/einrichtungen/kiz/">KIZ</a>.</p><h3>Big Blue Button</h3><p>BigBlueButton (BBB) is a client-server video conferencing software released as open source software under a GNU Lesser General Public License (LGPL). It has been used in production at Ulm University since 2012 at the <em>School of Advanced Professional Studies (SAPS)</em>. There, it is part of the students’ “virtual cloud-based desk” and it serves the purpose to enable a synchronous communication channel between lecturers and students.</p><h4>BigBlueButton Architecture</h4><p>Being a client server application, BBB software consists of an HTML5 client (available since version 2.2.0 released November 2019) and a multi-component server-side. A unique feature at client side is that BBB does not require the installation of additional tools, but can be used natively from almost any recent browser.</p><p>The set of sever-side components consists of custom components developed by the BBB team as well as existing open source tools. The most important of these are FreeSWITCH used for audio mixing and streaming (most CPU-demanding) and the Kurento WebRTC server used for video streaming and screen sharing (most network-demanding). Both of them have soft real-time requirements and failing to meet them will result in QoS degradation.</p><h4>Scaling BBB</h4><p>BBB’s distributed architecture principally enables distributing components across multi hosts. This, however, is not documented and explicitly discouraged. Instead, BBB developers and BBB community recommend to use the Ubuntu-based installation script.</p><p>The script depends on Ubuntu 16.04 and installs all required Ubuntu packages for all needed components be they BBB-specific or external such as nodejs, Redis, MongoDB, FreeSWITCH, Kurento … Overall, the dependencies between all of them are not documented which makes moving to a different distribution difficult. Even using a different Ubuntu version is considered to be non-trivial.</p><p>Due to this single-server set-up, the capacity of the server running BBB limits the maximum size of meetings that can be hosted by that server as well as the number of parallel meetings. What is more, even with vertical scaling, the components used by BBB do not scale to arbitrary extents.</p><p>Scaling horizontally is possible as using further servers increases the number of parallel meetings. Technically, the Scalelite Load Balancers provides the quickest way to set-up a BBB cluster.</p><h4>Release Management</h4><p>BBB components (for the current stable version 2.2) are exclusively released as deb packages for Ubuntu 16.04. A BBB release then consists of a set of versioned packages guaranteed to be interoperable. There is very little freedom for sys admins to change anything at that set-up.</p><p>While this is unpleasant, but can be accepted to some extent, the release management can be be described as chaotic. In particular in the beginning of the pandemic, the number of releases exploded leading to 1+ releases per week. In these releases, there was no separation between (i) fixed bugs, (ii) introduced new features. This led to cases where a new patch-level release fixed a critical bug, but also introduced a new feature. More than once, this new feature contained a new security problem requiring a new release which included some new features …</p><h3>Operations</h3><p>From lock-down to semester start, we had 12 days to provide a BBB cluster that would be used by (estimated) 5,000 students in parallel and more or less throughout the day. The SAPS had a single-server BBB installation running, so we could re-use their configuration as a starting point. Yet, they had no experience with running clusters.</p><p>Our estimate in the beginning was that we would need roughly 20 servers (indeed half a year later, we had 30 of them). We also knew that we would need to change things frequently in order to try things out and even update software while being in production (a terrible vision for a scholar like me). The hardware for running the services was provided by <a href="https://www.bw-cloud.org/">bwCloud</a>, a regional OpenStack-based cloud offering run by several universities in a collaborative manner. Running BBB in this private cloud allows us to foster real-time aspects of BBB using custom scheduling rules for BBB VMs.</p><h4>Operations Strategy</h4><p>The overall goals of operations were the following:</p><ul><li>Repeatably manage a large number of servers running in a cluster and providing a service that is being used for large portions of the day.</li><li>Not being experts for this software, frequent changes to the set-ups would be required. These include changes to the configuration, adding more servers, introducing the software releases.</li><li>Again, not being experts for the software, we would make mistakes and it should be very easy to roll back these mistakes; which is contradictory to the release management offered by BBB.</li></ul><p>With little time available we decided to do what we know best. In this case, this meant to adapt an operation strategy developed in the <a href="https://recap-project.eu/">RECAP project</a> and used to run our own infrastructure. This operations strategy is heavily based on Immutability as described in a <a href="https://medium.com/omi-uulm/the-vertical-immutable-infrastructure-pattern-ecd24b8af882">previous blog entry</a>. This, in turn, strongly depends on (reproducible) automation, containerization, and container orchestration.</p><p>Major steps for operating BBB following that strategy are:</p><ol><li>Containerization of BBB including BBB binaries and BBB configuration. There is no need to watch out for state in BBB, as there is none.</li><li>Describe the BBB deployment for an orchestration tool</li><li>Deploy virtual machines and orchestration tool</li><li>Add BBB deployment to orchestration tool</li></ol><h4>Operations Tooling</h4><p>We relied on tools we have been using for some years (which is good), but unfortunately also had run out of support or will do so soon (which is bad)</p><ul><li>Docker containers as containerization technology;</li><li><a href="https://rancher.com/docs/rancher/v1.6/en/">Rancher 1.6</a> as an container orchestrator (kubernetes does not work well with the UDP-based WebRTC demanded by BBB);</li><li><a href="https://www.openshift.com/learn/topics/coreos">CoreOS’ container operating system </a>as operating system for the virtual machines. Ignition files for configuring the operating systems. Rancher agents are running on each of them building the Rancher cluster;</li><li><a href="https://www.ansible.com/">Ansible</a> for starting virtual machines and for gluing the different steps together</li></ul><p>This article will not go into details about the deployment and orchestration, but exclusively focusses on the repeatable and versioned configuration of BBB within its container.</p><h4>BBB Containerization</h4><p>Containerization of BBB was not straight forward, but also not too complicated. We share our <a href="https://omi-gitlab.e-technik.uni-ulm.de/kiz/bbb/application-single/-/blob/v2.2.x/Dockerfile">early scripts and Dockerfile here</a> but did not find time to update the pages on a regular bases.</p><p>The major problem with the BBB releases is that you cannot go back. Once BBB 2.2.21 is out, there is no way to install 2.2.20 on a server. Hence, our primary concern was to build a versioned container for every release that became available. This base container was kept stable and immutable all the time.</p><h4>BBB Configuration</h4><p>A further problem with BBB containers is their size of 2+ GB which makes working with them slow, in particular for configuration changes. In consequence, when building the BBB containers, we ensure that all configuration files are at the upper layers of the container and that the latest container image would always be cached when configuration is updated. In retrospect, it would have been better to use configuration side-car containers that contain configuration files specific for our deployment scenario. This configuration container would exclusively consists of configuration files.</p><p>Most of the configuration files contain adapted, but static files (welcome message, supported codes, …). Yet, minor parts of the entire configuration needs to adapt to the host running that BBB instance. This is mainly the case for network configuration and dial-in support. For these cases, the files stored in the configuration container are templated and can be instantiated environment variables. <a href="https://omi-gitlab.e-technik.uni-ulm.de/kiz/bbb/application-single">The configuration is available here</a></p><h4>Updates and Changes</h4><p>There are three basic types of changes to be applied to a BBB installation: (i) changes to the operating system; (ii) changes to the BBB configuration; (iii) changes to the BBB version.</p><p>Following the concept of immutability, changes to the operating system were done by simply throwing away the virtual machine and re-installing the operating system. This kind of update was only necessary very seldom.</p><p>Changes to the configuration were applied by changing the respective configuration files in the git repository, building a new versioned container, and updating the BBB container through the orchestrator. We applies such changes several times a day in the first 8 weeks and very seldom afterwards.</p><p>Changes to the BBB version requires us to rebuild the BBB container from scratch, a task that takes ~1h to complete. Unfortunately, this new container could not immediately be shipped, as even patch level version can introduce new configuration options, change existing configuration options, and introduce new components that require new configuration files.</p><p>Due to that, after having built a container with a new version, we would scan the new container for configuration files and `diff` them against the configuration files of the previous version. Using the default configuration files in both cases, this process unveils all changes the programmers made to any configuration option. While this can be done automatically, migrating these changes to our custom BBB configuration files is a fully manual task just as deciding which values to chose for new configuration options.</p><p>When updating the production system, we usually did canary releases. That is, we removed one of the nodes from the load balancer, updated it, and ran some manual tests. In case of success, the node was put back into the load balancer and 2–3 more nodes were updated as well (the exact number depended on the time of the day and how many nodes were without a meeting). In case no increase in complaints and tickets at first level support were experienced, we updated up to 50% of all servers (automatically). The remaining 50% of all servers were updated at least 24 hours later.</p><h3>Discussion</h3><p>After being responsible for running BBB for one year I know more about operations that I had aimed for, more about BBB (and WebRTC in general) that I ever wanted to know, and more about users than … I do understand why first level support exists and why people are building up FAQs and Knowledge Bases.</p><p>Besides this, the last 12 months were successful in the sense that there was no major outage of BBB and only minor problems did show up with the platform. That fact that we were able to roll out new versions step-by-step and were able to easily roll-back broken versions helped a lot to minimize the number of people affected by a mistake on our side. Overall, we rolled out almost 100 versions of BBB during that time, 20 of which stemmed from new BBB releases; the others were changes in configuration or came from an increased feature set (IPv6 support, dial-in support, …).</p><p>A major weakness of our set-up is the load balancer that has originally been developed for schools with their very equal class sizes and hence meeting sizes. For university operation, Scalelite often failed to handle find good solutions for the large spread of meetings sizes ranging from 3 to 180+. Here, better scheduling algorithms are needed.</p><p>Yet, overall, the realization with the immutability concept worked fine and left us with roughly one day of work per week for BBB, at least after June 2020. Unfortunately, the tool chain we use has seen brighter days. All tools have run or will within a short time run out of support. It would have been “exciting” to port all functionality to new tools with the new semester just a few weeks away (we’ve been there). In the end, this situation motivated the political decision to move to zoom.</p><h3>With a tear in the eye…</h3><p>… we say good bye to Big Blue Button. Overall, I think, we were successful in bringing a 24/7 video conferencing installation to Ulm University’s lecturers and students. Thanks to all students participating in the early load testing. Kudos for the positive feedback we got here and there. And apologies for anyone unhappy about the service we offered. Be assured, we did our best.</p><p>It was a fun time (despite the strange pandemic times), but also a massive distortion to all research work and research plans. Thanks to my group for covering much of my unavailability and to our research partners for their understanding.</p><p>After shut-down, we keep the software artefacts available at <a href="http://release.bbb.uni-ulm.de/#/">http://release.bbb.uni-ulm.de/</a> hoping that they may be useful for someone else.</p><p><em>Note: </em>An extended version of this blog entry will appear as a series of three articles in <a href="http://doag/">Red Stack</a>, the magazine of the German Oracle User Group <a href="https://www.doag.org/de/mitmachen/zeitschriften/#c19415">(DOAG)</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8db8ea36a940" width="1" height="1" alt=""><hr><p><a href="https://medium.com/omi-uulm/come-and-gone-one-year-operating-big-blue-button-on-a-campus-scale-8db8ea36a940">Come and Gone: one year operating Big Blue Button on a campus-scale</a> was originally published in <a href="https://medium.com/omi-uulm">omi-uulm</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>