Multithreading and Multiprocessing Operating systems

Document Type:Research Paper

Subject Area:Technology

Document 1

Symmetric and asymmetric multi-processor allows for the processing functions that enhance the operations of the system. A collection of multiple threads determines the activities of the multi-threading. A discussion to show the thread application process that entails executing processes through a code. The codes are linked to the performance of the entire system. The threads work in unison with other threads to perform an application. Similarly, it permits the effective development, testing and introduction of new system functions without interfering with other services. There are different types of operating systems. For instance, single user, multi user, multitasking, multithreading, and real time operating system. Single user allows the user to execute one program at a time i. e. In relation to this, this paper will focus on multithreading and multitasking aspects of the operating system.

Sign up to view the full document!

Multi-processing and multi-threading are multitasking concepts that rival in the usage in the programming arena. Multitasking is an aspect that defines the functioning of the computer system as it helps it to make complete utilization of the central processing unit’s capabilities. The multi-tasking approach tends to overcome the weaknesses of parallel execution by running the program the same time. In multi-threading, a single core or CPU is used to facilitate multiple concurring threads that are capable of being supported by the operating system. When the work is easy, multi-tasking has been identified to improve performance (Adler and Benbunan-Fich, 2015). The concept of multi-tasking consequently, aligns with the reconfigurable computing paradigm. The essence of reconfiguration is to optimize the performance in computing fields.

Sign up to view the full document!

The reconfiguration of the computing systems allows for the flexibility in the computation of tasks and thus, enhanced performance (Eckert et al. The multi-tasking capabilities provide users with flexibility in task performance and accordingly optimize their production value. These threads do not interfere with each other and can run concurrently (Sommer et al. Each thread transmits and receives data independently and then pieces the whole information together. The parallelism approach improves the efficiency of the system and utilizes more of the CPU. The multiprocessing approach embraces similar parallelism principles that are in a multi-threat. The difference is in the way the parallel tasks are performed. The networks are underutilized when deployed to do single tasks (Lattanzi, Freschi, and Bogliolo, 2014). One of the problems in multi-tasking is the prospective memory that is linked to the cognitive workload.

Sign up to view the full document!

The task difficulty substantially impacts the performance of a multitasking unit. The challenge can be instigated through the workload exerted to the system. The workload constraint attaches to the time constraint in the programming process. The conventional threading system tends to limit the performance of the processors. It is deemed that instructional level-parallelism needs to be replaced by a suitable approach that will maximize processor performance. The attempt is to use the coarse-grained parallelism in increasing the processor functions. The single-thread instructions leave unutilized instructions in the processor. The trend in research hence, turns to multi-thread processors to overcome the deficiency of the single threading processors. The speed of processing is said to increase when the computers are added to the system.

Sign up to view the full document!

The multi-processor approach uses multiple processors to enhance the performance of computing task. The load balancing in the multi-processing setups increase the computational efficiencies (Robinson et al. Several cluster systems are employed in the implementation of a multi-processing system. The problem that is within the system is that of allocation of tasks. The paper proposes that the concurrent use of the two systems overcomes the individual weaknesses. Comparisons and contrasts One significant difference that segregates the two systems is that multi-processing involves the addition of processors to increase the computing speed of the system. The central process unit consists of a set of registers and the main memory. Overloading of processors is quite standard which leads to delay in the computing.

Sign up to view the full document!

To avoid such cases, the addition of processors reduces the overload increasing the efficiency of the task. This is contrastive to the symmetric multi-processor whose effective coordination is between the master and the slave processor. In most instances, the failure of the multi-processor transforms the execution process in the sense that, the slave processor finds alternatives. The failure of the slave process results in the use of other processes during the operation (Altman et al, 2004). For that matter, most asymmetric multi-processors are regarded as objective based on the activities that are involved. Source: U. , & Seznec, A. Another difference that exists between the multithreading and multi-processing is that creation of a thread in the multiprocessing stage takes much time and resources as opposed to the multi-threading stage which is considered to be economical in based on the time and the input resources incorporated for efficient working.

Sign up to view the full document!

For that matter, the multi-threading system is said to be non-classified as it involves the multiple threads working in a correlation pattern to initiate a single process (Vandierendonck, & Seznec, 2011). However, it is important to note that the processes of multi-threading and multi-processing are beneficial as they improve the efficiency of the system and thus they can be drastically improved in the working environment resulting to an increase in the parallelism. Source: IEEE Computer Architecture Letters by Vandierendonck, H. The threads that are autonomous and combine to give an output in this type of system. The time taken in creating a process in the multi-processing stage is said to be long. It can result to exhaustion of the system resources due to the longetivity involved.

Sign up to view the full document!

One important aspect to note is that the process of creating threads is economical. As a result the threads that are processed carry the same information making it easy for it to be utilised. Furthermore, threading has resulted in the application of processes independently from one another enhancing the operations of the system. The design of the processor and the architectural composition of the system consist of several processors whereby the failure of 0ne processor does not affect the overall operations of the system. The strength of combining processors has proved to have positive impacts on the performance of a system. Segments of codes within the thread in the system improve the efficiency of the system as there is room for independent application of processes.

Sign up to view the full document!

Thus, the threads are known to execute activities which have a combined effect on the performance of the system. , Capek, P. G. , Gschwind, M. , Hofstee, H. P. Amamiya, S. , Amamiya, M. , Hasegawa, R. , & Fujita, H. A continuation-based non-interruptible multithreading processor architecture. ACM. Eckert, M. , Meyer, D. , Haase, J. , & Klauer, B. International Journal of Distributed Sensor Networks, 10(2), 814510. Khalgui, M.  Embedded Computing Systems: Applications, Optimization, and Advanced Design. Information Science Reference. Liu, M. A. N. , & de la Torre, J. A. M. , Pagh, R. T. , Schweppe, J. E. , & Siciliano, E. , Dshemuchadse, M. , & Fischer, R. Action dynamics in multitasking: the impact of additional task factors on the execution of the prioritized motor movement. Frontiers in psychology, 6, 934. Sommer, L. Patent No. Washington, DC: U. S. Patent and Trademark Office.

Sign up to view the full document!

From $10 to earn access

Only on Studyloop

Original template

Downloadable