Skip to content

Conversation

@balajiv113
Copy link
Member

GRPC

----------------------------------------------------------- Server listening on 5201 (test #1) ----------------------------------------------------------- Accepted connection from ::1, port 39068 [ 5] local ::1 port 5201 connected to ::1 port 39078 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 412 MBytes 3.46 Gbits/sec [ 5] 1.00-2.00 sec 439 MBytes 3.68 Gbits/sec [ 5] 2.00-3.00 sec 438 MBytes 3.68 Gbits/sec [ 5] 3.00-4.00 sec 435 MBytes 3.65 Gbits/sec [ 5] 4.00-5.00 sec 428 MBytes 3.59 Gbits/sec [ 5] 5.00-6.00 sec 436 MBytes 3.66 Gbits/sec [ 5] 6.00-7.00 sec 428 MBytes 3.59 Gbits/sec [ 5] 7.00-8.00 sec 423 MBytes 3.55 Gbits/sec [ 5] 8.00-9.00 sec 418 MBytes 3.51 Gbits/sec [ 5] 9.00-10.00 sec 428 MBytes 3.59 Gbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.00 sec 4.18 GBytes 3.59 Gbits/sec receiver 

SSH with vsock

----------------------------------------------------------- Server listening on 5201 (test #1) ----------------------------------------------------------- Accepted connection from ::1, port 42904 [ 5] local ::1 port 5201 connected to ::1 port 42920 [ ID] Interval Transfer Bitrate [ 5] 0.00-1.00 sec 418 MBytes 3.51 Gbits/sec [ 5] 1.00-2.00 sec 436 MBytes 3.66 Gbits/sec [ 5] 2.00-3.00 sec 440 MBytes 3.69 Gbits/sec [ 5] 3.00-4.00 sec 384 MBytes 3.22 Gbits/sec [ 5] 4.00-5.00 sec 372 MBytes 3.12 Gbits/sec [ 5] 5.00-6.00 sec 434 MBytes 3.64 Gbits/sec [ 5] 6.00-7.00 sec 438 MBytes 3.68 Gbits/sec [ 5] 7.00-8.00 sec 443 MBytes 3.72 Gbits/sec [ 5] 8.00-9.00 sec 443 MBytes 3.72 Gbits/sec [ 5] 9.00-10.00 sec 442 MBytes 3.71 Gbits/sec [ 5] 10.00-10.00 sec 1.62 MBytes 3.83 Gbits/sec - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate [ 5] 0.00-10.00 sec 4.15 GBytes 3.57 Gbits/sec receiver 

Aimed to bridge the performance gap between GRPC and SSH with VSOCK.

Signed-off-by: Balaji Vijayakumar <kuttibalaji.v6@gmail.com>
Copy link
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, but SSH w/ VSOCK seems still faster for me (M4 Max, macOS 26.0.1)

gRPC

  • TCP: 5.83 Gbps
  • TCP Reverse: 6.98 Gbps

SSH w/ VSOCK:

  • TCP: 6.05 Gbps
  • TCP Reverse: 7.53 Gbps
@jandubois jandubois merged commit 7335cd2 into lima-vm:master Oct 23, 2025
63 of 64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment