Re: [PATCH v2] io: Increase unix socket buffers size on macOS

2025-04-22 Thread Nir Soffer
> On 22 Apr 2025, at 13:42, Daniel P. Berrangé wrote: > > On Sun, Apr 20, 2025 at 02:12:18AM +0300, Nir Soffer wrote: >> On macOS we need to increase unix socket buffers size on the client and >> server to get good performance. We set the socket buffers on macOS after >> connecting or accepting

Re: [PATCH v2] io: Increase unix socket buffers size on macOS

2025-04-22 Thread Daniel P . Berrangé
On Sun, Apr 20, 2025 at 02:12:18AM +0300, Nir Soffer wrote: > On macOS we need to increase unix socket buffers size on the client and > server to get good performance. We set the socket buffers on macOS after > connecting or accepting a client connection. > > Testing with qemu-nbd shows that readi

[PATCH v2] io: Increase unix socket buffers size on macOS

2025-04-19 Thread Nir Soffer
On macOS we need to increase unix socket buffers size on the client and server to get good performance. We set the socket buffers on macOS after connecting or accepting a client connection. Testing with qemu-nbd shows that reading an image with qemu-img convert from qemu-nbd is *11.4 times faster*