Data transfer: The zero-copy approach.
数据传输:零拷贝方法。
Why no zero-copy networking in linux kernel?
为什么没有零拷贝网络在Linux内核?
Explaining what is zero-copy functionality for Linux, why it's useful and where it needs work.
解释Linux中的“零拷贝”特性,为什么有用以及何处需要改进之处?
Also, zero-copy operations reduce the number of time-consuming mode switches between user space and kernel space.
同样,零-拷贝操作减少了耗费时间的用户态-系统态状态切换的次数,从而节省了时间。
To meet the need of high-speed network information audit system, the technology of zero-copy is researched on and realized successfully.
为此,对零拷贝技术进行了研究与试验,并成功实现了该技术,从软件上满足了基于高速网络的信息审计系统的需求。
When applications or services communicate with each other on the same satellite kernel a fast, zero-copy, message-passing interface is used.
当位于相同卫星内核上的应用程序或者服务彼此之间进行通信的时候,就会使用一种快速的、零复制的消息传递接口。
In applications that do a great deal of copying of data between channels, the zero-copy technique can offer a significant performance improvement.
在需要在通道间大量拷贝数据的应用程序中,零拷贝技巧能够显著地提高性能。
Zero-copy versions of network protocol stacks greatly increase the performance of certain application programs and more efficiently utilize system resources.
在网络协议栈中实现的零-拷贝技术版本极大程度上提高了某些应用系统的性能的同时,也使它们更加充分的利用系统资源。
But this does not yet get us to our goal of zero copy.
但是这个代码尚未达到我们的零拷贝要求。
Applications that use zero copy request that the kernel copy the data directly from the disk file to the socket, without going through the application.
使用零拷贝的应用程序要求内核直接将数据从磁盘文件拷贝到套接字,而无需通过应用程序。
Now let's put zero copy into practice, using the same example of transferring a file between a client and a server (see Download for the sample code).
接下来就让我们实际应用一下零拷贝,在客户机和服务器间传输文件(参见下载,查找示例代码)。
Zero copy greatly improves application performance and reduces the number of context switches between kernel and user mode.
零拷贝不仅大大地提高了应用程序的性能,而且还减少了内核与用户模式间的上下文切换。
I could have done this in another way but I am going to just be extra deliberate so I make sure that this copy ends with back slash zero and voila, now, I have a copy.
我可以用另外一种方式来处理,我确保这个拷贝由反斜杠0结尾,那样,现在我得到了一个拷贝。
The problems of optimizing the memory copy for device driver program and zero copy technique are discussed.
进一步讨论了驱动程序的内存拷贝优化问题和零拷贝技术。
After analyzing the test data, it concludes that the performance of Ethernet adapter driver is improved by both optimizing the memory copy and adopting the zero copy technique.
通过测试数据分析得出优化内存拷贝和使用零拷贝技术都能提高网卡驱动程序的性能。
As with copy_to_user, the function returns zero on success and non-zero to indicate a failure to copy some number of bytes.
和copy _ to_user一样,该函数在成功时,返回0,否则返回一个非零数,指出不能复制的字节数。
This function returns zero on success. In general, the get_user and put_user functions are faster than their block copy counterparts and should be used if small types are moved.
成功时该函数返回0,一般情况下,get_user和put_user函数比它们的块复制副本要快一些,如果是小类型被移动的话,应该用它们。
These generatives apply to all digital copies, but also to any kind of copy where the marginal cost of that copy approaches zero.
可生性适用于所有的数字复制品,但同时也适用于任何一种成本趋近于零的复制品。
However, the resetting to zero does not work as intended, because only the local copy of each element is reset to zero, while the original element is left unchanged in the original array.
但是,将元素重置为零的操作无法完成,因为只有每个元素的本地副本被重置为零,而原始数组中的原始元素却保留未变。
Now using "zero copy" to improve this process: When the net card will catch the data packet later directly to write about the sharing memory, such treating processes reduced at least duplication.
利用“零存储”技术对传统的抓包过程进行改进:当网卡抓到数据包以后直接写到共享内存,这样的一个处理过程减少了至少一次复制。
Now using "zero copy" to improve this process: When the net card will catch the data packet later directly to write about the sharing memory, such treating processes reduced at least duplication.
利用“零存储”技术对传统的抓包过程进行改进:当网卡抓到数据包以后直接写到共享内存,这样的一个处理过程减少了至少一次复制。
应用推荐