English 中文(简体)
衡量积聚时间以确定瓶颈
原标题:Measuring build times to identify bottlenecks

我致力于改善几个项目的建筑。 我大大改善了建筑时间,我认为瓶颈问题更加棘手。

该建筑使用GNU风格的造物。 我生成了一系列依赖性档案(.d),并将它们列入档案,否则就没有任何缺陷(例如,没有事先编造的头盔或其他ach机制)。

The build takes about 95 seconds on a 32-core sparc ultra, running with 16 threads in parallel. Idle time hovers around 80% while the build runs, with kernel time hovering between 8-10%. I put the code in /tmp, but most of the compiler support files are NFS mounted and I believe this may be creating a performance bottleneck.

有哪些工具用于测量和检查;追踪这些问题?

最佳回答

From my own experience, compiling C/C++ code requires reading a lot of header files by C preprocessor. I ve experienced situations when it took more than 50% of g++ run-time to generate a complete translation unit.

As you mentioned that it idles 80% when compiling it must be waiting for I/O then. iostat and DTrace would be a good starting point.

问题回答

暂无回答




相关问题
Eclipse CDT static resources under build folder

I m building a C++ project under Eclipse and my release folder should include a static sub-folder with some files inside it, those are required by executable during runtime. The problem is that this ...

Multiple Output paths for a C# Project file

Can I use multiple output paths. like when i build my project, the exe should generate in two different paths. If so, How can I specify in Project Properties-> Build -> output path? I tried using , ...

Running multiple TeamCity Agents on the same computer?

We have several build machines, each running a single TeamCity build agent. Each machine is very strong, and we d like to run several build agents on the same machine. Is this possible, without using ...

couldnt recognise pom.xml file

i am build forge as build tool. it is executing maven mvn commands fine ,but it couldnt recognizing the maven project pom.xml to run the build.so i tried to execute the same pom.xml through the ...

Cobertura ant script is missing Log4J classes

I tried to get Cobertura running inside my ant script, but I m stuck right at the beginning. When I try to insert the cobertura taskdef I m missing the Log4J libraries. Ant properties & ...

Why not use TFS as a build / CI solution?

Currently our build solution is set up using TFS + MS Build scripts. TFS is also being used as a CI server. I ve seen several posts on this site telling people about other CI solutions. Are there ...

Multiple websites running on same codebase?

We are developing an application that would be offered as a hosted solution. I am struck with understanding how can i use multiple sites with same code without duplicating base code. eg: website 1: ...

热门标签