Chia-Network / bladebit

A high-performance k32-only, Chia (XCH) plotter supporting in-RAM and disk-based plotting
Apache License 2.0
337 stars 108 forks source link

Unable to use taskset for Bladebit on Rocky Linux 9.2 #392

Closed Jason-2048 closed 1 year ago

Jason-2048 commented 1 year ago

Issue Description:

I am encountering an issue with Rocky Linux 9.2 where I am unable to use taskset to set the number of threads for Bladebit. This issue is significant because manually specifying the number of threads can significantly reduce interference with Bladebit's performance, especially when transferring plot files via SFTP.

Environment:

Expected Behavior:

Bladebit does not appear to be affected by the taskset command, and it continues to use the default CPU core allocation, resulting in a significant drop in performance during SFTP transfers.

Thank you for your assistance in resolving this problem.

harold-b commented 1 year ago

You'll have to use --no-cpu-affinity and (if needed) --no-numa for bladebit to not handle its own CPU core affinity.