Re: Perl make depend made faster

Edward Welbon (welbon@bga.com)
Sun, 15 Sep 1996 00:48:07 -0500 (CDT)


On Sat, 14 Sep 1996, Luca Lizzeri wrote:

> On Sat, 14 Sep 1996, Edward Welbon wrote:
>
> > I ran this on my p6 box (dog slow ide) and got these results:
> >
> > with perl 5.003: 11.47user 10.73system 0:25.47elapsed 87%CPU
> > original: 23.17user 8.81system 0:53.77elapsed 59%CPU
> >
>
> Thanks. This is Some Gain :) I hope it can get included in the kernel.

I added your new patch and now it is halved again. If it gets any
better it will disappear 8-).

xyplex223:~/linux# time make dep 1>/dev/null
5.34user 7.54system 0:12.98elapsed 99%CPU
xyplex223:~/linux# time make dep 1>/dev/null
5.29user 7.63system 0:13.57elapsed 95%CPU
xyplex223:~/linux# time make dep 1>/dev/null
4.87user 8.02system 0:13.33elapsed 96%CPU

I eliminated the page/swap info, it was all zeroes.

> > I got the "new" error messages also, is it necessary to correct these?
> >
> > > Here are a couple of warnings that on gawk under make don't make it to
> > > stderr ( on both my systems ):
> > >
> > > ide_modes.h needs config but has not included config file
> > > g_NCR5380.h needs config but has not included config file
> > > dev_table.h needs config but has not included config file
>
> Correcting them seems trivial. Put #include <linux/config.h>

This worked.

Ed Welbon; welbon@bga.com;