Jamulus Setup Workshop

Total Page:16

File Type:pdf, Size:1020Kb

Jamulus Setup Workshop Jamulus Workshop 28th August 2020 Dr Patrick Early https://youtu.be/ymwBwhvEeS8 Jamulus Sound travels at 1,125 ft per second in 20°C Jamulus If Sound travels at 1,125 ft per second in 20°C Then a 30ms Delay would equate to being about 33ft from the person you are playing music with This picture was taken about 30 feet away from the players. From hear you hear the sound 30ms after it is made. The 30ms echo was mingled with longer echo's as the sound came back from the walls of nearby buildings. Abby Road rooftop recording session 1969 the Beatles Latency over the internet produces exactly the same echoed sound as was heard from buildings that are further away and can become a distracting influence when playing online. We are trying to minimise this effect therefor at every stage of the process – the equivalent to being as close to the player as is acoustically possible. Ironically effects pedals try to deliberately create the ‘Rooftop’ or outdoor effect. 30 ms Demo https://youtu.be/-3jTSw0grXg 30ms as an effect A delay over 5Oms becomes problematic A delay over 100ms becomes unworkable for string players, as the meter becomes ambiguous without the help of accurate visual direction- the conductor Case Study: Performing Band Rehearsals on the Internet With Jamulus Volker Fischer Abstract The author of this paper is a member of a rock cover band performing weekly rehearsals on the internet over a period of three years. During that time a lot of practical experience with real time jamming was gained. In this paper the author shares these experiences and gives an overview of the Jamulus software which was used to jam online discussing the most important facts for a successful setup. 1 Introduction Since the quality and speed of internet connec- tions have improved tremendously in the past years, performing distant online jamming in real time is possible now. There are near real time Figure 1: Jamulus software on a typical jam solutions like Ninjam [Incorporated, 2015] avail- session able with a synchronization mechanism based on musical form. It provides a way for musicians ing narrow band networks like a Digital Sub- to improvise together but real songs cannot scriber Line (DSL) or a Cable Modem (CM). be played with this system. Jamulus [Fischer, There is one server running the Jamulus server 2015] is a similar software like LDAS [Saebø and software which collects the audio data from each Svensson, 2006], Soundjack [Carot et al., 2006] Jamulus client, mixes the audio data and sends or eJamming [Blythe and Sewell, 2011] for ac- the mix back to each client. Jamulus is Open tual real time networked music performance. It Source software (GPL, GNU General Public Li- enables musicians to rehearse songs like they cense) hosted at SourceForge and runs under would if they were in the same room together. Linux, Windows and MacOS. It is based on the Online jamming has many advantages, e.g. Qt framework and uses the OPUS audio codec musicians get the possibility to jam with oth- [Valin et al., 2012]. A screen shot of Jamulus is ers residing too far away, where they would not shown in Figure 1. have a chance to practice in a traditional way. The initial release on SourceForge was in 2006 Another advantage is that no rehearsal room were Linux was the only supported operating must be rented and no instruments need to be system using a native ALSA audio interface and transported. The virtual rehearsal room is ba- a simple ADPCM audio coding. In the most re- sically moved to the home. cent version, Jamulus is a multi-platform, easy In this paper the long time experience with to use software utilizing the JACK audio in- online jamming is presented. In the first part of terface and a high quality audio coding library. the paper the Jamulus software is introduced. Private jam servers can be registered at the cen- In the second part the online band experience tral server so that they show up in a list on the is shared. Jamulus client server menu. The simplified core structure of Jamulus is 2 The Jamulus Software shown in Figure 2 and starts with a callback The Jamulus software enables musicians to per- based audio interface which captures audio sam- form real-time jam sessions on the internet us- ple blocks. These blocks are compressed with ‘For the concept of online jamming with various different musicians it is indispensable that the servers are crowded. Therefore Jamulus must be intended for end users and it has to be user friendly. With a straightforward GUI design and an auto detection of the jitter buffer size, Jamulus tries hard to get to this goal’. Fischer (2015) Unfortunately for the software to work correctly, a lot of other things have to be setup correctly. It starts with the analog audio setup, i.e. an instrument and/or a microphone has to be mixed and connected to the sound card of the PC. The PC hardware must be prepared for real time processing, i.e. no CPU or network demanding software may be run in parallel to Jamulus and things like energy saving techniques of lap- top processors have to be turned off. Correct audio drivers must be installed and the parameters like the buffer period size must be set to a small value to get the lowest latency possible. The internet connection must provide not less than the minimum required bandwidth and, at least equally important, must have a low ping time to the server. If even one of these requirements are not fulfilled, the performance is bad or Jamulus does not work at all’. Fischer (2015) Remote%20Live%20Help%20C4%20Site.webarchive Remote%20Live%20Help%20C4%20Site.webarchive https://jimamsden.wordpress.com/2020/04/04/remote- jamming-with-helix-and-jamulus/ Typical Jamulus Window Typical Connection Options A Minimalist Control Setup Minimalist Settings Window How to change internal microphone volume in Windows 10 https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=w eb&cd=&cad=rja&uact=8&ved=2ahUKEwjFudSi1_fpAhUHSxUIH TrgBYAQwqsBMAB6BAgKEAQ&url=https%3A%2F%2Fwww.yout ube.com%2Fwatch%3Fv%3DmmunTzfs5gY&usg=AOvVaw1dJUD EAlJ9dpWhAQIl6jdS A server is set up in the vicinity of the players to handle all of the signal processing. Failing this, all participants should connect to the nearest (lowest latency) server. These are mandatory Requirements for all participants without exception, to reduce overall latency to a tolerable level for everyone in the rehearsal Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface Wi Fi is unacceptable Use a dongle if there is no Ethernet connection on your computer Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface A relatively small speed requirement is specified in kbps by Sourceforge Given the low kb speed requirement, a more accurate way of measuring the quality of your internet connection for the purposes of using Jamulus therefor is to assess if there are points along its path to and from the server, where delay variation is taking place - jitter Packets of data which carry the audio information get interrupted by variation. This has the effect for the listener that you would experience if buildings were popping up out of nowhere during an outdoor performance, producing random distracting echo’s of your playing (altering your perception of distance from the other players as it were). Traceroute helps to identify the existence of these blocks by registering variation in round trip times for ‘pings’ in ms Wider ping time variation indicates a less satisfactory internet service and is the main cause of the audio flow being compromised Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface Blue tooth and wi-fi will increase the overall delay Use headphones with a cable and single stereo jack Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface You have to tailor your investment to your circumstances Requirements Jamulus software downloaded and installed. Ethernet connection direct to your computer A good internet connection A set of regular headphones. A quality instrument microphone An audio interface Jitter is the variation in the time between data packets arriving, caused by network congestion, or route changes. The longer data packets take to transmit, the more jitter affects audio quality. Standard jitter measurement is in ms A jitter buffer is a temporary storage buffer used to capture incoming data packets. It is used in packet-based networks to ensure the continuity of audio streams by smoothing out packet arrival times during periods of network congestion. ‘Crackling’ is due to lost packets. What we've done in choir to reduce this is to switch the auto-buffer off and manually increase it a bit from the auto-set setting. O’Reilly (2020) You can try to optimize the latency vs.
Recommended publications
  • Latency and Throughput Optimization in Modern Networks: a Comprehensive Survey Amir Mirzaeinnia, Mehdi Mirzaeinia, and Abdelmounaam Rezgui
    READY TO SUBMIT TO IEEE COMMUNICATIONS SURVEYS & TUTORIALS JOURNAL 1 Latency and Throughput Optimization in Modern Networks: A Comprehensive Survey Amir Mirzaeinnia, Mehdi Mirzaeinia, and Abdelmounaam Rezgui Abstract—Modern applications are highly sensitive to com- On one hand every user likes to send and receive their munication delays and throughput. This paper surveys major data as quickly as possible. On the other hand the network attempts on reducing latency and increasing the throughput. infrastructure that connects users has limited capacities and These methods are surveyed on different networks and surrond- ings such as wired networks, wireless networks, application layer these are usually shared among users. There are some tech- transport control, Remote Direct Memory Access, and machine nologies that dedicate their resources to some users but they learning based transport control, are not very much commonly used. The reason is that although Index Terms—Rate and Congestion Control , Internet, Data dedicated resources are more secure they are more expensive Center, 5G, Cellular Networks, Remote Direct Memory Access, to implement. Sharing a physical channel among multiple Named Data Network, Machine Learning transmitters needs a technique to control their rate in proper time. The very first congestion network collapse was observed and reported by Van Jacobson in 1986. This caused about a I. INTRODUCTION thousand time rate reduction from 32kbps to 40bps [3] which Recent applications such as Virtual Reality (VR), au- is about a thousand times rate reduction. Since then very tonomous cars or aerial vehicles, and telehealth need high different variations of the Transport Control Protocol (TCP) throughput and low latency communication.
    [Show full text]
  • Online Playing
    Online playing FAQ David Crandall (with big thanks to Kris Belgica!) October 17, 2020 Here are a few of the methods for doing music online, a brief survey: For arranged music Record with click or guide tracks, assembling final tracks later. You can use a guide track on a phone and record in a higher quality device. The higher quality recordings can be sent to a producer for mixdown. (Be sure to “slate” each take properly!) Paid (subscription) apps for this kind of work Acapella - https://www.mixcord.co/pages/acapella (iOS only). Soundtrap - https://www.soundtrap.com/ Basically an online version of Garageband. Audiomovers https://audiomovers.com/wp/ establishes a 1 to 1 high quality connection with a DAW using a plug in. Sort of a present-day ISDN (for those who remember). For jamming - what we are here for! Common traits of all these apps include: a client-server model, and UDP rather than TCP stream connection. The UDP (User Datagram Protocol) connection is faster than the normal TCP (Transmission Control Protocol) connection and requires port forwarding. UDP omits error correction for a faster stream. Buffer lengths are tweaked to get the best compromise between stability and latency. Users can set up their own server or connect with an existing one. Creating your own server allows you to control who is in the jam, and enables you to create a server that is geographically closer to your other players. This can require a certain amount of comfort using a command line to talk to the computer, and connecting to your router to set up port forwarding.
    [Show full text]
  • Measuring Latency Variation in the Internet
    Measuring Latency Variation in the Internet Toke Høiland-Jørgensen Bengt Ahlgren Per Hurtig Dept of Computer Science SICS Dept of Computer Science Karlstad University, Sweden Box 1263, 164 29 Kista Karlstad University, Sweden toke.hoiland- Sweden [email protected] [email protected] [email protected] Anna Brunstrom Dept of Computer Science Karlstad University, Sweden [email protected] ABSTRACT 1. INTRODUCTION We analyse two complementary datasets to quantify the la- As applications turn ever more interactive, network la- tency variation experienced by internet end-users: (i) a large- tency plays an increasingly important role for their perfor- scale active measurement dataset (from the Measurement mance. The end-goal is to get as close as possible to the Lab Network Diagnostic Tool) which shed light on long- physical limitations of the speed of light [25]. However, to- term trends and regional differences; and (ii) passive mea- day the latency of internet connections is often larger than it surement data from an access aggregation link which is used needs to be. In this work we set out to quantify how much. to analyse the edge links closest to the user. Having this information available is important to guide work The analysis shows that variation in latency is both com- that sets out to improve the latency behaviour of the inter- mon and of significant magnitude, with two thirds of sam- net; and for authors of latency-sensitive applications (such ples exceeding 100 ms of variation. The variation is seen as Voice over IP, or even many web applications) that seek within single connections as well as between connections to to predict the performance they can expect from the network.
    [Show full text]
  • Anleitung Jamulus Für Online-Chorproben
    Anleitung Jamulus für Online-Chorproben Vorbemerkung – Die Schwierigkeiten von Online-Musikübertragungen Auf den ersten Blick scheint das Internet der geeignete Weg, auch große Datenmengen zu übertragen. Das ist auch sicher richtig so – ganze Fernsehprogramme werden heute schon übertragen; künftig sollen es die Daten sein, welche autonomes Fahren ermöglichen werden. Bei der Entwicklung immer breitbandiger Übertragungswege hat sich aber die Zugriffszeit, in der ein Server auf eine Anfrage, die von irgendwoher aus dem Netz auf ihn zugreift, kaum unter 9 ms vermindert. Die heute verwendeten Videoübertragungswege whatsApp, Skype, Zoom, Jitsi und Teamviewer haben zudem den Nachteil, ihre Daten auf zentralen Servern zu verarbeiten. Was für die Sicherheit dieser Systeme von Vorteil sein mag, bringt aber je nach Tageszeit das Problem der Datenverarbeitung, Dekodierung und Neuchiffrierung etc. mit sich. All dieses wirkt sich in Zeitverzögerungen aus, die bei einem gemeinsamen Musizieren hinderlich wäre. Um dieses alles zu testen, habe ich verschiedene Kleingruppen gebeten, mit mir alle verfügbaren Programme auf Herz und Nieren zu prüfen. Wir haben deshalb auch Telefonkonferenzen ausprobiert, die wiederum andere Schwierigkeiten in Form von Verzerrungen und Tonauslöschungen mit sich brachten. Nach langer Recherche sind wir auf das Programm Jamulus gestoßen, das es Bands ermöglicht, über das Internet zu Proben zusammenzutreten. Mir ist bewusst, dass nicht jede und jeder gerne über den PC am Chorleben teilnehmen möchte. Es haben aber die jüngsten Ereignisse in Frankfurt und Leer eindrücklich gezeigt, dass wir in der Coronapandemie wohl noch lange nicht über den Berg sind, wenngleich die aktuellen Zahlen einen anderen Eindruck vermitteln. Deshalb stelle ich hier einen Weg vor, wie das Programm Jamulus auf Windows Computern installiert werden kann.
    [Show full text]
  • The Effects of Latency on Player Performance and Experience in A
    The Effects of Latency on Player Performance and Experience in a Cloud Gaming System Robert Dabrowski, Christian Manuel, Robert Smieja May 7, 2014 An Interactive Qualifying Project Report: submitted to the Faculty of the WORCESTER POLYTECHNIC INSTITUTE in partial fulfillment of the requirements for the Degree of Bachelor of Science Approved by: Professor Mark Claypool, Advisor Professor David Finkel, Advisor This report represents the work of three WPI undergraduate students submitted to the faculty as evidence of completion of a degree requirement. WPI routinely publishes these reports on its web site without editorial or peer review. Abstract Due to the increasing popularity of thin client systems for gaming, it is important to un- derstand the effects of different network conditions on users. This paper describes our experiments to determine the effects of latency on player performance and quality of expe- rience (QoE). For our experiments, we collected player scores and subjective ratings from users as they played short game sessions with different amounts of additional latency. We found that QoE ratings and player scores decrease linearly as latency is added. For ev- ery 100 ms of added latency, players reduced their QoE ratings by 14% on average. This information may provide insight to game designers and network engineers on how latency affects the users, allowing them to optimize their systems while understanding the effects on their clients. This experiment design should also prove useful to thin client researchers looking to conduct user studies while controlling not only latency, but also other network conditions like packet loss. Contents 1 Introduction 1 2 Background Research 4 2.1 Thin Client Technology .
    [Show full text]
  • Evaluating the Latency Impact of Ipv6 on a High Frequency Trading System
    Evaluating the Latency Impact of IPv6 on a High Frequency Trading System Nereus Lobo, Vaibhav Malik, Chris Donnally, Seth Jahne, Harshil Jhaveri [email protected] , [email protected] , [email protected] , [email protected] , [email protected] A capstone paper submitted as partial fulfillment of the requirements for the degree of Masters in Interdisciplinary Telecommunications at the University of Colorado, Boulder, 4 May 2012. Project directed by Dr. Pieter Poll and Professor Andrew Crain. 1 Introduction Employing latency-dependent strategies, financial trading firms rely on trade execution speed to obtain a price advantage on an asset in order to earn a profit of a fraction of a cent per asset share [1]. Through successful execution of these strategies, trading firms are able to realize profits on the order of billions of dollars per year [2]. The key to success for these trading strategies are ultra-low latency processing and networking systems, henceforth called High Frequency Trading (HFT) systems, which enable trading firms to execute orders with the necessary speed to realize a profit [1]. However, competition from other trading firms magnifies the need to achieve the lowest latency possible. A 1 µs latency disadvantage can result in unrealized profits on the order of $1 million per day [3]. For this reason, trading firms spend billions of dollars on their data center infrastructure to ensure the lowest propagation delay possible [4]. Further, trading firms have expanded their focus on latency optimization to other aspects of their trading infrastructure including application performance, inter-application messaging performance, and network infrastructure modernization [5].
    [Show full text]
  • Low-Latency Networking: Where Latency Lurks and How to Tame It Xiaolin Jiang, Hossein S
    1 Low-latency Networking: Where Latency Lurks and How to Tame It Xiaolin Jiang, Hossein S. Ghadikolaei, Student Member, IEEE, Gabor Fodor, Senior Member, IEEE, Eytan Modiano, Fellow, IEEE, Zhibo Pang, Senior Member, IEEE, Michele Zorzi, Fellow, IEEE, and Carlo Fischione Member, IEEE Abstract—While the current generation of mobile and fixed The second step in the communication networks revolutions communication networks has been standardized for mobile has made PSTN indistinguishable from our everyday life. Such broadband services, the next generation is driven by the vision step is the Global System for Mobile (GSM) communication of the Internet of Things and mission critical communication services requiring latency in the order of milliseconds or sub- standards suite. In the beginning of the 2000, GSM has become milliseconds. However, these new stringent requirements have a the most widely spread mobile communications system, thanks large technical impact on the design of all layers of the commu- to the support for users mobility, subscriber identity confiden- nication protocol stack. The cross layer interactions are complex tiality, subscriber authentication as well as confidentiality of due to the multiple design principles and technologies that user traffic and signaling [4]. The PSTN and its extension via contribute to the layers’ design and fundamental performance limitations. We will be able to develop low-latency networks only the GSM wireless access networks have been a tremendous if we address the problem of these complex interactions from the success in terms of Weiser’s vision, and also paved the way new point of view of sub-milliseconds latency. In this article, we for new business models built around mobility, high reliability, propose a holistic analysis and classification of the main design and latency as required from the perspective of voice services.
    [Show full text]
  • Simulation and Comparison of Various Scheduling Algorithm for Improving the Interrupt Latency of Real –Time Kernal
    Journal of Computer Science and Applications. ISSN 2231-1270 Volume 6, Number 2 (2014), pp. 115-123 © International Research Publication House http://www.irphouse.com Simulation And Comparison of Various Scheduling Algorithm For Improving The Interrupt Latency of Real –Time Kernal 1.Lavanya Dhanesh 2.Dr.P.Murugesan 1.Research Scholar, Sathyabama University, Chennai, India. 2.Professor, S.A. Engineering College, Chennai, India. Email:1. [email protected] Abstract The main objective of the research is to improve the performance of the Real- time Interrupt Latency using Pre-emptive task Scheduling Algorithm. Interrupt Latency provides an important metric in increasing the performance of the Real Time Kernal So far the research has been investigated with respect to real-time latency reduction to improve the task switching as well the performance of the CPU. Based on the literature survey, the pre-emptive task scheduling plays an vital role in increasing the performance of the interrupt latency. A general disadvantage of the non-preemptive discipline is that it introduces additional blocking time in higher priority tasks, so reducing schedulability . If the interrupt latency is increased the task switching delay shall be increasing with respect to each task. Hence most of the research work has been focussed to reduce interrupt latency by many methods. The key area identified is, we cannot control the hardware interrupt delay but we can improve the Interrupt service as quick as possible by reducing the no of preemptions. Based on this idea, so many researches has been involved to optimize the pre-emptive scheduling scheme to reduce the real-time interrupt latency.
    [Show full text]
  • Telematic Performance and the Challenge of Latency
    This is a repository copy of Telematic performance and the challenge of latency. White Rose Research Online URL for this paper: https://eprints.whiterose.ac.uk/126501/ Version: Accepted Version Article: Rofe, Michael and Reuben, Federico orcid.org/0000-0003-1330-7346 (2017) Telematic performance and the challenge of latency. The Journal of Music, Technology and Education. 167–183. ISSN 1752-7074 https://doi.org/10.1386/jmte.10.2-3.167_1 Reuse Items deposited in White Rose Research Online are protected by copyright, with all rights reserved unless indicated otherwise. They may be downloaded and/or printed for private study, or other acts as permitted by national copyright laws. The publisher or other rights holders may allow further reproduction and re-use of the full text version. This is indicated by the licence information on the White Rose Research Online record for the item. Takedown If you consider content in White Rose Research Online to be in breach of UK law, please notify us by emailing [email protected] including the URL of the record and the reason for the withdrawal request. [email protected] https://eprints.whiterose.ac.uk/ Telematic performance and the challenge of latency Michael Rofe | Federico Reuben Abstract Any attempt to perform music over a network requires engagement with the issue of latency. Either latency needs to be reduced to the point where it is no longer noticeable or creative alternatives to working with latency need to be developed. Given that Online Orchestra aimed to enable performance in community contexts, where significant bandwidth and specialist equipment were not available, it would not be possible to reduce latency below the 20–30ms cut-off at which it becomes noticeable.
    [Show full text]
  • Action-Sound Latency: Are Our Tools Fast Enough?
    Action-Sound Latency: Are Our Tools Fast Enough? Andrew P. McPherson Robert H. Jack Giulio Moro Centre for Digital Music Centre for Digital Music Centre for Digital Music School of EECS School of EECS School of EECS Queen Mary U. of London Queen Mary U. of London Queen Mary U. of London [email protected] [email protected] [email protected] ABSTRACT accepted guidelines for latency and jitter (variation in la- The importance of low and consistent latency in interactive tency). music systems is well-established. So how do commonly- Where previous papers have focused on latency in a sin- used tools for creating digital musical instruments and other gle component (e.g. audio throughput latency [21, 20] and tangible interfaces perform in terms of latency from user ac- roundtrip network latency [17]), this paper measures the tion to sound output? This paper examines several common latency of complete platforms commonly employed to cre- configurations where a microcontroller (e.g. Arduino) or ate digital musical instruments. Within these platforms we wireless device communicates with computer-based sound test the most reductive possible setup: producing an audio generator (e.g. Max/MSP, Pd). We find that, perhaps \click" in response to a change on a single digital or ana- surprisingly, almost none of the tested configurations meet log pin. This provides a minimum latency measurement for generally-accepted guidelines for latency and jitter. To ad- any tool created on that platform; naturally, the designer's dress this limitation, the paper presents a new embedded application may introduce additional latency through filter platform, Bela, which is capable of complex audio and sen- group delay, block-based processing or other buffering.
    [Show full text]
  • 5G Qos: Impact of Security Functions on Latency
    5G QoS: Impact of Security Functions on Latency Sebastian Gallenmuller¨ ∗, Johannes Naab∗, Iris Adamy, Georg Carle∗ ∗Technical University of Munich, yNokia Bell Labs ∗fgallenmu, naab, [email protected], [email protected] Abstract—Network slicing is considered a key enabler to low latency and high predictability on the other side can go 5th Generation (5G) communication networks. Mobile network together. The goals of our investigation are threefold: (i) cre- operators may deploy network slices—complete logical networks ating a low-latency packet processing architecture for security customized for specific services expecting a certain Quality of Service (QoS). New business models like Network Slice-as-a- functions with minimal packet loss, (ii) conducting extensive Service offerings to customers from vertical industries require ne- measurements applying hardware-supported timestamping to gotiated Service Level Agreements (SLA), and network providers precisely determine worst-case latencies, and (iii) introducing need automated enforcement mechanisms to assure QoS during a model to predict the capacity of our low-latency system for instantiation and operation of slices. In this paper, we focus on overload prevention. Our proposed system architecture relies ultra-reliable low-latency communication (URLLC). We propose a software architecture for security functions based on off- on well-known applications and libraries such as Linux, the the-shelf hardware and open-source software and demonstrate, Data Plane Development Kit (DPDK), and Snort. Besides the through a series of measurements, that the strict requirements of specific measurements for the Snort IPS, we investigate the URLLC services can be achieved. As a real-world example, we performance of the underlying operating system (OS) and perform our experiments using the intrusion prevention system libraries in use, namely Linux and DPDK, which emphasizes (IPS) Snort to demonstrate the impact of security functions on latency.
    [Show full text]
  • CPU Scheduling
    Chapter 5: CPU Scheduling Operating System Concepts – 10th Edition Silberschatz, Galvin and Gagne ©2018 Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multi-Processor Scheduling Real-Time CPU Scheduling Operating Systems Examples Algorithm Evaluation Operating System Concepts – 10th Edition 5.2 Silberschatz, Galvin and Gagne ©2018 Objectives Describe various CPU scheduling algorithms Assess CPU scheduling algorithms based on scheduling criteria Explain the issues related to multiprocessor and multicore scheduling Describe various real-time scheduling algorithms Describe the scheduling algorithms used in the Windows, Linux, and Solaris operating systems Apply modeling and simulations to evaluate CPU scheduling algorithms Operating System Concepts – 10th Edition 5.3 Silberschatz, Galvin and Gagne ©2018 Basic Concepts Maximum CPU utilization obtained with multiprogramming CPU–I/O Burst Cycle – Process execution consists of a cycle of CPU execution and I/O wait CPU burst followed by I/O burst CPU burst distribution is of main concern Operating System Concepts – 10th Edition 5.4 Silberschatz, Galvin and Gagne ©2018 Histogram of CPU-burst Times Large number of short bursts Small number of longer bursts Operating System Concepts – 10th Edition 5.5 Silberschatz, Galvin and Gagne ©2018 CPU Scheduler The CPU scheduler selects from among the processes in ready queue, and allocates the a CPU core to one of them Queue may be ordered in various ways CPU scheduling decisions may take place when a
    [Show full text]