On Fri, Jan 3, 2014 at 10:23 PM, Isaac Dupree <ml@isaac.cedarswampstudios.org> wrote:
On 01/03/2014 04:10 PM, Karol Blazewicz wrote:
On Fri, Jan 3, 2014 at 9:55 PM, Isaac Dupree <ml@isaac.cedarswampstudios.org> wrote:
On 01/03/2014 10:37 AM, Anatol Pomozov wrote:
Using -j$(cpunum) is a sane default that saves a lot of time to users.
I agree, but for the record, 'nice' and scheduling are no panacea in my experience. It's fine for CPU loads, but compilations are also disk-heavy (which mattered when I used a spinning disk) and sometimes RAM-heavy (-j8 on my pet C++ project uses 2GB of RAM, which could push other programs I'm using into swap).
-Isaac
Have you tried using ionice?
I think I tried ionice once, but now I have an SSD that's fast enough that I wouldn't be able to tell the difference. Does it work well for you?
-Isaac
I have ancient hardware and I don't really compile much. I can let my computer do its thing while I prepare dinner.