dhcp-users Digest, Vol 5, Issue 63
LOGANATHAN GOPINATH-XNT436
gopinathloganathan at motorola.com
Wed Mar 18 12:04:48 UTC 2009
I am writing the DHCP lease file on the ram disk , on a Pentium 4
machine with 1 gb of RAM I was getting around 2500 successful
transactions . I was wondering is there way multi threading would
improve the performance . On a dumb assumption I installed the dhcp
with ./configure --enable-threads option
But I did not see any difference
Gopinath
----------------------------------------------------------------------
Message: 1
Date: Wed, 18 Mar 2009 15:20:18 +0800
From: "LOGANATHAN GOPINATH-XNT436" <gopinathloganathan at motorola.com>
Subject: multi threading
To: <dhcp-users at lists.isc.org>
Message-ID:
<4AF2D1662867D34DA68B00B268E4A5C1035DA4FF at ZMY16EXM66.ds.mot.com>
Content-Type: text/plain; charset="us-ascii"
Hi folks
In yesterdays Bind forum i saw a discussion on bind as
a multi threaded application using the option
./configure --enable-threads
do we have a similar usage for dhcp while installing .To make it
multithread ?.
Thanks
Gopinath
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20090318/e02bf57
4/attachment-0001.html>
------------------------------
Message: 2
Date: Wed, 18 Mar 2009 09:31:44 +0100 (CET)
From: "Goesta Smekal" <goesta at smekal.at>
Subject: Re: What does 'add "classname"' really do? - solved!
To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
Message-ID: <54db62d7081526876ad2aeb613af66c6.squirrel at mail.smekal.at>
Content-Type: text/plain; charset=iso-8859-1
On Tue, March 17, 2009 21:30, Goesta Smekal wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Glenn Satchell schrieb:
>> class "mammals" {
>> match hardware;
>> }
>> subclass "mammals" 1:00:50:56:00:00:01;
> [...]
[...]
> So my Problem is only partially solved yet ;-) I now am able to assign
> hosts to pools and groups, at the cost of specifying the MAC twice.
>
> Almost there ;-)
Done! The clue lies within subclass options and avoiding the
"unknown-clients" keyword.
Just in case anybody would like to do such a thing again, I post my
working config here:
<dhcpd.conf>
authoritative;
allow booting;
allow bootp;
default-lease-time 60;
max-lease-time 120;
use-host-decl-names on;
option domain-name "bogus";
option domain-name-servers 192.168.80.2; option routers 192.168.80.1;
next-server 192.168.80.254;
filename "pxelinux.0";
class "birds" {
match hardware;
}
subclass "birds" 1:00:50:56:00:01:01 { option host-name "tux"; }
class "mammals" {
match hardware;
}
subclass "mammals" 1:00:50:56:00:02:01 { option host-name "gnu"; }
subclass "mammals" 1:00:0c:29:96:9a:bc { option host-name
"a-new-machine"; }
subnet 192.168.80.0 netmask 255.255.255.0 {
option broadcast-address 192.168.80.255;
pool {
allow unknown-clients;
deny members of "mammals";
deny members of "birds";
range 192.168.80.200 192.168.80.209;
}
pool {
allow members of "mammals";
filename "memtest.bin";
range 192.168.80.210 192.168.80.219;
}
pool {
allow members of "birds";
filename "pxelinux.0";
range 192.168.80.220 192.168.80.229;
}
}
</dhcpd.conf>
Thanks, Glenn, for the hint!
Goesta
------------------------------
Message: 3
Date: Wed, 18 Mar 2009 10:51:13 +0100 (CET)
From: sthaug at nethelp.no
Subject: Re: multi threading
To: dhcp-users at lists.isc.org, gopinathloganathan at motorola.com
Message-ID: <20090318.105113.74697468.sthaug at nethelp.no>
Content-Type: Text/Plain; charset=us-ascii
> In yesterdays Bind forum i saw a discussion on bind
> as a multi threaded application using the option
>
> ./configure --enable-threads
>
> do we have a similar usage for dhcp while installing .To make it
> multithread ?.
The limiting factor for ISC dhcpd is almost always disk IO. It is not
obvious how multithreading would help here.
Steinar Haug, Nethelp consulting, sthaug at nethelp.no
------------------------------
_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users
End of dhcp-users Digest, Vol 5, Issue 63
*****************************************
More information about the dhcp-users
mailing list