Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement using vmsplice for unix sockets #96

Open
osevan opened this issue Aug 26, 2024 · 1 comment
Open

Enhancement using vmsplice for unix sockets #96

osevan opened this issue Aug 26, 2024 · 1 comment

Comments

@osevan
Copy link

osevan commented Aug 26, 2024

Dear Devs,

some setups using angie in unix socket listening mode for better performance on local host.

Using vmslice reduce overhead in kernel and lower latency .

Maybe some of devs, could make vmsplice unix sockets available inside configure option --with_vmsplice or --enable-vmsplice
https://qsantos.fr/2024/08/25/linux-pipes-are-slow/

Thanks and

Best Regards

@VBart
Copy link
Contributor

VBart commented Aug 30, 2024

vmsplice() exists >15 years already. There are reasons why it's not used. AFAIK among some other disadvantages and complications, it's impossible to know when the data is actually sent and buffer can be reused.

Your link is a bit irrelevant, since it compares performance with pipes, not sockets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants