faster compiles

S

soumik

Hi All,
I work on a system which has grown to be @8000 files now and VC6 takes
@30 minutes to compile all on my P4 HT machine with a SATA drive.

I noticed that there neither the CPU or the memory (page file) is
being maxed out during the compile so, guessed that the bottleneck is
the hard disk speed. so, I got the fastest SCSI disk that I could
afford (seagate chetah - 4.5 ms seek time 10000 RPM) but there is no
difference in the compile time at all!!

What is going on here? How can I compile faster? BTW, is vc7 faster
than 6?

Thanks.
Soumik.
 
V

Victor Bazarov

soumik said:
Hi All,
I work on a system which has grown to be @8000 files now and VC6 takes
@30 minutes to compile all on my P4 HT machine with a SATA drive.

And you're complaining? How about several hours to compile? Split
your project into smaller components and only compile the ones you're
working on.
I noticed that there neither the CPU or the memory (page file) is
being maxed out during the compile so, guessed that the bottleneck is
the hard disk speed. so, I got the fastest SCSI disk that I could
afford (seagate chetah - 4.5 ms seek time 10000 RPM) but there is no
difference in the compile time at all!!

What is going on here? How can I compile faster? BTW, is vc7 faster
than 6?

No, it probably isn't. The code it produces is.

Anyway, this is not a LANGUAGE question. Please find a better NG to
ask compiler-specific questions. I recommend anything with
'microsoft.public' in its name, like microsoft.public.vc.ide_general

V
 
P

Petec

soumik said:
Hi All,
I work on a system which has grown to be @8000 files now and VC6 takes
@30 minutes to compile all on my P4 HT machine with a SATA drive.

I noticed that there neither the CPU or the memory (page file) is
being maxed out during the compile so, guessed that the bottleneck is
the hard disk speed. so, I got the fastest SCSI disk that I could
afford (seagate chetah - 4.5 ms seek time 10000 RPM) but there is no
difference in the compile time at all!!

What is going on here? How can I compile faster? BTW, is vc7 faster
than 6?

Thanks.
Soumik.

This is not topical for this group, which covers the C++ langauge only.
Please ask in a group such as microsoft.public.vc.language.
FYI, there is some software that allows fasters compiles by distibuting the
work over various computers on the network. VC7.1 (2003) seems to be a tad
slower, but not much, to me.

- Pete
 
L

Luther Baker

soumik said:
Hi All,
I work on a system which has grown to be @8000 files now and VC6 takes
@30 minutes to compile all on my P4 HT machine with a SATA drive.

I noticed that there neither the CPU or the memory (page file) is
being maxed out during the compile so, guessed that the bottleneck is
the hard disk speed. so, I got the fastest SCSI disk that I could
afford (seagate chetah - 4.5 ms seek time 10000 RPM) but there is no
difference in the compile time at all!!

What is going on here? How can I compile faster? BTW, is vc7 faster
than 6?

I don't mean to contradict Victor or Pete, they are probably correct -
the is most likely a question for another group.

But one thing comes to mind. Take read through John Lakos' book (Large
Scale C++ Software Design). There are some rules/hints in there
regarding headers and including files that you can check against your build.

-Luther
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,170
Messages
2,570,924
Members
47,464
Latest member
Bobbylenly

Latest Threads

Top