From lewart at uiuc.edu Wed Sep 3 23:19:42 2003 From: lewart at uiuc.edu (Daniel S. Lewart) Date: Mon Aug 2 21:27:35 2004 Subject: [CMI.PM] Meeting Tue Sep 9 19:00-21:00 @ Manzella's Message-ID: <20030903231942.A25503@staff1.cso.uiuc.edu> Champaign-Urbana Perl Mongers, Our next meeting shall be: * Tue Sep 9 19:00-21:00 * Manzella's Italian Patio * 115 S First St / Champaign The acoustics at Papa Del's were so horrible that we decided at our last meeting to try Manzella's. What I want is a smoke-free restaruant with good food and non-awful acoustics. Last week I finished the "Topics from our Aug 12, 2003 meeting" links on the web page. Cheers, Dan http://cmi.pm.org/ From wraquel at uiuc.edu Thu Sep 4 21:21:13 2003 From: wraquel at uiuc.edu (Warren Raquel) Date: Mon Aug 2 21:27:35 2004 Subject: [CMI.PM] Net::PH module Message-ID: <3F57F319.7060101@uiuc.edu> Anyone had luck with this? I've gotten it installed and working but it's really slow on the lookup whereas nph at the commandline is pretty much instantaneous. Is there anything I can do to speed up the query? -- There are 10 types of people in the world ==========---------------==========+==========---------------========== Warren J. Raquel | University of Illinois Network and Systems Service Analyst| CITES Systems and Technology Network Administrator Support | Services Operations Center wraquel at uiuc dot edu | http://www.cites.uiuc.edu Linux User #313862 | (217) 244-1000 ==========---------------==========+==========---------------========== The type that know binary and the type that don't Public Key: http://www.staff.uiuc.edu/~wraquel/key.htm From bhalla at uiuc.edu Thu Sep 4 23:01:54 2003 From: bhalla at uiuc.edu (Arun Bhalla) Date: Mon Aug 2 21:27:35 2004 Subject: [CMI.PM] Net::PH module In-Reply-To: <3F57F319.7060101@uiuc.edu> Message-ID: <200309050401.h8541sER029511@a-night-at-the-opera.cu.groogroo.com> Hi Warren, I've never really installed or used Net::PH before, but this was a good excuse to do so. I installed the latest version on CPAN and created a sample script that's pretty similar to the one in POD. While there may be some caching effects involved, I found that my Perl script took 0.396s for a lookup compared to ph with 0.251s. Surely about 0.2s of that is perl overhead. So Net::PH seems pretty reasonably efficient. If you're doing something more complex, I'd be happy to take a look at it. Arun Warren Raquel writes: > Anyone had luck with this? I've gotten it installed and working but it's > really slow on the lookup whereas nph at the commandline is pretty much > instantaneous. Is there anything I can do to speed up the query? > > -- > There are 10 types of people in the world > ==========---------------==========+==========---------------========== > Warren J. Raquel | University of Illinois > Network and Systems Service Analyst| CITES Systems and Technology > Network Administrator Support | Services Operations Center > wraquel at uiuc dot edu | http://www.cites.uiuc.edu > Linux User #313862 | (217) 244-1000 > ==========---------------==========+==========---------------========== > The type that know binary and the type that don't > > Public Key: http://www.staff.uiuc.edu/~wraquel/key.htm > > _______________________________________________ > Champaign-Urbana mailing list > Champaign-Urbana@mail.pm.org > http://mail.pm.org/mailman/listinfo/champaign-urbana > -- Arun Bhalla From wraquel at uiuc.edu Thu Sep 4 23:09:21 2003 From: wraquel at uiuc.edu (Warren Raquel) Date: Mon Aug 2 21:27:35 2004 Subject: [CMI.PM] Net::PH module In-Reply-To: <200309050401.h8541sER029511@a-night-at-the-opera.cu.groogroo.com> References: <200309050401.h8541sER029511@a-night-at-the-opera.cu.groogroo.com> Message-ID: <3F580C71.8090109@uiuc.edu> My problem was that I didn't have port 113 open on my computer. Apparently PH requires identd. I had a 10 second delay while the ph server was waiting for a response. Works like expected now. Arun Bhalla wrote: > Hi Warren, > > I've never really installed or used Net::PH before, but this was a good > excuse to do so. I installed the latest version on CPAN and created a > sample script that's pretty similar to the one in POD. While there may be > some caching effects involved, I found that my Perl script took 0.396s > for a lookup compared to ph with 0.251s. Surely about 0.2s of that is > perl overhead. So Net::PH seems pretty reasonably efficient. > > If you're doing something more complex, I'd be happy to take a look at it. > > Arun > > Warren Raquel writes: > >>Anyone had luck with this? I've gotten it installed and working but it's >>really slow on the lookup whereas nph at the commandline is pretty much >>instantaneous. Is there anything I can do to speed up the query? >> -- There are 10 types of people in the world ==========---------------==========+==========---------------========== Warren J. Raquel | University of Illinois Network and Systems Service Analyst| CITES Systems and Technology Network Administrator Support | Services Operations Center wraquel at uiuc dot edu | http://www.cites.uiuc.edu Linux User #313862 | (217) 244-1000 ==========---------------==========+==========---------------========== The type that know binary and the type that don't Public Key: http://www.staff.uiuc.edu/~wraquel/key.htm From lewart at uiuc.edu Fri Sep 5 00:21:21 2003 From: lewart at uiuc.edu (Daniel S. Lewart) Date: Mon Aug 2 21:27:35 2004 Subject: [CMI.PM] Net::PH module In-Reply-To: <3F580C71.8090109@uiuc.edu>; from wraquel@uiuc.edu on Thu, Sep 04, 2003 at 11:09:21PM -0500 References: <200309050401.h8541sER029511@a-night-at-the-opera.cu.groogroo.com> <3F580C71.8090109@uiuc.edu> Message-ID: <20030905002121.A26993@staff1.cso.uiuc.edu> Warren, > My problem was that I didn't have port 113 open on my computer. > Apparently PH requires identd. I had a 10 second delay while the ph > server was waiting for a response. Works like expected now. Excellent! Were you running `nph' from a different machine? If you are using iptables, just for kicks, could you see if either of these speeds things up while keeping port 113 closed: iptables -I INPUT -p tcp --dport 113 -j DROP iptables -I INPUT -p tcp --dport 113 -j REJECT Cheers, Dan From lewart at uiuc.edu Tue Sep 9 15:20:41 2003 From: lewart at uiuc.edu (Daniel S. Lewart) Date: Mon Aug 2 21:27:35 2004 Subject: [CMI.PM] Meeting Tue Sep 9 19:00-21:00 @ Manzella's In-Reply-To: <20030903231942.A25503@staff1.cso.uiuc.edu>; from lewart@uiuc.edu on Wed, Sep 03, 2003 at 11:19:42PM -0500 References: <20030903231942.A25503@staff1.cso.uiuc.edu> Message-ID: <20030909152041.A27620@staff1.cso.uiuc.edu> Champaign-Urbana Perl Mongers, On Wed, Sep 03, 2003 at 11:19:42PM -0500, Daniel S. Lewart wrote: > Our next meeting shall be: > * Tue Sep 9 19:00-21:00 > * Manzella's Italian Patio > * 115 S First St / Champaign Bring your Perl questions, scripts, and stories. I'll be wearing my handsome Perl t-shirt in the non-smoking section. See some of you tonight, Dan http://cmi.pm.org/