152 research outputs found
Fast and Precise Symbolic Analysis of Concurrency Bugs in Device Drivers
© 2015 IEEE.Concurrency errors, such as data races, make device drivers notoriously hard to develop and debug without automated tool support. We present Whoop, a new automated approach that statically analyzes drivers for data races. Whoop is empowered by symbolic pairwise lockset analysis, a novel analysis that can soundly detect all potential races in a driver. Our analysis avoids reasoning about thread interleavings and thus scales well. Exploiting the race-freedom guarantees provided by Whoop, we achieve a sound partial-order reduction that significantly accelerates Corral, an industrial-strength bug-finder for concurrent programs. Using the combination of Whoop and Corral, we analyzed 16 drivers from the Linux 4.0 kernel, achieving 1.5 - 20× speedups over standalone Corral
Uncovering Bugs in Distributed Storage Systems during Testing (not in Production!)
Testing distributed systems is challenging due to multiple sources of nondeterminism. Conventional testing techniques, such as unit, integration and stress testing, are ineffective in preventing serious but subtle bugs from reaching production. Formal techniques, such as TLA+, can only verify high-level specifications of systems at the level of logic-based models, and fall short of checking the actual executable code. In this paper, we present a new methodology for testing distributed systems. Our approach applies advanced systematic testing techniques to thoroughly check that the executable code adheres to its high-level specifications, which significantly improves coverage of important system behaviors. Our methodology has been applied to three distributed storage systems in the Microsoft Azure cloud computing platform. In the process, numerous bugs were identified, reproduced, confirmed and fixed. These bugs required a subtle combination of concurrency and failures, making them extremely difficult to find with conventional testing techniques. An important advantage of our approach is that a bug is uncovered in a small setting and witnessed by a full system trace, which dramatically increases the productivity of debugging
Implementing and evaluating candidate-based invariant generation
The discovery of inductive invariants lies at the heart of static program verification. Presently, many automatic solutions to inductive invariant generation are inflexible, only applicable to certain classes of programs, or unpredictable. An automatic technique that circumvents these deficiencies to some extent is candidate-based invariant generation , whereby a large number of candidate invariants are guessed and then proven to be inductive or rejected using a sound program analyser. This paper describes our efforts to apply candidate-based invariant generation in GPUVerify, a static checker of programs that run on GPUs. We study a set of 383 GPU programs that contain loops, drawn from a number of open source suites and vendor SDKs. Among this set, 253 benchmarks require provision of loop invariants for verification to succeed. We describe the methodology we used to incrementally improve the invariant generation capabilities of GPUVerify to handle these benchmarks, through candidate-based invariant generation , whereby potential program invariants are speculated using cheap static analysis and subsequently either refuted or proven. We also describe a set of experiments that we used to examine the effectiveness of our rules for candidate generation, assessing rules based on their generality (the extent to which they generate candidate invariants), hit rate (the extent to which the generated candidates hold), effectiveness (the extent to which provable candidates actually help in allowing verification to succeed), and influence (the extent to which the success of one generation rule depends on candidates generated by another rule). We believe that our methodology for devising and evaluation candidate generation rules may serve as a useful framework for other researchers interested in candidate-based invariant generation. The candidates produced by GPUVerify help to verify 231 of these 253 programs. An increase in precision, however, has created sluggishness in GPUVerify because more candidates are generated and hence more time is spent on computing those which are inductive invariants. To speed up this process, we have investigated four under-approximating program analyses that aim to reject false candidates quickly and a framework whereby these analyses can run in sequence or in parallel. Across two platforms, running Windows and Linux, our results show that the best combination of these techniques running sequentially speeds up invariant generation across our benchmarks by 1 . 17 × (Windows) and 1 . 01 × (Linux), with per-benchmark best speedups of 93 . 58 × (Windows) and 48 . 34 × (Linux), and worst slowdowns of 10 . 24 × (Windows) and 43 . 31 × (Linux). We find that parallelising the strategies marginally improves overall invariant generation speedups to 1 . 27 × (Windows) and 1 . 11 × (Linux), maintains good best-case speedups of 91 . 18 × (Windows) and 44 . 60 × (Linux), and, importantly, dramatically reduces worst-case slowdowns to 3 . 15 × (Windows) and 3 . 17 × (Linux)
Spatio-temporal spectrum sensing in cognitive radio networks using Beamformer-Aided SVM algorithms
This paper addresses the problem of spectrum sensing in multi-antenna cognitive radio system using support vector machine (SVM) algorithms. First, we formulated the spectrum
sensing problem under multiple primary users scenarios as a multiple state signal detection problem. Next, we propose a novel,
beamformer aided feature realization strategy for enhancing the capability of the SVM for signal classification under both single
and multiple primary users conditions. Then, we investigate the error correcting output codes (ECOC) based multi-class SVM algorithms and provide a multiple independent model
(MIM) alternative for solving the multiple state spectrum sensing problem. The performance of the proposed detectors is quantified in terms of probability of detection, probability of false alarm,
receiver operating characteristics (ROC), area under ROC curves (AuC) and overall classification accuracy. Simulation results show that the proposed detectors are robust to both temporal and joint spatio-temporal detection of spectrum holes in cognitive radio networks
Theory of the vortex matter transformations in high Tc superconductor YBCO
Flux line lattice in type II superconductors undergoes a transition into a
"disordered" phase like vortex liquid or vortex glass, due to thermal
fluctuations and random quenched disorder. We quantitatively describe the
competition between the thermal fluctuations and the disorder using the
Ginzburg -- Landau approach. The following T-H phase diagram of YBCO emerges.
There are just two distinct thermodynamical phases, the homogeneous and the
crystalline one, separated by a single first order transitions line. The line
however makes a wiggle near the experimentally claimed critical point at 12T.
The "critical point" is reinterpreted as a (noncritical) Kauzmann point in
which the latent heat vanishes and the line is parallel to the T axis. The
magnetization, the entropy and the specific heat discontinuities at melting
compare well with experiments.Comment: 4 pages 3 figure
Development of Ultra Low Temperature, Impact Resistant Lithium Battery for the Mars Microprobe
The requirements of the power source for the Mars Microprobe, to be backpacked on the Mars 98 Spacecraft, are fairly demanding, with survivability to a shock of the order of 80,000 g combined with an operational requirement at -80 C. Development of a suitable power system, based on primary lithium-thionyl chloride is underway for the last eighteen months, together with Yardney Technical Products Inc., Pawcatuck, CT. The battery consists of 4 cells of 2 Ah capacity at 25 C, of which at least 25 % would be available at -80 C, at a moderate rate of C/20. Each probe contains two batteries and two such probes will be deployed. The selected cell is designed around an approximate 1/2 "D" cells, with flat plate electrodes. Significant improvements to the conventional Li-SOCl2 cell include: (a) use of tetrachlorogallate salt instead of aluminate for improved low temperature performance and reduced voltage delay, (b) optimization of the salt concentration, and (c) modification of the cell design to develop shock resistance to 80,000 g. We report here results from our several electrical performance tests, mission simulation tests, microcalorimetry and AC impedance studies, and Air gun tests. The cells have successfully gone through mission-enabling survivability and performance tests for the Mars Microprobe penetrator
Disorder Induced Transitions in Layered Coulomb Gases and Superconductors
A 3D layered system of charges with logarithmic interaction parallel to the
layers and random dipoles is studied via a novel variational method and an
energy rationale which reproduce the known phase diagram for a single layer.
Increasing interlayer coupling leads to successive transitions in which charge
rods correlated in N>1 neighboring layers are nucleated by weaker disorder. For
layered superconductors in the limit of only magnetic interlayer coupling, the
method predicts and locates a disorder-induced defect-unbinding transition in
the flux lattice. While N=1 charges dominate there, N>1 disorder induced defect
rods are predicted for multi-layer superconductors.Comment: 4 pages, 2 figures, RevTe
Multimodal image super-resolution via joint sparse representations induced by coupled dictionaries
Real-world data processing problems often involve various image modalities associated with a certain scene, including RGB images, infrared images, or multispectral images. The fact that different image modalities often share certain attributes, such as edges, textures, and other structure primitives, represents an opportunity to enhance various image processing tasks. This paper proposes a new approach to construct a high-resolution (HR) version of a low-resolution (LR) image, given another HR image modality as guidance, based on joint sparse representations induced by coupled dictionaries. The proposed approach captures complex dependency correlations, including similarities and disparities, between different image modalities in a learned sparse feature domain in lieu of the original image domain. It consists of two phases: coupled dictionary learning phase and coupled superresolution phase. The learning phase learns a set of dictionaries from the training dataset to couple different image modalities together in the sparse feature domain. In turn, the super-resolution phase leverages such dictionaries to construct an HR version of the LR target image with another related image modality for guidance. In the advanced version of our approach, multistage strategy and neighbourhood regression concept are introduced to further improve the model capacity and performance. Extensive guided image super-resolution experiments on real multimodal images demonstrate that the proposed approach admits distinctive advantages with respect to the state-of-the-art approaches, for example, overcoming the texture copying artifacts commonly resulting from inconsistency between the guidance and target images. Of particular relevance, the proposed model demonstrates much better robustness than competing deep models in a range of noisy scenarios
Single-nucleus RNA-seq2 reveals functional crosstalk between liver zonation and ploidy.
Funder: Cancer Research UKSingle-cell RNA-seq reveals the role of pathogenic cell populations in development and progression of chronic diseases. In order to expand our knowledge on cellular heterogeneity, we have developed a single-nucleus RNA-seq2 method tailored for the comprehensive analysis of the nuclear transcriptome from frozen tissues, allowing the dissection of all cell types present in the liver, regardless of cell size or cellular fragility. We use this approach to characterize the transcriptional profile of individual hepatocytes with different levels of ploidy, and have discovered that ploidy states are associated with different metabolic potential, and gene expression in tetraploid mononucleated hepatocytes is conditioned by their position within the hepatic lobule. Our work reveals a remarkable crosstalk between gene dosage and spatial distribution of hepatocytes
- …