Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 1998 08:24:42 +0400 (MSD)
From:      Dmitry Khrustalev <dima@bog.msu.su>
To:        "Daniel O'Callaghan" <danny@hilink.com.au>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: FreeBSD parsing in Squid.
Message-ID:  <Pine.GSO.3.95.980417081939.6137A-100000@sunny.bog.msu.su>
In-Reply-To: <Pine.BSF.3.95.980417071515.19363X-100000@ns.hilink.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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 sscanf %d, %u uses quads. This can be the reason. ( Just a guess,
i have not looked at the actual squid code ).

	-Dima

> 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
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95.980417081939.6137A-100000>