[PATCH] patch to speed up bootpc queries

Phil pbi at cartel-info.fr
Fri Jan 4 12:05:09 CET 2002


On Fri, 4 Jan 2002, Geert Stappers wrote:

> At 0:51 +0100 1/4/02, Phil wrote:
> >On Thu, 3 Jan 2002, Geert Stappers wrote:
> >
> >> >Moreover,
> >> >I don't see why every NIC in $netdevices should query a bootp server.
> >> >One answered query should be enough.
> >>
> >> Even a single NIC computer does three(3) BOOTP-requests:
> >> - BootROM "where to get my kernel-image" request
> >> - Kernel "where to get my NFS root" request
> >> - FAI "where is the FAI info" request
> >I was only talking about the last item.
> >
> >>
> >> On a multi NIC computer, FAI has to check every netdevice,
> >> because the BOOTP server could anywhere.
> >Why should FAI keep on doing requests on other interfaces when it gets a
> >reply on one ?
> >
> Why worry about about a extra BOOTP request,
> when we have a complete installation to do
> on mostly single NIC computers?

Because most of my machines have more than one NIC ;)
One extra bootp request cost about 1min.
On a one NIC machine, an installation take less than 9min.
On a four NIC machine, you loose 3 min for nothing, that's a 33% time
increase !
When you know how easy it is to guess the correct interface and
to stop when you got what you wanted, it's IMHO too bad not to do so.
Moreover, that's the first time I see an algorithm that keep on doing
things when it found what it wanted, or I've not beeing told yet in which
case doing so was needed.

Best, regards, Phil.


-- 
Philippe Biondi <pbi@ cartel-info.fr>   Cartel Informatique
Security Consultant/R&D                 http://www.cartel-info.fr
Phone: +33 1 44 06 97 94                Fax: +33 1 44 06 97 99
PGP KeyID:3D9A43E2  FingerPrint:C40A772533730E39330DC0985EE8FF5F3D9A43E2




More information about the linux-fai mailing list