Search arXiv⌕ Search

arXiv subjects

Sahand Divsalar

Publications and source records attributed to Sahand Divsalar.

2 recordsLinked to original sources

Lattice: Alleviating the Shared-Channel Bottleneck in Solid-State Drives to Enable Scalable In-Flash Processing

Data-intensive applications spend significant time and energy moving large volumes of data between storage, memory, and processing units. In-flash processing (IFP) reduces these costs by computing inside NAND flash chips, where datasets reside. Prior IFP techniques distribute computation across chips and aggregate partial results. However, two bottlenecks limit IFP's scalability in solid-state drives (SSDs). First, shared channels serialize transfers. While adding chips increases compute parallelism, channel bandwidth remains fixed. Second, every partial result passes through the SSD controller, increasing aggregation latency and energy. Prior network-in-SSD architectures provide more paths but still rely on controller-orchestrated transfers and lack in-network aggregation. We propose Lattice, a lightweight IFP architecture that enables flash chips to exchange and aggregate partial results directly. Lattice is based on three key ideas. First, Lattice places an IFP-aware router next to each flash chip and connects neighboring routers via short, high-speed links. Second, IFP-aware communication primitives support operand distribution, synchronization, and in-network aggregation. Third, Lattice performs complex computations (e.g., matrix multiplication) across flash chips and simple non-linear operations (e.g., masking) in routers during transfer. We reformulate general matrix-matrix multiplication (GEMM) and convolution as distributed vector-scalar multiplications that map efficiently to IFP primitives. Across five GEMM- (convolution-) intensive machine learning workloads, Lattice outperforms IFP on a state-of-the-art network-in-SSD architecture by 2.6x (2.5x) and reduces energy consumption by 1.3x (1.7x) on average. Each router chip adds printed circuit board area equal to 8% of a flash die's footprint and consumes 2.2 mW. Each link consumes 1.08 mW during a 4 KB page transfer.

cs.AR↗

CertiFlash: A Formal Verification Framework for Flash Translation Layers in Computational Solid State Drives

Data-intensive applications move large amounts of data from storage to the compute unit, incurring significant data movement overhead. Storage-centric computing reduces this overhead by moving computation near or inside solid-state drives (SSDs). Enabling it requires modifying SSD policies, e.g., address translation and garbage collection, which are part of the Flash Translation Layer (FTL), the SSD's firmware. Modifying the FTL is error-prone. Because FTL logic has direct access to security-critical device components, even a functionally correct FTL can leak data between tenants, drop integrity tags, or assign a flash block to the wrong tenant. We show that a faulty FTL can corrupt the device state at five surfaces inside the SSD, and demonstrate them on a DaisyPlus OpenSSD. Prior work verifies individual FTL designs, but has two limitations. (1) It establishes only functional correctness, so a modified FTL can violate isolation, integrity, and ownership and still pass verification. (2) It is tied to a single FTL design, so every modification requires redoing every proof. We propose CertiFlash, a formal verification framework for FTLs, mechanized in the Rocq proof assistant, that gives designers a machine-checked proof of security and correctness. CertiFlash models an FTL as a deterministic state machine with a single global invariant over mapping, isolation, integrity, ownership, and allocation. We prove once, over a general FTL model, that (i) every FTL operation preserves the invariant and (ii) the model refines an idealized block device. For a new design, a designer discharges five hypotheses about its own operations instead of redoing either proof. Across four case studies, a designer adds 27 to 3,231 lines against a 16,489-line framework, significantly reducing the verification effort. CertiFlash is open source.

cs.AR↗