arrow
Return

Generating efficient protocol code from an abstract specification

delete1997-01-01
delete16
PRE
AI
C
Claude Castelluccia *
W
Walid Dabbous
S
Sean O’Malley
DOI:10.1109/90.649465delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
A protocol compiler takes as input an abstract specification of a protocol and generates an implementation of that protocol, Protocol compilers usually produce inefficient code both in terms of code speed and code size, In this paper, we show that the combination of two techniques makes it possible to build protocol compilers that generate efficient code. These techniques are: i) the use of a compiler that generates from the specification a unique tree-shaped automation (rather than multiple independent automata) and ii) the use of optimization techniques applied at the automation level, i.e., on the branches of the trees. We have developed a protocol compiler that uses both these techniques, The compiler takes as input a protocol specification written in the synchronous language Esterel, The specification is compiled into a unique automation by the Esterel front end compiler, The automation is then optimized and converted into C code by our protocol optimizer called HIPPCO. HIPPCO improves code performance(1) and reduces code size by simultaneously optimizing the performance of the common path and optimizing the size of the uncommon path. We evaluate the gain expected with our approach on a real-life example, namely a working subset of the TCP protocol generated from an Esterel specification, We compare the protocol code generated with our approach to that derived from the standard BSD TCP implementation, The results are very encouraging, HIPPCO-generated code executes up to 25% fewer instructions than the BSD code for input packet processing while only increasing the code size by 25%.
Keywords:
code optimization
formal languages
protocol compilers
transport protocols
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

I
IEEE-ACM Transactions on Networking
IF:
3.6
Papers:
4.4K
Citations:
9.5K

Organization

No organization information available
Cited Papers

Cited Papers

Exploring the local orthogonality principle
err2014-03-13
err0
errOAAI
errA. B. Sainz; T. Fritz; R. Augusiak; J. Bohr Brask; R. Chaves; A. Leverrier; A. Acín
errShare
errSave
Merkel cell carcinoma: Our experience in this rare pathology
err2011-01-01
err0
errOAAI
errP. Rosado; L. Junquera; B. Vivanco; L. Garcia-Consuegra; L. Gallego
errShare
errSave
Stereoselective synthesis of polyfunctionalised hydroxylated cyclopentanes from dihydroxylated 2-cyclopentenone derivatives
err2001-07-01
err0
PREAI
errS Caddick; S Cheung; V.E Doyle; L.M Frost; M.G Soscia; V.M Delisser; M.R.V Williams; Z.C Etheridge; S Khan; P.B Hitchcock; G Pairaudeau; S Vile
errShare
errSave
The potential of citizen monitoring programs for marine areas: activities of the two-year Sango (Coral) Map Project
err2013-01-01
err0
errOAAI
errNaoko NAMIZAKI; Hiroya YAMANO; Rintaro SUZUKI; Kenji OOHORI; Hitoshi ONAGA; Tamiko KISHIMOTO; Teppei SAGAWA; Yoshiko MACHIDA; Shigeki YASUMURA; Takanori SATOH; Takashi SHIGIYA; Tsuyoshi SHIBATA; Megumu TSUCHIKAWA; Yasuaki MIYAMOTO; Kyoko HARUKAWA; Koichi HIRATE; Koji FURUSE; Kenichi HOKOYAMA; Yasushi YAMANAKA; Toru WAGATSUMA
errShare
errSave
Cation site energies in dehydrated KFI-type zeolites: d-NaKFI, d-NaHKFI, and d-KKFI
err1992-07-01
err0
PREAI
errJan L. Lievens; Johnannes P. Verduijn; Wilfried J. Mortier
errShare
errSave
Genomic and chromatin features shaping meiotic double-strand break formation and repair in mice
err
IF0
err2017-04-28
err0
errOAAI
errShintaro Yamada; Seoyoung Kim; Sam E. Tischfield; Julian Lange; Maria Jasin; Scott Keeney
errShare
errSave
errShare
errSave
Biotin-responsive Disorders
err2012-01-01
err0
PREAI
errMatthias R. Baumgartner; Terttu Suormala
errShare
errSave
researcher View more