Interprocess Communication in FreeBSD 11: Performance Analysis

08/05/2020
by   A. H. Bell-Thomas, et al.
0

Interprocess communication, IPC, is one of the most fundamental functions of a modern operating system, playing an essential role in the fabric of contemporary applications. This report conducts an investigation in FreeBSD of the real world performance considerations behind two of the most common IPC mechanisms; pipes and sockets. A simple benchmark provides a fair sense of effective bandwidth for each, and analysis using DTrace, hardware performance counters and the operating system's source code is presented. We note that pipes outperform sockets by 63 further that the size of userspace transmission buffers has a profound effect on performance - larger buffers are beneficial up to a point ( 32-64 KiB) after which performance collapses as a result of devastating cache exhaustion. A deep scrutiny of the probe effects at play is also presented, justifying the validity of conclusions drawn from these experiments.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/06/2023

GI Software with fewer Data Cache Misses

By their very name caches are often overlooked and yet play a vital role...
research
11/10/2021

Counterfactual Explanations for Models of Code

Machine learning (ML) models play an increasingly prevalent role in many...
research
08/21/2021

Theoretical Analysis and Evaluation of NoCs with Weighted Round-Robin Arbitration

Fast and accurate performance analysis techniques are essential in early...
research
09/28/2017

Performance Evaluation of Container-based Virtualization for High Performance Computing Environments

Virtualization technologies have evolved along with the development of c...
research
09/19/2022

Playing Technique Detection by Fusing Note Onset Information in Guzheng Performance

The Guzheng is a kind of traditional Chinese instruments with diverse pl...
research
06/22/2023

Mapping and Optimizing Communication in ROS 2-based Applications on Configurable System-on-Chip Platforms

The robot operating system is the de-facto standard for designing and im...
research
08/07/2016

Playing for Data: Ground Truth from Computer Games

Recent progress in computer vision has been driven by high-capacity mode...

Please sign up or login with your details

Forgot password? Click here to reset