payload icon indicating copy to clipboard operation
payload copied to clipboard

"only" getting around 40Mb/s between a Mac and Windows PC

Open tiernano opened this issue 2 years ago • 5 comments

Opening a ticket based on the comments from my Hacker News comment here: https://news.ycombinator.com/item?id=32102348

MacBook Pro (Max with 64GB RAM) running Ventura 13.0 Beta (22A5295i) main workstation, GodBoxV3 (Dual 20 Core Xeon, 256GB RAM, and lots of SSD/NVMe storage). Running Windows Server 2022.

The MacBook has a 10GbE link and GodBoxV3 has 2x10GbE Links...

Tried sending a file from the Mac to GodBoxV3 and it didn't top out at more than 40MB/s.

tiernano avatar Jul 15 '22 11:07 tiernano

Do you think it could accidentally be routing through WIFI interface, or you're watching wired light up?

sean-horn avatar Jul 15 '22 17:07 sean-horn

Thanks for the report! I need to write a debugging guide, but in the meantime..

  • Can you confirm the transfer is over TCP (and not UDP/Quic) and over Ethernet?
  • Can you achieve faster transfers with some other method over TCP, such as FTP? This would be helpful to set a baseline.
  • Wireshark can be really helpful. I once saw an issue where a Windows 10 machine refused to set the window scaling bit while establishing the connection (which capped the TCP window to 64k). Start capturing before you accept the transfer, and stop a few seconds later. Statistics -> TCP Stream Graphs -> Window Scaling and related options.

You can observe the JSON event stream by running the agent standalone:

  • Initiate the transfer in the GUI (send or accept)
  • Close the app before the transfer completes
  • Run payload-agent[.exe] standalone

It can be helpful e.g. if you want to observe a crash, but I doubt it's helpful in this case.

betamos avatar Jul 15 '22 17:07 betamos

Created a Discord server as well if that works better. See the README

betamos avatar Jul 15 '22 18:07 betamos

Ok, going to join Discord in a bit, but interesting note. On the Windows box i killed Payload-agent.exe, whcih caused the UI to complain. but when i ran the exe on its own, it started the transfer (not showing anything in the UI) but its getting a pretty stable 100MB/s currently... Also, i tried with FTP and over 10GbE i am getting 500MB/s... So, the link between the 2 boxes is "correct". Not quite the full 1.25GB/s it should get, but more than 100MB/s... I have seen spikes on Payload to 120Mb/s...

tiernano avatar Jul 15 '22 19:07 tiernano

Checked by turning off wifi, and still the same issue. Also triple checked it was using the 10gb nic and there is no other nic hooked up on the Mac or the workstation.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Sean Horn @.> Sent: Friday, July 15, 2022 6:25:31 PM To: betamos/payload @.> Cc: Tiernan OToole @.>; Author @.> Subject: Re: [betamos/payload] "only" getting around 40Mb/s between a Mac and Windows PC (Issue #1)

Do you think it could accidentally be routing through WIFI interface, or you're watching wired light up?

— Reply to this email directly, view it on GitHubhttps://github.com/betamos/payload/issues/1#issuecomment-1185750557, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAA4OMEFHUMITX2RVC4V2T3VUGNIXANCNFSM53VLIVMQ. You are receiving this because you authored the thread.Message ID: @.***>

tiernano avatar Oct 11 '22 08:10 tiernano