On 06/05/2013 17:41, Jason Merrill wrote:
> On 05/05/2013 09:57 AM, Dave Korn wrote:
>> This sounds like a bad idea to me, and not just because the locking 
>> mechanism is dodgy. Is the problem more widespread than just your laptop?
>>  Does it affect other host OSs? Linking multiple frontends at once 
>> doesn't lock up my desktop PC, so I'd rather not have it disabled.
> 
> Part of the issue is that I build with -g3, which greatly increases the
> memory consumption at link time.  And builds are sharing 4GB with
> everything else I want to run.
> 
> I would be happy to have the mechanism off by default and manually
> enabled by people in my situation.

  Well I couldn't possibly object to that :)

>>    Why don't you just nice your build shell?  Shouldn't that make the
>> rest of your system responsive?
> 
> I don't think that helps much with swap thrashing, though I could be wrong.

  Ah, no, you're probably right there.  So serialising those final links
sounds like a reasonable solution.

    cheers,
      DaveK

Reply via email to