
Craig Sanders <cas@taz.net.au> wrote:
yep, 'make -j N' where N ~= the number of cpus/cores you want to use.
I recently did this with -j4 (on my machine with 4 CPU cores) to compile Chromium sources - for purposes related to their accessibility support. Two worrying observations: 1. Temperature sensors in the machine were disturbingly high, upward of 83. 2. There was unusual, intermittent noise (presumably fan noise). I hit ctrl-c at that point and tried again with -j1, which took most of the day to complete... We do have evaporation cooling around here which should help somewhat with the room temperature. I could try 2 or 3, of course. Current temperatures on this machine (with a 0.19 load average): coretemp-isa-0000 Adapter: ISA adapter Core 0: +50.0°C (high = +86.0°C, crit = +100.0°C) Core 1: +50.0°C (high = +86.0°C, crit = +100.0°C) coretemp-isa-0003 Adapter: ISA adapter Core 0: +56.0°C (high = +86.0°C, crit = +100.0°C) Core 1: +56.0°C (high = +86.0°C, crit = +100.0°C) i5k_amb-isa-0000 Adapter: ISA adapter Ch. 0 DIMM 0: +58.0°C (low = +127.5°C, high = +127.5°C) Ch. 1 DIMM 0: +122.0°C (low = +127.5°C, high = +127.5°C) Ch. 2 DIMM 0: +127.0°C (low = +127.5°C, high = +127.5°C) Ch. 3 DIMM 0: +91.0°C (low = +127.5°C, high = +127.5°C) nouveau-pci-4000 Adapter: PCI adapter temp1: +78.0°C (high = +100.0°C, crit = +120.0°C) Of course, the drives are getting old now, so I suppose we're into high risk territory (I have backup of everything that matters). What would you suggest as best preparation for heavy compilation tasks? Is there anything on here I should check out regarding the hardware, or preemptively replace/upgrade? Here's smartctl -a for both drives: smartctl 5.43 2012-06-05 r3561 [x86_64-linux-3.2.0-4-amd64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net Vendor: SEAGATE Product: ST373454SS Revision: HPS3 User Capacity: 73,407,865,856 bytes [73.4 GB] Logical block size: 512 bytes Logical Unit id: 0x5000c5000043ef13 Serial number: 3KP2RC6B00007641E2MM Device type: disk Transport protocol: SAS Local Time is: Tue Jan 8 12:09:18 2013 EST Device supports SMART and is Enabled Temperature Warning Enabled SMART Health Status: OK Current Drive Temperature: 48 C Drive Trip Temperature: 65 C Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 3918518339 Blocks received from initiator = 161292342 Blocks read from cache and sent to initiator = 1034486167 Number of read and write commands whose size <= segment size = 360848807 Number of read and write commands whose size > segment size = 1372 Vendor (Seagate/Hitachi) factory information number of hours powered up = 24869.65 number of minutes until next internal SMART test = 78 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 0 0 0 0 0.000 0 write: 0 0 0 0 0 0.000 0 Non-medium error count: 21 No self-tests have been logged Long (extended) Self Test duration: 1064 seconds [17.7 minutes] smartctl 5.43 2012-06-05 r3561 [x86_64-linux-3.2.0-4-amd64] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net Vendor: SEAGATE Product: ST373454SS Revision: HPS3 User Capacity: 73,407,865,856 bytes [73.4 GB] Logical block size: 512 bytes Logical Unit id: 0x5000c50000474187 Serial number: 3KP3FAA600007645PUBM Device type: disk Transport protocol: SAS Local Time is: Tue Jan 8 12:09:54 2013 EST Device supports SMART and is Enabled Temperature Warning Enabled SMART Health Status: OK Current Drive Temperature: 46 C Drive Trip Temperature: 65 C Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 3758196373 Blocks received from initiator = 245812821 Blocks read from cache and sent to initiator = 1051276525 Number of read and write commands whose size <= segment size = 340335533 Number of read and write commands whose size > segment size = 7 Vendor (Seagate/Hitachi) factory information number of hours powered up = 26430.55 number of minutes until next internal SMART test = 76 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrected fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 0 0 0 0 0 0.000 0 write: 0 0 0 0 0 0.000 0 Non-medium error count: 8 No self-tests have been logged Long (extended) Self Test duration: 1064 seconds [17.7 minutes]