From owner-freebsd-current Tue Oct 15 17:25:59 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B768037B401; Tue, 15 Oct 2002 17:25:56 -0700 (PDT) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A52D043E6E; Tue, 15 Oct 2002 17:25:55 -0700 (PDT) (envelope-from D.Rock@t-online.de) Received: from fwd08.sul.t-online.de by mailout01.sul.t-online.com with smtp id 181c0Y-0000eh-01; Wed, 16 Oct 2002 02:25:54 +0200 Received: from dialin.t-online.de (340029380333-0001@[217.226.117.11]) by fmrl08.sul.t-online.com with esmtp id 181c0P-0JhTFIC; Wed, 16 Oct 2002 02:25:45 +0200 Received: from t-online.de (doom [172.23.7.254]) by dialin.t-online.de (8.11.6+Sun/8.11.6/Rock) with ESMTP id g9G0C5v02033; Wed, 16 Oct 2002 02:12:05 +0200 (CEST) Message-ID: <3DACAED7.4020400@t-online.de> Date: Wed, 16 Oct 2002 02:12:07 +0200 From: Daniel Rock User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.1) Gecko/20020826 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: Kris Kennaway Cc: obrien@freebsd.org, Alex Zepeda , current@freebsd.org Subject: Re: Perl 5.8 broken in current References: <3DAB2B21.5050205@t-online.de> <20021014204407.GA13015@blarf.homeip.net> <20021015000045.GA46774@dragon.nuxi.com> <3DAC50F0.3060408@t-online.de> <20021015175104.GA77964@xor.obsecurity.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Sender: 340029380333-0001@t-dialin.net Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Kris Kennaway schrieb: >On Tue, Oct 15, 2002 at 07:31:28PM +0200, Daniel Rock wrote: > > > >>The errors during "make test" are only one issue. What bothers me even >>more ist the high runtime of some of the tests (up to several *hours*). >>Finally a "make test" completed on my machine (perl-5.8 compiled without >>optimizations, which isn't a big issue, see my previous mail showing run >>times of one test): >> >>All tests successful. >>u=13.8672 s=5.61719 cu=21700.3 cs=2264.12 scripts=666 tests=68469 >> 36915,89 real 21726,29 user 2278,34 sys >> >>The same tests on Solaris/x86 (processor ~40% faster) only take 12 minutes. >> >> > >It would help if you can do some form of profiling to work out what >exactly is taking longer. > >Kris > > Ok, I tried it but the results are very strange. I recompiled perl with profiling enabled and ran the test t/op/pat.t gprof "thinks" the runtime is only 8 seconds, while in reality it takes more than 2 minutes to complete the test. A small excerpt from gprof output FreeBSD: granularity: each sample hit covers 4 byte(s) for 0.01% of 8.15 seconds called/total parents index %time self descendents called+self name index called/total children [...] [2] 92.1 0.00 7.50 main [2] 0.00 4.88 1/1 perl_parse [3] 0.00 2.01 1/1 perl_destruct [6] 0.00 0.35 1/1 perl_run [22] 0.00 0.26 1/1 perl_construct [31] 0.00 0.00 1/1 __fpsetreg [1807] 0.00 0.00 1/1 perl_alloc [817] 0.00 0.00 1/1 perl_free [818] Solaris: granularity: each sample hit covers 4 byte(s) for 0.02% of 10.13 seconds called/total parents index %time self descendents called+self name index called/total children 0.00 5.79 1/1 _start [2] [1] 57.1 0.00 5.79 1 main [1] 0.00 3.80 1/1 perl_parse [5] 0.00 1.21 1/1 perl_destruct [8] 0.00 0.56 1/1 perl_construct [15] 0.00 0.21 1/1 perl_run [27] 0.00 0.00 1/1 perl_alloc [600] 0.00 0.00 1/1 perl_free [610] 0.00 0.00 1/1 _pthread_atfork [624] 0.00 0.00 1/1 _signal [2752] 0.00 0.00 1/1 pthread_mutex_destroy [943] Daniel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message