Hello,
I would need to obtain an information about hardware: how many physical memory channels are available on PC.
I'm doing some memory intensive work in parallel. On my development PC I have Quad channel architecture and running more than 4 threads is wasting of resources because memory is a bottleneck. Execution time does not decrease with increasing number of threads over 4. Maybe slightly with 5. My CPU has 12 cores. For other CPU and memory info I'm using heim (https://github.com/heim-rs/heim) crate. I would need this primarily for Windows, however plan to use it on Linux, too.
I'm not aware of any crate which can provide information about hardware RAM channels.
Any help would be appreciated.
Thanks!