openonload

Convert a statically linked elf binary to dynamically linked

断了今生、忘了曾经 提交于 2019-12-09 09:35:48
问题 I have a elf binary which has been statically linked to libc. I do not have access to its C code. I would like to use OpenOnload library, which has implementation of sockets in user-space and therefore provides lower latency compared to standard libc versions. OpenOnload implements standard socket api, and overrides libc version using LD_PRELOAD. But, since this elf binary is statically linked, it cannot use the OpenOnload version of the socket API. I believe that converting this binary to

Convert a statically linked elf binary to dynamically linked

别等时光非礼了梦想. 提交于 2019-12-03 12:19:58
I have a elf binary which has been statically linked to libc. I do not have access to its C code. I would like to use OpenOnload library, which has implementation of sockets in user-space and therefore provides lower latency compared to standard libc versions. OpenOnload implements standard socket api, and overrides libc version using LD_PRELOAD. But, since this elf binary is statically linked, it cannot use the OpenOnload version of the socket API. I believe that converting this binary to dynamically link with OpenOnload is possible, with the following steps: Add new Program headers: PT

Kernel bypass for UDP and TCP on Linux- what does it involve?

大憨熊 提交于 2019-12-03 07:58:49
问题 Per http://www.solacesystems.com/blog/kernel-bypass-revving-up-linux-networking: [...]a network driver called OpenOnload that use “kernel bypass” techniques to run the application and network driver together in user space and, well, bypass the kernel. This allows the application side of the connection to process many more messages per second with lower and more consistent latency. [...] If you’re a developer or architect who has fought with context switching for years kernel bypass may feel

Kernel bypass for UDP and TCP on Linux- what does it involve?

我怕爱的太早我们不能终老 提交于 2019-12-02 21:27:22
Per http://www.solacesystems.com/blog/kernel-bypass-revving-up-linux-networking : [...]a network driver called OpenOnload that use “kernel bypass” techniques to run the application and network driver together in user space and, well, bypass the kernel. This allows the application side of the connection to process many more messages per second with lower and more consistent latency. [...] If you’re a developer or architect who has fought with context switching for years kernel bypass may feel like cheating, but fortunately it’s completely within the rules. What are the functions needed to do