Re: [PATCH v4 3/3] nbd: Set unix socket send buffer on Linux

2025-05-19 Thread Daniel P . Berrangé
On Sat, May 17, 2025 at 11:11:54PM +0300, Nir Soffer wrote: > Like macOS we have similar issue on Linux. For TCP socket the send > buffer size is 2626560 bytes (~2.5 MiB) and we get good performance. > However for unix socket the default and maximum buffer size is 212992 > bytes (208 KiB) and we se

[PATCH v4 3/3] nbd: Set unix socket send buffer on Linux

2025-05-17 Thread Nir Soffer
Like macOS we have similar issue on Linux. For TCP socket the send buffer size is 2626560 bytes (~2.5 MiB) and we get good performance. However for unix socket the default and maximum buffer size is 212992 bytes (208 KiB) and we see poor performance when using one NBD connection, up to 4 times slow