AGAshvin Goel

Ashvin Goel

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Ashvin Goel has a total of 10 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Don't Trust the Code, Check Its Effects: Runtime Refinement for Regenerated Systems Code Under an Adversarial Generator

    by Jinhao Hu, Ashvin Goel, Laurent Bindschaedler

    Recent work uses large language models to generate systems code from specifications, treating the specification as the durable artifact and the implementation as disposable. Regenerating the implementation specializes it to each workload and device. However, that work lives in a forgiving setting: a component's externally visible effects, its writes and device commands, are recoverable, and the generator is honest, so trust is discharged by re-execution. We target the unforgiving setting: systems code whose effects are irreversible, produced by a generator that may be adversarial. There, re-execution cannot check an effect after the fact, and a proof fails silently when its assumptions do. We take the position that the only safe way to operate here is to deny the generated code the authority to act. The generated code only plans, while a fixed trusted mediator owns every effect and performs one only when the specification would have produced it. Because the guarantee lives in the mediator, not the code, it survives regeneration. We instantiate this as a reference monitor for regenerated device drivers, and characterize the mediability envelope, six conditions on the effect vocabulary: legibility, spec-input observability, correlatability, completeness, outcome enumerability, and explicit durability. They decide when such mediation is possible.

  • Open Access

    Integrating Non-Volatile Main Memory in a Deterministic Database

    by Yu Chen Wang, Angela Demke Brown, Ashvin Goel

    Deterministic databases provide strong serializability while avoiding concurrency-control related aborts by establishing a serial ordering of transactions before their execution. Recent work has shown that they can also handle skewed and contended workloads effectively. These properties are achieved by batching transactions in epochs and then executing the transactions within an epoch concurrently and deterministically. However, the predetermined serial ordering of transactions makes these databases more vulnerable to long-latency transactions. As a result, they have mainly been designed as main-memory databases, which limits the size of the datasets that can be supported. We show how to integrate non-volatile main memory (NVMM) into deterministic databases to support larger data-sets at a lower cost per gigabyte and faster failure recovery. We describe a novel dual-version checkpointing scheme that takes advantage of deterministic execution, epoch-based processing and NVMM's byte addressability to avoid persisting all updates to NVMM. Our approach reduces NVMM accesses, provides better access locality, and reduces garbage collection costs, thus lowering the performance impact of using NVMM. We show that our design enables scaling the dataset size while reducing the impacts of using NVMM, achieving up to 79% of DRAM performance. Our design supports efficient failure recovery and outperforms alternative failure recovery designs, especially under contended workloads, by up to 56%.


  • Open Access

    Annotation for automation

    by Kuei (Jack) Sun, Daniel Fryer, Angela Demke Brown, Ashvin Goel

    Today file system tools and file-system aware storage applications are tightly coupled with file system implementations. Developing these applications is challenging because it requires detailed knowledge of the file system format, and the code for interpreting file system metadata has to be written manually. This code is complex and file-system specific, and so the application requires significant re-engineering to support different file systems. We propose a file system annotation language for specifying a file system's on-disk metadata format. File system developers are asked to annotate the data structure definitions of a file system's metadata. The annotated code is parsed and used by tool-specific code templates to create interpretation routines (e.g., a metadata parser) for the desired file system tool. The benefit is that different tools can reuse the interpretation routines, and they are much less dependent on file system formats and implementations. We show the feasibility of this approach by implementing a compiler that generates a runtime metadata interpreter for an annotated toy file system. The generated code has low overhead (roughly 3%) compared to a hand-written version of the same application.


  • Control and modeling issues in computer operating systems: resource management for real-rate computer applications

    by D.C. Steere, M.H. Shor, A. Goel, J. Walpole, Calton Pu

    Commonplace computer applications on general-purpose computers increasingly are expected to meet "real-rate" requirements, processing or displaying data or images at an externally driven "rate". We describe a feedback-control-based resource manager design approach, allowing the computer system to allocate resources such as CPU and network bandwidth based on the measured "progress" of the applications. Progress is measured by separating a complex application into a number of simpler applications separated by buffers. The resource scheduler measures the buffer fill levels to determine whether the rates of data coming in and going out of each buffer are matched. Feedback controllers keep the buffer levels around a certain fill level. We have developed prototype systems in the Linux environment that demonstrate that (classical) feedback control can be used to match the real rates. However, more formal methods, such as those that can be developed by the control theory community, are needed to help with the analysis and design of such systems to make them commercially viable. This paper presents the computer system problems, results from the prototype designs showing feasibility, some preliminary modeling results, and demonstrations and discussions of which control modeling, analysis and design results and techniques appear to be relevant to this computer system problem, and why.