星期一, 11月 03, 2008

[資訊] What is zero-copy?

http://stenlyho.blogspot.com/2008/08/zero-copy.html
http://www.linuxjournal.com/article/6345
http://en.wikipedia.org/wiki/Zero-copy
http://www.ibm.com/developerworks/library/j-zerocopy/index.html

什麼是zero-copy?
簡單講就是copy data不經過user的copy,直接由kernel端做掉,如果硬體支援gather,就不需要copy到socket buffer,直接append就可以了,少了copy的行為,減少cpu與memory使用,自然performance就好啦~~~~^^
為啥為看到zero-copy呢?
因為Google protocol buffer有用嚕~~~~^^

沒有留言:

張貼留言