Anyone running DNS servers as guests? Seems too slow unless I''m missing something. I can always keep secondary backup DNS servers as guests but as primaries, seems slow? Mike _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
lists@grounded.net wrote:> Anyone running DNS servers as guests? Seems too slow unless I''m missing something. > I can always keep secondary backup DNS servers as guests but as primaries, seems slow? >What sort of slow? Five seconds before you get a reply? If it''s a few seconds before you get a reply then you have something else wrong, if it''s just that you can do 10,000 queries a second (!) then you probably don''t have enough memory or vcpus in the guest. jch _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hey Mike, El Jue 26 Febrero 2009, lists@grounded.net escribió:> Anyone running DNS servers as guests? Seems too slow unless I''m missing > something. I can always keep secondary backup DNS servers as guests but as > primaries, seems slow? > > MikeI have a couple of Fedora Core 4 guests (3 GB disk, 256 MB RAM, 512 MB swap) on Fedora Core 4 dom0 + Xen 3.0.4 running bind 9.3.1 with about 500 zones each. I''m not sure what you mean exactly with slow, but assuming you mean slow responses to DNS queries, I don''t have problems with them. Though, I don''t have concrete info about bind performance and all that stuff, since these aren''t our primary DNS servers but only serve zones of some specific domains. Cheers, -- Ricardo J. Barberis Senior SysAdmin - I+D Dattatec.com :: Soluciones de Web Hosting _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> What sort of slow? Five seconds before you get a reply? If it''s a few > seconds before you get a reply then you have something else wrong, if > it''s just that you can do 10,000 queries a second (!) then you probably > don''t have enough memory or vcpus in the guest.If I time it loosely, I''d say maybe 3 1/2 seconds before the page changes on firefox for example. It''s a Centos 5.2 guest running bind for internal DNS services. I gave it 256MB of memory to 512MB. It''s barely using memory when it''s working on a resolve and CPU usage is negligible as well. it''s not terribly slow, just curious if it should be about as quick as a stand alone or not. Like I''ve said in another thread, perhaps it''s as simple as keeping machines which must run as fast as possible as stand alone, dunno, just starting to get on my feet with the whole setup I''ve been building. Mike _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> I have a couple of Fedora Core 4 guests (3 GB disk, 256 MB RAM, 512 MB swap) > on Fedora Core 4 dom0 + Xen 3.0.4 running bind 9.3.1 with about 500 zones > each.Your guest setup is pretty much the same as the one I just built. I only have about 50 zones on this one but these are internal domains. The DNS servers act as outgoing for local clients.> I''m not sure what you mean exactly with slow, but assuming you mean slow > responses to DNS queries, I don''t have problems with them.I''m not sure that I should call it ''slow'' but it''s not as ''fast'' as my stand alone''s are, by a second or two perhaps.>Though, I don''t > have concrete info about bind performance and all that stuff, since these > aren''t our primary DNS servers but only serve zones of some specific > domains.I have a DNS measurement tool somewhere. The only reason I''m asking is because I want to be careful that I don''t virtualize too much. If everything is even a tiny bit slower, then the overall will show up as sluggish services. Mike _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 2009-02-26 lists@grounded.net wrote:> Anyone running DNS servers as guests? Seems too slow unless I''mmissing> something. I can always keep secondary backup DNS servers as guestsbut> as primaries, seems slow?Works for me but the load is very low. James This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement, you may review at http://www.amdocs.com/email_disclaimer.asp _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
lists@grounded.net wrote:>Anyone running DNS servers as guests? Seems too slow unless I''m >missing something. >I can always keep secondary backup DNS servers as guests but as >primaries, seems slow?No problem here. At work I host about 600 zones on one primary server, single 2.4GHz vcpu (not dedicated), 256M RAM, around 32k queries/hour. Just done a few tests and got response times between 9 and 180 ms. On the same physical server, I also run a resolver in a separate DomU. Again a non-dedicated single 2.4G vcpu, but 521M RAM - currently doing about 16k queries/hr but it does peak a lot higher. Again, no problem with performance. -- Simon Hobson Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed author Gladys Hobson. Novels - poetry - short stories - ideal as Christmas stocking fillers. Some available as e-books. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
(Sorry Mike, my mail was intended for the list and more specifically the original poster, but you got it by accident). So here it is again on the list. I don''t have this setup, but if I were you, I would test via another tool as well, just to see the slowness is not in part due to Firefox as well. Try the dig command for example (if you have a linux client). You could even add a time command in front of it to get a more precise idea of how long the command took, like ''time dig <yourdomain>'' With dig you can also do more detailed tests, to verify if it is really your DNS server doing the resolution. Hth, Geert On Thursday 26 February 2009, lists@grounded.net wrote:> > I have a couple of Fedora Core 4 guests (3 GB disk, 256 MB RAM, 512 MB > > swap) on Fedora Core 4 dom0 + Xen 3.0.4 running bind 9.3.1 with about 500 > > zones each. > > Your guest setup is pretty much the same as the one I just built. I only > have about 50 zones on this one but these are internal domains. The DNS > servers act as outgoing for local clients. > > > I''m not sure what you mean exactly with slow, but assuming you mean slow > > responses to DNS queries, I don''t have problems with them. > > I''m not sure that I should call it ''slow'' but it''s not as ''fast'' as my > stand alone''s are, by a second or two perhaps. > > >Though, I don''t > > have concrete info about bind performance and all that stuff, since these > > aren''t our primary DNS servers but only serve zones of some specific > > domains. > > I have a DNS measurement tool somewhere. The only reason I''m asking is > because I want to be careful that I don''t virtualize too much. If > everything is even a tiny bit slower, then the overall will show up as > sluggish services. > > Mike > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users-- Kobalt W.I.T. Web & Information Technology Brusselsesteenweg 152 1850 Grimbergen Tel : +32 479 339 655 Email: info@kobaltwit.be _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I am running both ldap and dns on guests. How are you measuring performance? - Brian On Feb 26, 2009, at 7:55 AM, lists@grounded.net wrote:> Anyone running DNS servers as guests? Seems too slow unless I''m > missing something. > I can always keep secondary backup DNS servers as guests but as > primaries, seems slow? > > Mike > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
"lists@grounded.net" <lists@grounded.net> writes:> Anyone running DNS servers as guests? Seems too slow unless I''m missing something. > I can always keep secondary backup DNS servers as guests but as primaries, seems slow?I''m running a secondary for a dns based whitelist... I''m getting maybe 1.5Mbps of traffic to that DomU, all authoritative, maybe around 3 million queries a day. Not huge, but it is a lot more than most small vanity and/or corp domains, and it is working just fine. It''s a guest with 128M ram running bind9. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users