|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On 07/18/2010 07:10 PM, Jeff Garzik wrote:
On 07/17/2010 11:45 PM, Steven Dake wrote:On 07/16/2010 10:46 PM, Jeff Garzik wrote:chunkd: remove sendfile(2) zero-copy support chunkd will be soon checksumming data in main memory. That removes the utility of a zero-copy interface which bypasses the on-heap data requirement. Signed-off-by: Jeff Garzik<jgarzik@xxxxxxxxxx>May be able to use vmsplice with sendfile (if linux is only target platform). Haven't tried it myself, but the operations look interesting at achieving zero copy with sockets from memory addresses.
As an aside, Project Hail -is- intended to be portable to other operating systems. That said, I happily use OS-specific features if they have a measurable impact on our core code paths.
Another OS-specific feature I plan on using, for example, is sync_file_range(2) for large objects. We can make use of the technique used by MythTV for streaming, which Linus describes here:
http://marc.info/?l=linux-kernel&m=127429771726842&w=2 http://marc.info/?l=linux-kernel&m=127431438118461&w=2 -- To unsubscribe from this list: send the line "unsubscribe hail-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |
![]() |