Re: [squid-dev]Squid-3.0-PRE3 Compilation on Ia64

From: David Nicklay <dnicklay@dont-contact.us>
Date: Tue, 19 Aug 2003 14:36:23 -0400

Hi,

I wrote the original epoll patch for squid-3.0 a while back. I am glad
to hear that it is still functional (I haven't had much chance to test
it of late). When I had last tested it sometime towards the middle of
this year, there were no memory leaks present in its implementation (and
there shouldn't be since there is dynamic memory in the code). I tested
it at about 2 or 3 times the requests/sec level you did, though this was
on x86-32bit, not IA64. My guess is that there might be some problems
related to the epoll kernel module on IA64 platforms that might not be
helping things.

MUTHUKUMAR KANDASAMY wrote:
> Hello Developers,
>
> I am new to this list.I am involving in the Epoll development in
> Squid-3.0 on Ia64 Platform.I have compiled the squid-3.0-pre3 with
>
> configure options:
> ============
> '--prefix=/usr/local/squidbug' '--enable-epoll' '--disable-poll'
> '--disable-select' '--disable-kqueue' '--enable-storeio=null,ufs,aufs'
> '--enable-async-io=16' '--with-file-descriptors=16384' '--with-pthreads'
>
> for testing the epoll netio method on Squid in linux kernel-2.4.20.
>
> The changes in the squid.conf
> ===================
> cache_dir null /dev/null,http_access allow all, cache_mem 1200
> MB,half_closed_clients off, server_persistent_connection off other then
> normal options.
>
> The Squid-3.0-pre3 satisfies the requests upto 300 requests/sec in
> Polygraph testing.Beyond that limit,Squid-3.0 did not satisfied.The
> meomory consumption of Squid with epoll support exceeds 1.9GB.So the
> Polygraph entries are getting errors.
>
> I have traced the squid-3.0 memory consumption with top entries.
>
> Memory Usage:
> ==========
> 11:38am up 1:19, 3 users, load average: 1.00, 0.94, 0.63
> 43 processes: 41 sleeping, 2 running, 0 zombie, 0 stopped
> CPU0 states: 67.22% user, 31.9% system, 0.0% nice, 1.19%
> idle
> CPU1 states: 1.4% user, 9.16% system, 0.0% nice, 89.30%
> idle
> Mem: 2053824K av, 2028928K used, 24896K free, 0K
> shrd, 2096K buff
> Swap: 2040208K av, 20112K used, 2020096K
> free 23328K cached
>
> PID USER PRI NI SIZE RSS SHARE STAT %CPU
> %MEM TIME COMMAND
> 1405 squid 16 0 1903M 1.9G 3520 R
> 99.9 23.7 13:29 squid
>
> PolyGraph Entry at client side:
> ===================
> 016.30| i-top1 254073 100.20 28097 61.87 0 3497
> 016.38| i-top1 254073 0.00 -1 -1.00 0 3498
> 016.47| i-top1 254073 0.00 -1 -1.00 0 3499
>
> I think,Some of you involved in the compilation of squid-3.0 on IA64
> Platform.So I want to know whether,squid-3.0 with epoll netio consumes
> such memory for the requests and what is the reason that squid-3.0
> consuming such huge memory for 350 requests/sec.Is there any possiblity
> for memory leakage.Specifically in comm.cc
>
> void
> comm_old_write(int fd, const char *buf, int size, CWCB * handler, void
> *handler_data, FREE * free_func) function.
>
> Anyhelp regarding to this problem are appreciated.
>
> Thanks
> -Muthukumar
>
> _________________________________________________________________
> Polyphonic ringtones. Latest movie trailors.
> http://server1.msn.co.in/sp03/gprs/index.asp On your mobile!
>

-- 
David Nicklay
Location: CNN Center - SE0811A
Office: 404-827-2698	Cell: 404-545-6218
Received on Tue Aug 19 2003 - 12:36:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:29 MST