OpenStack Image Registry and Delivery Service (Glance)

Support sendfile(2) to remove userspace copying of image file data

Registered by Jay Pipes on 2012-02-08

Support sendfile(2) to remove userspace copying of image file data

As recommended by Reynolds Chin, we should add support for using the sendfile(2) system call to bypass userspace copying of an image file during uploads. The pysendfile library (http://code.google.com/p/pysendfile/) can be used for this purpose.

Add support for sendfile(2) without changing the existing iterator logic in the Glance client

Blueprint information

Status:
Complete
Approver:
Jay Pipes
Priority:
Medium
Drafter:
Jay Pipes
Direction:
Approved
Assignee:
Eoghan Glynn
Definition:
Approved
Series goal:
Accepted for essex
Implementation:
Implemented
Milestone target:
milestone icon 2012.1
Started by
Jay Pipes on 2012-02-08
Completed by
Thierry Carrez on 2012-02-10

Related branches

Sprints

Whiteboard

Addressed by: https://review.openstack.org/3863
    Use sendfile() for zero-copy of uploaded images.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.