efforg/rayhunter#618

View on GitHub →
#618 Possiblity of disabling 1 more core on the uz801
enhancement

What problem does this feature solve or what does it enhance?

The docs mentions “even with 2 disabled cores there is plenty of compute overhead”. This would enable a better battery life by a major fraction.

Proposed Solution

My model came with only 1 core active and seems to be working perfectly fine. If I run cat /proc/stat | grep cpu:

cpu  7716 128 9199 16881 1515 0 28 0 0 0
cpu0 6256 80 7771 14748 1157 0 23 0 0 0
cpu1 1460 48 1428 2133 358 0 5 0 0 0

It shows ~54% utilization. Additionally, if i run cat /proc/interrupts, all processes are already running on core 0, and if i run:

  • cat /sys/devices/system/cpu/cpu1/online returns 0
  • cat /sys/devices/system/cpu/cpu0/online returns 1 So only cpu0 is online.

Nonetheless, my stick seems to be working perfectly fine. On a system with core 1 enabled, you should be able to disable it using echo 0 > /sys/devices/system/cpu/cpu1/online.

Alternatives Considered

No response

Comments (1)

ok thank you. feel free to add to the docs. i’ll move this to the discussion area