site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=L3mqWSBxJQR+zbmfJ7cOUtLv48vC9J4tRG1lGXOi/cc=; b=DH+VARHD8waybIdOP4vvGACHLtRXG05w6FvjUvhe4eSrYYNHR/IwYCL/l4+Whtn6EOzx7cusTdv/7QN9GeXZQ+5SEoxUqlEwIbR5qSydy7V2i7CjwE1p1eYxCfWYZtXm/qxuBB6vsTc7qlboZsD6Qod5IE3J/xPPElb1H0QoGGQ= Spamdiagnosticmetadata: NSPM Spamdiagnosticoutput: 1:99 Thread-index: AQHTlpg0k1Rze3FH3kuInGbNb+AlQQ== 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com