DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old May 29th, 2002, 07:58 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
Posts: 9,385 Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 1 Day 21 h 29 m 56 sec
Reputation Power: 4080
Benchmarking tinydns

Hello everyone, I've just set up tinydns on a test box and I was wondering if there is a free testing tool available to query the name server repeatedly. NOTE: I want to test tinydns' performance alone --- the machine does NOT have dnscache running.

Basically, what I want to do is hit the name server with a bunch of queries simultaneously for a period of time and then monitor the load on the box. Is there any testing tool to do this?

The only performance statistics I could find for tinydns were here: http://cr.yp.to/djbdns/faq/tinydns.html#speed
Unfortunately, there aren't too many details here (like machine configuration and average load). Does anyone have any other information.

Thanks in advance.

Reply With Quote
  #2  
Old May 29th, 2002, 10:06 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> Is there any testing tool to do this?

Maybe you should check out http://matt.simerson.net/computing/dns/

>> Unfortunately, there aren't too many details here

And here -> http://cr.yp.to/djbdns/knowles.html

Sometime you don't really need to perform any testing. Based on the design flaws and bad implementation of BIND you can assure (with common sense) that BIND must be much slower than djbdns.

Last edited by freebsd : May 29th, 2002 at 10:10 PM.

Reply With Quote
  #3  
Old May 31st, 2002, 04:03 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
Posts: 9,385 Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 1 Day 21 h 29 m 56 sec
Reputation Power: 4080
Thanks for the links. I just needed some figures so that I could show the other guys that the performance was way more than what we need. I was pretty much sold on djbdns just on the fact that the domains reload a heck of a lot faster than they do on bind.

For the record, the stats were as follows:
Current Production Boxes
CPU: One Single and One Dual 400 Mhz Pentium II
Memory: 256 MB
Services running: rsync, sshd, named
OS: Linux 2.4.13 (custom kernel builds on both)
Hard Drives: IBM DDRS-39130D SCSI Drives (Mylex DAC960 controller and hardware RAID enabled)
Nameserver: Bind 8.x.x (latest patches)

My test box
CPU: Single CPU Pentium III Celeron 550 Mhz
Memory: 128 MB
Services running: Apache, MySQL, XFree86 4.0, Blackbox, sshd, vncserver, 2 copies of Emacs, Gimp, tinydns.
OS: FreeBSD 4.5-RELEASE-p4 (custom kernel build)
Hard Drive: Maxtor 52049U4 IDE drive
Nameserver: djbdns 1.05

Not quite the same hardware wise, but I figure that the production boxes had more RAM and fewer services running, so the odds should be evened out a little. Besides, my test box is just that ... a box for me to play around with .

# of domains used: 131785 (basically our live configuration)
For both cases, perl programs were used to build the configuration file(s), which were then moved to the appropriate directories.
Time taken to reload named (running killall -HUP named): 4.25 hours (approx)
Time taken to reload djbdns (running make): 20 seconds (approx). Size of data.cdb = 139 MB

At this point, I was pretty much sold on djbdns

Last edited by Scorpions4ever : May 31st, 2002 at 04:19 PM.

Reply With Quote
  #4  
Old May 31st, 2002, 08:47 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Since your data.cdb is quite large, you may want to check out a tool to manage tinydns' data.cdb file -> http://msgs.securepoint.com/cgi-bin...ns-0205/79.html

And for maximum performance and reliability you should use dnscache for the caching part.

Reply With Quote
  #5  
Old June 3rd, 2002, 01:56 PM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 9th Plane (9000 - 9499 posts)
 
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
Posts: 9,385 Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level)Scorpions4ever User rank is General 46th Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 1 Day 21 h 29 m 56 sec
Reputation Power: 4080
Thanks for that link. Currently we have a whole system in place where the support team manages domains for different customers and such, so I currently build the information based on a table off the database, but the other information is certainly useful to know

>> And for maximum performance and reliability you should use dnscache for the caching part.
If I understand correctly, dnscache is a resolver. At this point, I only want to run authoritative nameservers on those boxes, so I don't think I'll need dnscache for that (isn't this correct?). I'm thinking that for tuning the performance, I'm going to turn off logging (except for stats) and maybe symbolic link data.cdb from a RAM disk, if necessary. Is there anything else that comes to mind right away?

At this point, we're still transferring some servers from our old co-lo facility to the new one, so the new nameservers won't be up yet. However, I think I've managed to convince the rest of the guys that tinydns is the way to go. Around the end of this month, I'll have my mitts on a few boxes to set things up on. Will post actual performance stats and figures then, if anyone is interested.

Reply With Quote
  #6  
Old June 4th, 2002, 01:30 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> I'm going to turn off logging (except for stats)

The stats line is for dnscache, not tinydns.

>> maybe symbolic link data.cdb from a RAM disk

That would help. As you probably know, that data.cdb is read in real-time, not being stored in memory.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > Benchmarking tinydns

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap