Improve the Performance of Multi-core Processors by Accelerating the Execution of Parallel Tasks Using Socket Programming Technology
Keywords:
Multi-core Processors, Socket Programming, Riemann Sum, Parallel Programming.Abstract
Socket programming is one of the most modern technologies used in the field of communications, computer networks and processor networks, and it is a method of connecting two nodes on a specific network in order to achieve communication with each other, so that one of the two nodes listens to the socket it has installed in one of its ports, while the other node creates Communication with the socket installed in the first node in order to achieve the connection between the two nodes, and in general the socket is installed on the server side that listens to this socket while the client accesses the server by communicating with this socket, and these nodes in the real world can be Terminal station (computer, smartphone..., etc.).
In this research, the socket programming technique was used in order to achieve communication between multi-core processor cores, instead of using the traditional methods used in parallel programming, which depended on the method of messages Passing between processor cores and this requires the use of other resources such as the operating memory to store these Messages passed between the processor cores, which causes a time delay resulting from accessing the operating memory by the sending core during the writing cycle and the receiving core during the reading cycle, and thus the cost of executing parallel tasks in the multi-core processor will increase, and the main reason for this delay is the difference in speed of communication between the processor cores with each other compared to the speed of communication between one of these cores with the operating memory.
A work scenario involving the implementation of a specific mathematical problem in a parallel manner distributed over the processor cores was also tested using the Riemann sum in the approximation of integration, in order to study and demonstrate the effect of using socket technology in accelerating the execution of parallel tasks and thus improving the performance of multi-core processors in this field.
The processor Intel Core i5-2430m was used to run the work scenario, it is a modern processor that has two separate physical cores, and each of these cores can run two Threads in parallel, for a total of four logical Threads, these four Threads will be used as four stand-alone logical cores that will be used to solve the supposed problem.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2022 �ttps://creativecommons.org/licenses/by-nc-sa/4.0/

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
The authors retain the copyright and grant the right to publish in the magazine for the first time with the transfer of the commercial right to Tishreen University Journal for Research and Scientific Studies - Engineering Sciences Series
Under a CC BY- NC-SA 04 license that allows others to share the work with of the work's authorship and initial publication in this journal. Authors can use a copy of their articles in their scientific activity, and on their scientific websites, provided that the place of publication is indicted in Tishreen University Journal for Research and Scientific Studies - Engineering Sciences Series . The Readers have the right to send, print and subscribe to the initial version of the article, and the title of Tishreen University Journal for Research and Scientific Studies - Engineering Sciences Series Publisher
journal uses a CC BY-NC-SA license which mean
You are free to:
- Share — copy and redistribute the material in any medium or format
- Adapt — remix, transform, and build upon the material
- The licensor cannot revoke these freedoms as long as you follow the license terms.
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- NonCommercial — You may not use the material for commercial purposes.
- ShareAlike — If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.