scholarly journals Synthesizing optimal bias in randomized self-stabilization

Author(s):  
Matthias Volk ◽  
Borzoo Bonakdarpour ◽  
Joost-Pieter Katoen ◽  
Saba Aflaki

AbstractRandomization is a key concept in distributed computing to tackle impossibility results. This also holds for self-stabilization in anonymous networks where coin flips are often used to break symmetry. Although the use of randomization in self-stabilizing algorithms is rather common, it is unclear what the optimal coin bias is so as to minimize the expected convergence time. This paper proposes a technique to automatically synthesize this optimal coin bias. Our algorithm is based on a parameter synthesis approach from the field of probabilistic model checking. It over- and under-approximates a given parameter region and iteratively refines the regions with minimal convergence time up to the desired accuracy. We describe the technique in detail and present a simple parallelization that gives an almost linear speed-up. We show the applicability of our technique to determine the optimal bias for the well-known Herman’s self-stabilizing token ring algorithm. Our synthesis obtains that for small rings, a fair coin is optimal, whereas for larger rings a biased coin is optimal where the bias grows with the ring size. We also analyze a variant of Herman’s algorithm that coincides with the original algorithm but deviates for biased coins. Finally, we show how using speed reducers in Herman’s protocol improve the expected convergence time.

2020 ◽  
Vol 1 (2) ◽  
pp. 137-158
Author(s):  
Kotaro Yamazaki ◽  
Tomoki Sato ◽  
Hiroaki Shiokawa ◽  
Hiroyuki Kitagawa

The demands for graph data analysis methods are increasing. RankClus is a framework to extract clusters by integrating clustering and ranking on heterogeneous graphs; it enhances the clustering results by alternately updates the results of clustering and ranking for the better understanding of the clusters. However, RankClus is computationally expensive if a graph is large since it needs to iterate both clustering and ranking for all nodes. In this paper, to address this problem, we propose a novel fast RankClus algorithm for heterogeneous graphs. To speed up the entire procedure of RankClus, our proposed algorithm reduces the computational cost of the ranking process in each iteration. Our proposal measures how each node affects the clustering result; if it is not significant, we prune the node. Furthermore, we also present a parallel algorithm by extending our proposed algorithm by fully exploiting a modern manycore CPU. As a result, our extensive evaluations clarified that our fast and parallel algorithms drastically cut off the computation time of the original algorithm RancClus.


Cryptography ◽  
2018 ◽  
Vol 2 (3) ◽  
pp. 23
Author(s):  
Sadiel de la Fe ◽  
Carles Ferrer

Modular inversions are widely employed in public key crypto-systems, and it is known that they imply a bottleneck due to the expensive computation. Recently, a new algorithm for inversions modulo p k was proposed, which may speed up the calculation of a modulus dependent quantity used in the Montgomery multiplication. The original algorithm lacks security countermeasures; thus, a straightforward implementation may expose the input. This is an issue if that input is a secret. In the RSA-CRT signature using Montgomery multiplication, the moduli are secrets (primes p and q). Therefore, the moduli dependent quantities related to p and q must be securely computed. This paper presents a security analysis of the novel method considering that it might be used to compute secrets. We demonstrate that a Side Channel Analysis leads to disclose the data being manipulated. In consequence, a secure variant for inversions modulo 2 k is proposed, through the application of two known countermeasures. In terms of performance, the secure variant is still comparable with the original one.


2021 ◽  
Vol 54 (1-2) ◽  
pp. 116-128
Author(s):  
Jun Wang ◽  
Xurong Dong ◽  
Wei Fu ◽  
Di Yan ◽  
Zengkai Shi

The triple-frequency linear combination with a low noise, a long wavelength, and a weak ionosphere is beneficial to effectively eliminate or weaken the common errors, advance the reliability of cycle slip detection and repair, and speed up the convergence time of fixed ambiguity. By establishing the Galileo triple-frequency carrier linear combination model, three types of linear combinations are derived: Geometry-free (GF) combinations, minimum noise (MN) combinations, and ionosphere-free (IF) combinations. The geometric relationships of these linear combinations are displayed in the form of image. The results indicate that the angle formed by the IF combinations and the MN combinations is between 75.02° and 86.01°, which also illustrates that it is more difficult to meet the carrier phase combinations with a low noise and a weak ionosphere. Moreover, to guarantee the integer cycle characteristics of ambiguity, the combination coefficient must be an integer. Galileo triple-frequency linear combination is solved utilizing the extremum method. To sum up, the sum of the coefficients of the extra wide lane (EWL) combinations and wide lane (WL) combinations is zero, and the sum of the coefficients of the narrow lane (NL) combinations is one. (0, 1, −1) is the optimal triple-frequency linear combination in Galileo. Three independent linear combinations are selected separately from the EWL, WL, and NL to jointly solve the integer ambiguity. Further, it creates a prerequisite for high-precision and real-time kinematic positioning.


2018 ◽  
Vol 18 (3) ◽  
pp. 449
Author(s):  
Thiago Nascimento Rodrigues ◽  
Maria Claudia Silva Boeres ◽  
Lucia Catabriga

The Reverse Cuthill-McKee (RCM) algorithm is a well-known heuristicfor reordering sparse matrices. It is typically used to speed up the computation ofsparse linear systems of equations. This paper describes two parallel approachesfor the RCM algorithm as well as an optimized version of each one based on someproposed enhancements. The first one exploits a strategy for reducing lazy threads,while the second one makes use of a static bucket array as the main data structureand suppress some steps performed by the original algorithm. These related changesled to outstanding reordering time results and significant bandwidth reductions.The performance of two algorithms is compared with the respective implementationmade available by Boost library. The OpenMP framework is used for supportingthe parallelism and both versions of the algorithm are tested with large sparse andstructural symmetric matrices.


2012 ◽  
Vol 19 (1) ◽  
pp. 49-62
Author(s):  
Andrzej Pułka ◽  
Adam Milik

Measurement Aspects of Genome Pattern Investigations - Hardware Implementation The work presented in the paper concerns a very important problem of searching for string alignments. The authors show that the problem of a genome pattern alignment could be interpreted and defined as a measuring task, where the distance between two (or more) patterns is investigated. The problem originates from modern computation biology. Hardware-based implementations have been driving out software solutions in the field recently. The complex programmable devices have become very commonly applied. The paper introduces a new, optimized approach based on the Smith-Waterman dynamic programming algorithm. The original algorithm is modified in order to simplify data-path processing and take advantage of the properties offered by FPGA devices. The results obtained with the proposed methodology allow to reduce the size of the functional block and radically speed up the processing time. This approach is very competitive compared with other related works.


Author(s):  
Wenkai Liu ◽  
Jianyuan Kang ◽  
Xianya Fu ◽  
Mengmeng Zhang ◽  
Zhi Liu ◽  
...  

For the virtual reality 360[Formula: see text] videos, equirectangular projection (ERP) is a commonly used projection format. However, its high resolution brings extraordinary huge computational complexity in encoding. In order to speed up the intra coding process, a fast coding unit (CU) partitioning algorithm based on regional decision tree is proposed in this paper. The frame image is divided into two regions from a statistical point of view, and the earlysplit and pruned decision trees are established using light weight sample attributes for each region. With the help of these decision trees, the CU partitioning process is accelerated. Compared with the original algorithm of HM16.20, the proposed algorithm can reduce the encoding time by 28%, while BD-rate only increases by 0.27%.


Sign in / Sign up

Export Citation Format

Share Document