PCOW: Pipelining-Based COW Snapshot Method to Decrease First Write Penalty

While Copy-On-Write (COW) snapshot is the popular technique for online data protection, its first write request suffers from severe performance penalty because 3 I/Os are needed for each data block after creating snapshot. This paper proposes Pipelining-based COW (PCOW) method to minimize the snapshot impact on the first write request. When origin data is read from origin volume to a buffer queue, pending host write request can be serviced immediately. Origin data will be deferred to write to the snapshot volume in a background asynchronous thread. In order to demonstrate PCOW feasibility and efficiency, we have implemented both COW and PCOW in a standard iSCSI target as independent modules. We use popular benchmarks to quantitatively compare PCOW and COW techniques. Numerical results show that PCOW can effectively decrease first write penalty and improve performance.