From owner-freebsd-hackers Thu Apr 16 14:33:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA12280 for freebsd-hackers-outgoing; Thu, 16 Apr 1998 14:33:33 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from misery.sdf.com (misery.sdf.com [204.244.213.32]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id VAA12082 for ; Thu, 16 Apr 1998 21:33:04 GMT (envelope-from tom@sdf.com) Received: from tom by misery.sdf.com with smtp (Exim 1.82 #3) id 0yPvs8-0002Ry-00; Thu, 16 Apr 1998 14:07:04 -0700 Date: Thu, 16 Apr 1998 14:06:59 -0700 (PDT) From: Tom To: ymc@eecs.umich.edu, squid-dev@nlanr.net cc: freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD parsing in Squid. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 17 Apr 1998, Daniel O'Callaghan wrote: > Date: Thu, 16 Apr 1998 16:58:08 -0400 (EDT) > From: Yee Man Chan > To: Squid Developers' E-mail Group > Subject: FreeBSD parsing > Resent-Date: Thu, 16 Apr 1998 13:58:37 -0700 (PDT) > Resent-From: squid-dev@nlanr.net > > Hi, > > I run squid 1.1.20 at FreeBSD 4.4. According to the response time return What is "FreeBSD 4.4"? > from client, it is TEN TIMES SLOWER than I run it at SunOS v5. When I > compare the result from gprof, I find that squid spent considerably amount > of time (22.9%) in parseIntegerValue, decode_addr, aclParseIpData, > safe_inet_addr, storeDirClean, urlParse, parseHttpRequest and sscanf at > FreeBSD while only 3.7% of time spent in the same trace of code. Can > anyone tell me why? > > Thanks. > Yee Man Chan Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message