Fri, 20 May 2022 21:39:06 UTC

Information for RPM atomic-queue-devel-0-0.6.20211022git7013a8b.fc33.armv7hl.rpm

ID28146020
Nameatomic-queue-devel
Version0
Release0.6.20211022git7013a8b.fc33
Epoch
Archarmv7hl
SummaryDevelopment files for atomic-queue
DescriptionC++14 multiple-producer-multiple-consumer lockless queues based on circular buffer with std::atomic. The main design principle these queues follow is minimalism: the bare minimum of atomic operations, fixed size buffer, value semantics. These qualities are also limitations: • The maximum queue size must be set at compile time or construction time. The circular buffer side-steps the memory reclamation problem inherent in linked-list based queues for the price of fixed buffer size. See Effective memory reclamation for lock-free data structures in C++ for more details. Fixed buffer size may not be that much of a limitation, since once the queue gets larger than the maximum expected size that indicates a problem that elements aren’t processed fast enough, and if the queue keeps growing it may eventually consume all available memory which may affect the entire system, rather than the problematic process only. The only apparent inconvenience is that one has to do an upfront back-of-the-envelope calculation on what would be the largest expected/acceptable queue size. • There are no OS-blocking push/pop functions. This queue is designed for ultra-low-latency scenarios and using an OS blocking primitive would be sacrificing push-to-pop latency. For lowest possible latency one cannot afford blocking in the OS kernel because the wake-up latency of a blocked thread is about 1-3 microseconds, whereas this queue’s round-trip time can be as low as 150 nanoseconds. Ultra-low-latency applications need just that and nothing more. The minimalism pays off, see the throughput and latency benchmarks. Available containers are: • AtomicQueue - a fixed size ring-buffer for atomic elements. • OptimistAtomicQueue - a faster fixed size ring-buffer for atomic elements which busy-waits when empty or full. • AtomicQueue2 - a fixed size ring-buffer for non-atomic elements. • OptimistAtomicQueue2 - a faster fixed size ring-buffer for non-atomic elements which busy-waits when empty or full. These containers have corresponding AtomicQueueB, OptimistAtomicQueueB, AtomicQueueB2, OptimistAtomicQueueB2 versions where the buffer size is specified as an argument to the constructor. Totally ordered mode is supported. In this mode consumers receive messages in the same FIFO order the messages were posted. This mode is supported for push and pop functions, but for not the try_ versions. On Intel x86 the totally ordered mode has 0 cost, as of 2019. Single-producer-single-consumer mode is supported. In this mode, no read-modify-write instructions are necessary, only the atomic loads and stores. That improves queue throughput significantly. The atomic-queue-devel package contains libraries and header files for developing applications that use atomic-queue.
Build Time2021-10-22 18:25:14 GMT
Size22.78 KB
722c0c8969d054dd3c8c39aac4862bd8
LicenseMIT
Buildrootf33-build-30704446-4205503
Provides
atomic-queue-devel = 0-0.6.20211022git7013a8b.fc33
atomic-queue-devel(armv7hl-32) = 0-0.6.20211022git7013a8b.fc33
atomic-queue-static = 0-0.6.20211022git7013a8b.fc33
Obsoletes No Obsoletes
Conflicts No Conflicts
Requires
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
Recommends No Recommends
Suggests No Suggests
Supplements No Supplements
Enhances No Enhances
Files
1 through 10 of 10
Name ascending sort Size
/usr/include/atomic_queue0.00 B
/usr/include/atomic_queue/atomic_queue.h23.79 KB
/usr/include/atomic_queue/atomic_queue_mutex.h3.17 KB
/usr/include/atomic_queue/barrier.h1.29 KB
/usr/include/atomic_queue/defs.h3.23 KB
/usr/include/atomic_queue/spinlock.h5.96 KB
/usr/share/doc/atomic-queue-devel0.00 B
/usr/share/doc/atomic-queue-devel/README.md13.65 KB
/usr/share/licenses/atomic-queue-devel0.00 B
/usr/share/licenses/atomic-queue-devel/LICENSE1.05 KB
Component of No Buildroots