Change named pipe buffer size
Change named pipe buffer size
- Subject: Change named pipe buffer size
- From: Joao Moreno <email@hidden>
- Date: Fri, 26 Jan 2018 11:24:18 +0000
- Thread-topic: Change named pipe buffer size
Hi there,
Is there any way to control the buffer size of a named pipe created through
mkfifo? Also, can you confirm that its default value is indeed 8192?
I’m using macOS 10.13.2 and the buffer size seems limited to 8192. I was able
to get to that number with this snippet of code:
https://gist.github.com/joaomoreno/514990500f2048f322a7897e5c1705df
I'm coming from this VS Code bug:
https://github.com/Microsoft/vscode/issues/40681#issuecomment-356664593 We use
named pipes extensively and in macOS they seem to work only in 8192 byte sized
chunks. This size is great for most scenarios but actually affects performance
in the specific scenario mentioned in the issue.
Any help would be much appreciated.
Thank you,
João Moreno
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden