5,239 research outputs found
An implementation of Deflate in Coq
The widely-used compression format "Deflate" is defined in RFC 1951 and is
based on prefix-free codings and backreferences. There are unclear points about
the way these codings are specified, and several sources for confusion in the
standard. We tried to fix this problem by giving a rigorous mathematical
specification, which we formalized in Coq. We produced a verified
implementation in Coq which achieves competitive performance on inputs of
several megabytes. In this paper we present the several parts of our
implementation: a fully verified implementation of canonical prefix-free
codings, which can be used in other compression formats as well, and an elegant
formalism for specifying sophisticated formats, which we used to implement both
a compression and decompression algorithm in Coq which we formally prove
inverse to each other -- the first time this has been achieved to our
knowledge. The compatibility to other Deflate implementations can be shown
empirically. We furthermore discuss some of the difficulties, specifically
regarding memory and runtime requirements, and our approaches to overcome them
A Compression Technique Exploiting References for Data Synchronization Services
Department of Computer Science and EngineeringIn a variety of network applications, there exists significant amount of shared data between two end hosts. Examples include data synchronization services that replicate data from one node to another. Given that shared data may have high correlation with new data to transmit, we question how such shared data can be best utilized to improve the efficiency of data transmission. To answer this, we develop an encoding technique, SyncCoding, that effectively replaces bit sequences of the data to be transmitted with the pointers to their matching bit sequences in the shared data so called references. By doing so, SyncCoding can reduce data traffic, speed up data transmission, and save energy consumption for transmission. Our evaluations of SyncCoding implemented in Linux show that it outperforms existing popular encoding techniques, Brotli, LZMA, Deflate, and Deduplication. The gains of SyncCoding over those techniques in the perspective of data size after compression in a cloud storage scenario are about 12.4%, 20.1%, 29.9%, and 61.2%, and are about 78.3%, 79.6%, 86.1%, and 92.9% in a web browsing scenario, respectively.ope
Adaptive feedback analysis and control of programmable stimuli for assessment of cerebrovascular function
The assessment of cerebrovascular regulatory mechanisms often requires flexibly controlled and precisely timed changes in arterial blood pressure (ABP) and/or inspired CO2. In this study, a new system for inducing variations in mean ABP was designed, implemented and tested using programmable sequences and programmable controls to induce pressure changes through bilateral thigh cuffs. The system is also integrated with a computer-controlled switch to select air or a CO2/air mixture to be provided via a face mask. Adaptive feedback control of a pressure generator was required to meet stringent specifications for fast changes, and accuracy in timing and pressure levels applied by the thigh cuffs. The implemented system consists of a PC-based signal analysis/control unit, a pressure control unit and a CO2/air control unit. Initial evaluations were carried out to compare the cuff pressure control performances between adaptive and non-adaptive control configurations. Results show that the adaptive control method can reduce the mean error in sustaining target pressure by 99.57 % and reduce the transient time in pressure increases by 45.21 %. The system has proven a highly effective tool in ongoing research on brain blood flow control
- …