| Summary: | [MBS] Parallel optimal number could be better | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Doug Schaefer <cdtdoug> |
| Component: | cdt-build-managed | Assignee: | Project Inbox <cdt-build-managed-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Chris Recoskie <recoskie> |
| Severity: | normal | ||
| Priority: | P3 | CC: | jensseidel, recoskie |
| Version: | 4.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Doug Schaefer
On my dual core system, the optimal number is also 1 by default. It appears that this is a static value, and not a very good default under any circumstances. I even noticed that Eclipse creates sometimes a load of 300 and more on my Linux system!!!!! In such a case the box is just frozen and completely unresponsive. If I'm lucky and are able to have a running process viewer I see 20-30 compiler jobs in parallel. That's too much even for a quad core CPU. The affected project is a Managed C++ project where Eclipse creates the Makefiles and there are currently three builds performed (Debug, Release and a test build). If Eclipse chooses 2*number of cores as default per each build and runs all builds together it would result in such large job numbers. Using -j3 fixes this. The severity of this bug should be increased as often a reboot is the only practical solution (waiting a few few hours may also help but as the system doesn't react fast enough even a ssh connection to kill processes doesn't help). I thought the "optimal" number we were using *was* the number of processors +1? I guess it's not... but it should be. (In reply to comment #3) > I thought the "optimal" number we were using *was* the number of processors +1? > > I guess it's not... but it should be. Probably you know that ordinary make evaluates a variable MAKEFLAGS which I set to j8 ... But in this case I start only a single make process. closing as duplicate *** This bug has been marked as a duplicate of bug 259768 *** |