Working on my monero Docker container and ran into a roadblock.
Using nproc was easy to get cores and use them as a base for threads to use.
Now I need to get L3 cache and then take half the MB value and round.
The math is easy. Being able to store a value for L3cacheMB is beyond me. I can see the number in lscpu, but parsing is another matter.
Any ideas on how to do this?
Using nproc was easy to get cores and use them as a base for threads to use.
Now I need to get L3 cache and then take half the MB value and round.
The math is easy. Being able to store a value for L3cacheMB is beyond me. I can see the number in lscpu, but parsing is another matter.
Any ideas on how to do this?