Use fewer processes on Core i7 processor

Bug #523104 reported by Seth Arnold
12
This bug affects 2 people
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!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in origami (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.