dhcp-users Digest, Vol 4, Issue 37

LOGANATHAN GOPINATH-XNT436 gopinathloganathan at motorola.com
Tue Feb 24 07:50:25 UTC 2009


Hi 

         Can anyone share what is the performance numbers achieved with
the ISC DHCP software like 

No of leases per second ?
No of renews per second ?

Was there any bench mark run for ISC DHCP

Gopinath  

-----Original Message-----
From: dhcp-users-bounces at lists.isc.org
[mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of
dhcp-users-request at lists.isc.org
Sent: Tuesday, February 24, 2009 1:09 AM
To: dhcp-users at lists.isc.org
Subject: dhcp-users Digest, Vol 4, Issue 37

Send dhcp-users mailing list submissions to
	dhcp-users at lists.isc.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.isc.org/mailman/listinfo/dhcp-users
or, via email, send a message with subject or body 'help' to
	dhcp-users-request at lists.isc.org

You can reach the person managing the list at
	dhcp-users-owner at lists.isc.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of dhcp-users digest..."


Today's Topics:

   1. Re: Logging only DHCPACK (Daniel Manser)
   2. Source Tar Ball Installation   (T MANIKANDAN-PKXR74)
   3. isc-dhcp4 (ipv6) on freebsd 7.0 (Miroslav Chlastak)
   4. RE: Source Tar Ball Installation   (Brad Dameron)
   5. Re: isc-dhcp4 (ipv6) on freebsd 7.0 (David W. Hankins)


----------------------------------------------------------------------

Message: 1
Date: Fri, 20 Feb 2009 14:27:43 +0100
From: Daniel Manser <doenle85 at gmail.com>
Subject: Re: Logging only DHCPACK
To: Glenn Satchell <Glenn.Satchell at uniq.com.au>, 	Users of ISC
DHCP
	<dhcp-users at lists.isc.org>
Message-ID:
	<fc26441b0902200527ra789b69m95bd92d96dc7d770 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

> A bit of experimentation may be required to test for the exact phase, 
> but something like:
>
> if option dhcp-message-type = 5 {
>    log ( info, concat ( "Lease: ",
>        binary-to-ascii (10, 8, ".", leased-address))); }

well yeah, but for some reason, you won't get an entry in your log, just
for DHCPDISCOVER, DHCPREQUEST or (I believe) any DHCP packet that came
from the client TO the server, but not from the server to the client. I
needed this too, but then resigned. I'm sorry I haven't a solution for
this.


------------------------------

Message: 2
Date: Fri, 20 Feb 2009 23:17:50 +0800
From: "T MANIKANDAN-PKXR74" <manikandan.t at motorola.com>
Subject: Source Tar Ball Installation
To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
Message-ID:
	<AE007C20C0A3D44D8EE9DD46764559AD05FAC8D7 at ZMY16EXM67.ds.mot.com>
Content-Type: text/plain; charset="us-ascii"

Hi,
 
  Based on the comments received from Brad earlier on tuning DHCP for
max performance, I decided to upgrade My DHCP server to 3.1.2 from 3.0.5
and also include the HASH adjustment for getting max performance.
 
   My initial version 3.0.5 is from Linux OS didn't have any dhcpd.h
file, I downloaded the source tar ball from
http://ftp.isc.org/isc/dhcp/dhcp-3.1.2.tar.gz
<http://ftp.isc.org/isc/dhcp/dhcp-3.1.2.tar.gz>  to /tmp/ directory and
ran the following commands to build the new release
 
tar -zxvf dhcp-3.1.2.tar.gz
 
1. ./configure
2. make
3.make install
 
and also I made the following changes in syslog.conf 
local6.*    -/var/log/dhcpd.log
and changed the LEASE_HASH_ from 100003 to 250007, the file I edited is
in the location  /tmp/dhcp-3.1.2/includes/

initially the performance was around 40 Five way hand shakes per second
from 3.0.5 and after installing 3.1.2 it increased to 61 five way
handshakes per second ,  and some how I feel the changes made in hash
adjustment is not effective, how do I verify this change. or I need to
do some additional steps in order to make the hash adjustment effective
 
did I make any mistake in installing 3.1.2 should I edit any other file
prior to configure or make or make install.
how the changes in hash will be effective.
 
also in ver 3.0.5 from Linux OS I didn't find /includes/dhcpd.h at all
is it normal ??
 
Request to guide me in this regard.
 
Regards
Mani
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20090220/29b17cc
1/attachment-0001.html>

------------------------------

Message: 3
Date: Mon, 23 Feb 2009 17:32:22 +0100
From: Miroslav Chlastak <mira at chlastak.cz>
Subject: isc-dhcp4 (ipv6) on freebsd 7.0
To: dhcp-users at lists.isc.org
Message-ID: <49A2CF96.9040202 at chlastak.cz>
Content-Type: text/plain; charset=ISO-8859-2; format=flowed

Hi,

I'am testing isc-dhcp4 (ipv6) on FreeBSD 7.0. I have one machine, where
is isc-dhcp4 server running and one machine as client.
Dhcp server is running without any errors.

But, if I run command "./dhclient -6 -d de0" on second machine (client),
I see like this:

./dhclient -6 -d de0
Internet Systems Consortium DHCP Client 4.1.0 Copyright 2004-2008
Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Bound to *:546
Listening on Socket/de0
Sending on   Socket/de0
PRC: Confirming active lease (INIT-REBOOT).
XMT: Forming Confirm, 0 ms elapsed.
XMT:  X-- IA_NA ff:05:5e:f8
XMT:  | X-- Confirm Address 2a01:5e0:0:1::300
XMT:  V IA_NA appended.
XMT: Confirm on de0, interval 1050ms.
XMT: Forming Confirm, 1070 ms elapsed.
XMT:  X-- IA_NA ff:05:5e:f8
XMT:  | X-- Confirm Address 2a01:5e0:0:1::300
XMT:  V IA_NA appended.
XMT: Confirm on de0, interval 2020ms.
XMT: Forming Confirm, 3140 ms elapsed.
XMT:  X-- IA_NA ff:05:5e:f8
XMT:  | X-- Confirm Address 2a01:5e0:0:1::300
XMT:  V IA_NA appended.
XMT: Confirm on de0, interval 4170ms.
XMT: Forming Confirm, 7390 ms elapsed.
XMT:  X-- IA_NA ff:05:5e:f8
XMT:  | X-- Confirm Address 2a01:5e0:0:1::300
XMT:  V IA_NA appended.
XMT: Confirm on de0, interval 6860ms.
Max retransmission duration exceeded.
PRC: Bound to lease 00:01:00:01:11:35:81:e6:00:03:ff:06:5e:f8.
PRC: Renewal event scheduled in 544 seconds, to run for 1080 seconds.
PRC: Depreference scheduled in 2344 seconds.
PRC: Expiration scheduled in 2344 seconds.

But on interface de0 is not ipv6 address :(

de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
       ether 00:03:ff:05:5e:f8
       inet6 fe80::203:ffff:fe05:5ef8%de0 prefixlen 64 scopeid 0x1
       inet 192.168.100.140 netmask 0xffffff80 broadcast 192.168.100.255
       media: Ethernet autoselect (100baseTX)
       status: active

On dhcp server ia see this (with debug flag):
./dhcpd -f -d -6 -cf /tmp/dhcpd.conf -lf /tmp/dhcpd6.leases Internet
Systems Consortium DHCP Server 4.1.0 Copyright 2004-2008 Internet
Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/ Wrote 0 leases to
leases file.
Bound to *:547
Listening on Socket/5/de0/2a01:5e0:0:1::/64
Sending on   Socket/5/de0/2a01:5e0:0:1::/64
Confirm message from fe80::203:ffff:fe05:5ef8 port 546, transaction ID
0xD6485C00 Sending Reply to fe80::203:ffff:fe05:5ef8 port 546 Confirm
message from fe80::203:ffff:fe05:5ef8 port 546, transaction ID
0xD6485C00 Sending Reply to fe80::203:ffff:fe05:5ef8 port 546 Confirm
message from fe80::203:ffff:fe05:5ef8 port 546, transaction ID
0xD6485C00 Sending Reply to fe80::203:ffff:fe05:5ef8 port 546 Confirm
message from fe80::203:ffff:fe05:5ef8 port 546, transaction ID
0xD6485C00 Sending Reply to fe80::203:ffff:fe05:5ef8 port 546


Any hint?

Thanks,
--
Mira


------------------------------

Message: 4
Date: Mon, 23 Feb 2009 09:25:03 -0800
From: "Brad Dameron" <Brad.Dameron at clearwire.com>
Subject: RE: Source Tar Ball Installation  
To: "Users of ISC DHCP" <dhcp-users at lists.isc.org>
Message-ID:
	
<6724EAC831AA6A4FBB9C93DFAD3A3BDC01A097A4 at corexchange3.corp.clearwire.co
m>
	
Content-Type: text/plain; charset="us-ascii"

How many leases do you have in your dhcpd.conf? This setting seemed to
only really be noticable with 10k or more leases. You should be fine
with 3.1.2. 
 
Brad Dameron
Senior Systems Engineer
Clearw're

________________________________

From: dhcp-users-bounces at lists.isc.org
[mailto:dhcp-users-bounces at lists.isc.org] On Behalf Of T
MANIKANDAN-PKXR74
Sent: Friday, February 20, 2009 7:18 AM
To: Users of ISC DHCP
Subject: Source Tar Ball Installation 


Hi,
 
  Based on the comments received from Brad earlier on tuning DHCP for
max performance, I decided to upgrade My DHCP server to 3.1.2 from 3.0.5
and also include the HASH adjustment for getting max performance.
 
   My initial version 3.0.5 is from Linux OS didn't have any dhcpd.h
file, 
I downloaded the source tar ball from
http://ftp.isc.org/isc/dhcp/dhcp-3.1.2.tar.gz
<http://ftp.isc.org/isc/dhcp/dhcp-3.1.2.tar.gz>  to /tmp/ directory and
ran the following commands to build the new release
 
tar -zxvf dhcp-3.1.2.tar.gz
 
1. ./configure
2. make
3.make install
 
and also I made the following changes in syslog.conf 
local6.*    -/var/log/dhcpd.log
and changed the LEASE_HASH_ from 100003 to 250007, the file I edited is
in the location  /tmp/dhcp-3.1.2/includes/

initially the performance was around 40 Five way hand shakes per second
from 3.0.5 and after installing 3.1.2 it increased to 61 five way
handshakes per second ,  and some how I feel the changes made in hash
adjustment is not effective, how do I verify this change. or I need to
do some additional steps in order to make the hash adjustment effective
 
did I make any mistake in installing 3.1.2 
should I edit any other file prior to configure or make or make install.
how the changes in hash will be effective.
 
also in ver 3.0.5 from Linux OS I didn't find /includes/dhcpd.h at all
is it normal ??
 
Request to guide me in this regard.
 
Regards
Mani
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20090223/338e02d
3/attachment-0001.html>

------------------------------

Message: 5
Date: Mon, 23 Feb 2009 11:38:38 -0800
From: "David W. Hankins" <David_Hankins at isc.org>
Subject: Re: isc-dhcp4 (ipv6) on freebsd 7.0
To: Users of ISC DHCP <dhcp-users at lists.isc.org>
Message-ID: <20090223193838.GA4516 at isc.org>
Content-Type: text/plain; charset="us-ascii"

On Mon, Feb 23, 2009 at 05:32:22PM +0100, Miroslav Chlastak wrote:
> But on interface de0 is not ipv6 address :(

One of the hard parts about our new auto* build environment is that
it wasn't clear how to pick a dhclient-script at ./configure time.

So 'make install' wouldn't install a dhclient-script.

I'm not sure if we ever did anything about that, I think we diddn't,
so I suspect you are using a dhclient-script that doesn't know
anything about the IPv6 events.

Have a look in client/scripts/ for our defaults for various platforms.

Most platforms write their own dhclient-script to better integrate
with the host OS's normal configuration methods.  Be careful not to
create a conflict when installing your new one.

-- 
David W. Hankins	"If you don't do it right the first time,
Software Engineer		     you'll just have to do it again."
Internet Systems Consortium, Inc.		-- Jack T. Hankins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL:
<https://lists.isc.org/pipermail/dhcp-users/attachments/20090223/c66b197
4/attachment.bin>

------------------------------

_______________________________________________
dhcp-users mailing list
dhcp-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/dhcp-users

End of dhcp-users Digest, Vol 4, Issue 37
*****************************************



More information about the dhcp-users mailing list