Finding bottlenecks in development system
-
Does anyone have any suggestions to find out what is limiting my build times: Processor, Disk, or Memory on Windows 2000? I am trying to put together configuration for development systems using MSVC 6.0 and want to know if anyone has found specific performance monitor stats are helpful. Michael S. Scherotter Lead Software Architect Tartus Development, Inc.
-
Does anyone have any suggestions to find out what is limiting my build times: Processor, Disk, or Memory on Windows 2000? I am trying to put together configuration for development systems using MSVC 6.0 and want to know if anyone has found specific performance monitor stats are helpful. Michael S. Scherotter Lead Software Architect Tartus Development, Inc.
There's a book called Large-Scale C++ Software Design that has a discussion on what to do to reduce build time of large projects. Besides having faster CPU, more RAM, faster HD, the user need to clean up their sources, remove useless #includes cycles, add forward declarations, change some of the structure of the classes to have "pimpl" ( private implentation ) implementations....
-
There's a book called Large-Scale C++ Software Design that has a discussion on what to do to reduce build time of large projects. Besides having faster CPU, more RAM, faster HD, the user need to clean up their sources, remove useless #includes cycles, add forward declarations, change some of the structure of the classes to have "pimpl" ( private implentation ) implementations....
I already have my team use that book like it were the bible. I just want to know which hardware factor is the bottleneck in my build times: Memory, Processor, or Hard drive Michael S. Scherotter Lead Software Architect Tartus Development, Inc.
-
I already have my team use that book like it were the bible. I just want to know which hardware factor is the bottleneck in my build times: Memory, Processor, or Hard drive Michael S. Scherotter Lead Software Architect Tartus Development, Inc.
Ok, it has been 8 years since I have done system tuning, so I am VERY rusty. If in task manager, you see 100% CPU usage while compiling, then CPU is the problem. Now, if you don't have enough memory, then memory has to be freed up. *ONE* way to tell this is to monitor the number of page writes or outputs per second. If you are getting a lot, then modified memory is having to be faulted out of memory. (What I don't know is how you can tell the difference between program address space faults can file cache faults.) Now, if you don't have 100% CPU usage (or around that within reason), then you might be having a disk bottleneck which can also be a low memory bottleneck causing the file cache to be purged too often. Now, a real system tuner can give you better info. I haven't tuned a system since my VMS days. Tim Smith I know what you're thinking punk, you're thinking did he spell check this document? Well, to tell you the truth I kinda forgot myself in all this excitement. But being this here's CodeProject, the most powerful forums in the world and would blow your head clean off, you've got to ask yourself one question, Do I feel lucky? Well do ya punk?
-
I already have my team use that book like it were the bible. I just want to know which hardware factor is the bottleneck in my build times: Memory, Processor, or Hard drive Michael S. Scherotter Lead Software Architect Tartus Development, Inc.
We found that memory is at some point the bottleneck; at link time, the process takes a huge amount of memory, more than we used to have on our computer, and when the memory is full it starts to swap memory pages in and out! That took a long time. Increasing the memory of our machines, reduced the link time ! Max.