From owner-freebsd-hackers Thu Apr 16 14:16:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA05390 for freebsd-hackers-outgoing; Thu, 16 Apr 1998 14:16:14 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ns.hilink.com.au (ns.hilink.com.au [203.29.224.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA05250 for ; Thu, 16 Apr 1998 21:15:42 GMT (envelope-from danny@hilink.com.au) Received: from localhost (danny@localhost) by ns.hilink.com.au (8.8.5/8.8.5) with SMTP id HAA25140 for ; Fri, 17 Apr 1998 07:15:32 +1000 (EST) X-Authentication-Warning: ns.hilink.com.au: danny owned process doing -bs Date: Fri, 17 Apr 1998 07:15:32 +1000 (EST) From: "Daniel O'Callaghan" To: freebsd-hackers@FreeBSD.ORG Subject: FreeBSD parsing in Squid. 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 ---------- Forwarded message ---------- 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 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message