Zero Copy Optimization for Web Cache

ZHOU Jing-Li,WANG Xiao-Feng,YU Sheng-Sheng,Xia Hong-Tao
DOI: https://doi.org/10.3969/j.issn.1002-137X.2005.09.007
2005-01-01
Computer Science
Abstract:The poor performance of current Web cache attributes to redundant data copies significantly. Squid, which is well known as a widely used Web cache program, is analyzed in detail in this paper from the point of view of its data movement. Zero copy optimization to Squid is implemented based on two strategies: faster file transfer and data stream splicing. The former makes file data sent to remote host from kernel buffer of local file system directly, and the latter means that input and outgoing data can be exchanged between kernel buffers of protocol stacks smoothly. Both of them reduce data copies resulted from data movement between kernel space and user space. Experiments prove that the opti- mized Squid predominates over original version remarkably in both CPU utilities and mean request response time.
What problem does this paper attempt to address?