| Anonymous | Login | Signup for a new account | 2013-05-23 13:13 CEST | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||
| 0005754 | OCaml | OCamlbuild (the tool) | public | 2012-09-03 02:04 | 2012-11-19 01:21 | ||||||
| Reporter | meyer | ||||||||||
| Assigned To | meyer | ||||||||||
| Priority | high | Severity | major | Reproducibility | always | ||||||
| Status | assigned | Resolution | open | ||||||||
| Platform | OS | OS Version | |||||||||
| Product Version | 4.00.0 | ||||||||||
| Target Version | 4.00.2+dev | Fixed in Version | |||||||||
| Summary | 0005754: Not optimal parallel build of dependencies | ||||||||||
| Description | For this example:a1.ml: a2.ml: a3.ml: a4.ml: b1.ml: open A1 open A2 b2.ml: open A3 open A4 c.ml: open B1 open B2 we have this dependency graph:
A1 A2 A3 A4
\ / \ /
B1 B2
\__ __/
\ /
C
Of course it's apparent that for -j 4 option, ocamlbuild should trivially recognize this case and build A1 & A2 & A3 & A4 in parallel, and later B1 & B2 also in parallel and then finally C, but currently it does not. What it does is to build A1 & A2 in paraller, then build B1, then build A3 & A4 and the build B2, and finally C. | ||||||||||
| Tags | No tags attached. | ||||||||||
| Attached Files | |||||||||||
Relationships |
|||||||||||
|
|||||||||||
Notes |
|
|
(0008299) berenger (reporter) 2012-10-23 10:36 |
Ocamlbuild doesn't parallelize the build. Using -j 1 to -j 8 with a step size of 1 shows that there is almost no parallelization of the build. |
|
(0008526) meyer (developer) 2012-11-19 01:21 |
I agree that the tool currently is does not extremely parallelize the build. This fact mostly comes from the reason of handling dynamic dependencies automatically. |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-09-03 02:04 | meyer | New Issue | |
| 2012-09-03 02:04 | meyer | Status | new => assigned |
| 2012-09-03 02:04 | meyer | Assigned To | => meyer |
| 2012-09-03 02:06 | meyer | Description Updated | View Revisions |
| 2012-09-03 02:07 | meyer | Description Updated | View Revisions |
| 2012-09-03 02:07 | meyer | Description Updated | View Revisions |
| 2012-09-03 02:07 | meyer | Description Updated | View Revisions |
| 2012-09-03 02:08 | meyer | Relationship added | related to 0004934 |
| 2012-09-03 02:10 | meyer | Summary | not optimal parraler build of dependencies => not optimal parallel build of dependencies |
| 2012-09-03 02:10 | meyer | Description Updated | View Revisions |
| 2012-09-03 02:11 | meyer | Priority | normal => high |
| 2012-09-03 02:17 | meyer | Summary | not optimal parallel build of dependencies => Not optimal parallel build of dependencies |
| 2012-09-06 19:22 | frisch | Target Version | 4.00.1+dev => 4.00.2+dev |
| 2012-10-23 10:12 | gasche | Relationship added | has duplicate 0005796 |
| 2012-10-23 10:36 | berenger | Note Added: 0008299 | |
| 2012-11-19 01:21 | meyer | Note Added: 0008526 | |
| Copyright © 2000 - 2011 MantisBT Group |