Detection and Containment Amortization UDP Sockets for Multithreading on Multicore Machines
Sebastian Blasco, Javier Bustos, Diego Rivera · IEEE Latin America Transactions · 2016
The use of parallelism has become the first choice when seeking better efficiency in the implementation and execution of tasks. However, there are cases where not achieve real gains with this technique, for example the case of concurrent access and read access on UDP sockets on Linux. This paper presents profiling and testing techniques in Linux to show how UDP sockets have points of contention inherent in its design, resources that make them incompatible with the traditional parallelism schemes that provide access to a shared structure, and checks how finally the problem is transferred to the communication layer between different processors with real cost. Finally, a simple and novel approach is presented to provide efficiency in the context specified without penalize the communication channels between processors.