The company nodes will be a multiprocessor system

This preview shows page 9 - 12 out of 21 pages.

group that is the independent machine that is nodes. The company nodes will be a multiprocessor system that is within the memory of the enterprise. Once the multiple processors run on the company systems, there could be a potential issue once these processes request access to all the shared assets that could go into a starvation state. The problems can be mitigated by using the means of concurrency mitigation devices. Mutual exclusion is one of them, which would be needed to protect against any issues with the shared assets. Mutual exclusion is a program that would help prevents simultaneous access to shared resources (Techopedia, 2019). Mutual Exclusion can come to the seen once two threads will work on the same data at the same time (Techopedia, 2019). Moreover, Mutual Exclusion would reduce latency and busy waits when using queuing and context switches (Techopedia, 2019). This will allow the system to be protected at a high level so that all the systems can run at optimum performance levels.
Unit 5 - Individual Project 10 Concurrency Mechanisms When it comes to the concurrency mechanism, careful use of data that can be predicted and even useful when it's between the threads is accessible. The T-Mobile company will be using two concurrency mechanisms. The two concurrency mechanisms would be Semaphore and Event Flag. The Semaphore is an integer and has a value that can be utilized for signaling when one is doing processes (Stallings, 2017). There are three operations that can be performed on it, which are atomic: initialize, decrement, and increment (Stallings, 2017.p.217). The initialization is the start of the concurrency mechanisms. Decrement can be a result of blocking or a process where the increment can be unblocking a process. The second one would be event flags. The event flags are a memory word can is a synchronization mechanism (Stallings, 2017.p.217). Application code can be associated with another event in an event flag. A thread can wait for a single event or even a combination of events when you check one or multiple bits that corresponds to the flag (Stallings, 2017.p.217). The way Semaphores when it comes to synchronization is that they are a variable that is non-negative and is shared with threads. The variable is primarily used to solve the critical section of a problem to achieve process synchronization in multiprocessing environments for the company (GeeksforGeeks, 2019). There may be times whenever semaphore is counted; there is a process that waits in a queue process associated with the semaphore (GeeksforGeeks, 2019). When a process has completed the signal, the function is called, and one of the processes in that particular queue is resumed. There would be a wakeup system call used in this case (GeeksforGeeks, 2019).
Unit 5 - Individual Project 11 Concurrency Concurrency can be defined as simple as two tasks, such as a telnet or ssh client that would be responding to a user and to a network. The communication within the application is independent, and thus, each concurrency mechanism would typically be combined with one or more communication mechanisms (Introduction to Computer Systems, n.d). When it comes to

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture