Cheng's Blog

Wednesday, September 28, 2011

Efficient data transfer through zero copy

Many Web applications serve a significant amount of static content, which amounts to reading data off of a disk and writing the exact same data back to the response socket. This activity might appear to require relatively little CPU activity, but it's somewhat inefficient: the kernel reads the data off of disk and pushes it across the kernel-user boundary to the application, and then the application pushes it back across the kernel-user boundary to be written out to the socket. In effect, the application serves as an inefficient intermediary that gets the data from the disk file to the socket.
Posted by Unknown at 12:08 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Followers

Blog Archive

  • ►  2013 (2)
    • ►  April (1)
    • ►  January (1)
  • ►  2012 (8)
    • ►  August (1)
    • ►  June (3)
    • ►  May (2)
    • ►  January (2)
  • ▼  2011 (15)
    • ►  December (1)
    • ►  November (3)
    • ▼  September (11)
      • User space memory access from the Linux kernel
      • Efficient data transfer through zero copy
      • Enhanced Export Chart Procedure
      • Create a Bootable Ubuntu USB Flash Drive the Easy Way
      • Changing Priority on Linux Processes
      • 0x8086: Understanding TCP behavior in Linux 2.6
      • Using and mounting a RAM disk in Ubuntu – The easy...
      • 5 Useful Unix DD Command Examples
      • Restrict DHCP response on Cisco 3560 layer 3 switch
      • A brief history of TCP and its variance
      • Some useful command to save my time

About Me

Unknown
View my complete profile
Simple theme. Powered by Blogger.