Use fewer processes on Core i7 processor
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
origami (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: origami
Hello; the origami tool, through finstall, just reads /proc/cpuinfo for the number of vendor_id lines, and calls that the 'number of CPUs'. But on an Intel Core i7, and other processors with hyperthreading enabled, using this number of processes guarantees that the CPU will be run at full clock, rather than just sipping idle cycles.
Instead, Folding@Home should use a 1:1 relationship with cores, so that the chips don't run themselves into ludicrous temperatures and power use. (Running only four instead of the auto-detected eight processes has my processor running at 66 degrees Celsius rather than 80 degrees Celsius.)
This change can probably happen by using the following:
grep "core id" /proc/cpuinfo | sort -u | wc -l
But I don't know for certain that 'core id' is located in /proc/cpuinfo on single-core chips, nor do I know what it looks like on SMP systems with multiple processor sockets... hopefully someone reading this has access to a wide enough variety of systems to find out if this can be used verbatim, or if it needs to be massaged some first.
Thanks!
Status changed to 'Confirmed' because the bug affects multiple users.