pcileech icon indicating copy to clipboard operation
pcileech copied to clipboard

Slow reads on MacOs

Open marcinjagielnicki opened this issue 11 months ago • 1 comments

Hello, I would like to ask if anybody had issues with slow reads using pcileech on macos (ARM)?

I did a test and when card is connected to windows PC I'm getting ~180-190 MB/s but when connected to Macbook Pro M1 I'm getting only around 80 MB/s. I've tried different ports and the problem persists.

➜  PCILeech_files_and_binaries_v4.19.2-macOS-20250405 ./pcileech -device fpga dump -out none -min 0x100000000 -max 0x200000000 -v

DEVICE: FPGA: Enigma X1 PCIe gen1 x1 [300,25,500] [v4.13,0600] [ASYNC,NORM,FWCUST]
 Memory Map:
 START              END               #PAGES
 0000000100000000 - 0000000113ffffff  00014000

 Current Action: Dumping Memory
 Access Mode:    Normal
 Progress:       320 / 4096 (7%)
 Speed:          80 MB/s
 Address:        0x0000000114000000
 Pages read:     81920 / 1048576 (7%)
 Pages failed:   0 (0%)

marcinjagielnicki avatar Apr 09 '25 16:04 marcinjagielnicki

Apologies for the slow response. I always get a notification about issues created, but I must have accidentally forgotten to respond.

The reason for the macOS somewhat slower support are related to the FTDI USB driver and how PCILeech interfaces with it.

If maximum performance is of utmost importance a Windows PC would be the way to go unfortunately as things stand right now. macOS and Linux a bit slower due to driver issues, but I hope PCILeech is still quite usable even so.

ufrisk avatar Apr 29 '25 20:04 ufrisk