From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,27b2a4fa070b8237,start X-Google-Attributes: gidfee84,public From: Mike Atkinson Subject: C++ compile/link turnaround optimization Date: 1997/03/03 Message-ID: <331AED23.167E@abingdon.geoquest.slb.com>#1/1 X-Deja-AN: 222903602 Organization: GeoQuest (Reservoir Technologies) Newsgroups: comp.unix.osf.osf1 Ever since upgrading my OS to Unix 4.0 and compiler to DEC C++ v5.5-004 we've noticed a considerable degradation in compilation times. The robustness and accuacy of the complier have certainly been significantly improved, but for day-to-day work it is the compile/link cycle turnaround that is most impoertant (to me). It has got so bad that I'm moving my development platform to a second hand PC in order to get better response. Are there any pointers or recommendations to improving the speed of the C++ compiler? (I'm already using shared libraries). I have looked at the system administration and tuning guide, and it looks that I may be able to make overall system improvements by spreading out my disks and swap space - but as this will take time I am loathe to undertake this without being able to quantify any speed improvement. Using vmubc I *can* see that the system is heavily swapping during compilation, with the active CPU dropping right down to a few percent- but my swap space is never more than 50-60% utilised. I am using the lazy swap allocation mode. "swapstat" (currently) gives: # swapstat -a Swap space free = 84.26% (342.5MB out of 406.5MB) Total swap space to physical memory = 317.58% (406.5MB to 128.0MB) I realise that more memory would help, but my manager points out that with 128Mb on a fast machine I should be doing better that I currently am. Thanks in advance for any help or pointers. -- --------------------------------------------------------- -- GeoQuest Reservoir Technologies, 11 Foxcombe Court, -- Abingdon Business Park, Abingdon, Oxfordshire OX14 1DZ. -- Tel: +44 (0)1235 559595 Fax: +44 (0)1235 535565