lkl / linux

Linux kernel source tree
https://lkl.github.io/
Other
819 stars 137 forks source link

[question] zero-copy support/example #223

Open alagalah opened 8 years ago

alagalah commented 8 years ago

If there is a mailing list to ask questions please feel free to redirect and close.

Is there an example of using LKL for socket zero-copy operations as per http://netdevconf.org/1.2/session.html?jerry-chu ?

Are there examples of using HIJACK with this?

ghost commented 8 years ago

Mailing list is located at https://www.freelists.org/list/linux-kernel-library, but I don't mind continuing the discussion here.

zero-copy is something that @hkchu has been looking into, I'll let him answer that.

hkchu commented 8 years ago

Unfortunately we hit some road block so this is still WIP. Please stay tuned.

alagalah commented 8 years ago

Can you share the issue? Best I have been able to come up with is single memcopy between containers.

alagalah commented 8 years ago

Can you share the issue? Best I have been able to come up with is single memcopy between containers.

hkchu commented 8 years ago

On Sat, Sep 10, 2016 at 3:53 PM, Alagalah (Keith Burns) < notifications@github.com> wrote:

Can you share the issue? Best I have been able to come up with is single memcopy between containers.

It depends on what configuration you have and which copy you're referring to. E.g., one of the configurations we use involves 6 copy operations for each byte transferred. Different copy operation poses different challenge...

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lkl/linux/issues/223#issuecomment-246149781, or mute the thread https://github.com/notifications/unsubscribe-auth/AR3_fdUD8X29L4U7_5ShUxiOcr3QkL6pks5qozT7gaJpZM4J4AI9 .