Dnia poniedzia�ek, 27 lutego 2006 10:28, Matus UHLAR - fantomas napisa�:
> > refresh_pattern -i (.*jpg$|.*gif$|.*png$) 0 50% 28800
> > refresh_pattern -i (.*html$|.*htm|.*shtml|.*php) 0 20% 1440
> >
> > acl mGG dstdomain .adserver.gadugadu.pl .adserver.gadu-gadu.pl
> > redirector_access deny !mGG
>
> I'd use
>
> redirector_access allow mGG
> redirector_access deny all
>
> but it shouldn't cause big diff.
without redirector i have that same processor usage.
> > squid compiled with options:
> > aragorn ~ # squid -v
> > Squid Cache: Version 2.5.STABLE12
> > configure options: --prefix=/usr --bindir=/usr/bin --exec-prefix=/usr
> > --sbindir=/usr/sbin --localstatedir=/var --mandir=/usr/share/man
> > --sysconfdir=/etc/squid --libexecdir=/usr/lib/squid
> > --enable-auth=basic,digest,ntlm --enable-removal-policies=lru,heap
> > --enable-linux-netfilter --enable-truncate --with-pthreads --enable-epoll
> > --enable-time-hack --disable-follow-x-forwarded-for
> > --host=x86_64-pc-linux-gnu --disable-snmp --enable-ssl
> > --enable-underscores --enable-storeio='diskd,coss,aufs,null'
> > --enable-async-io
>
> why truncate? did you find it effective?
configure script tells that truncate gives better performance.
but i tested without, and still that same usage.
> > with flags:
> > CFLAGS="-march=nocona -O3 -pipe -fomit-frame-pointer -ffast-math
> > -funroll-all-loops"
> > CXXFLAGS="${CFLAGS} -fno-enforce-eh-specs"
> > LDFLAGS="-Wl,-O1 -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort"
>
> I would not use that "heavy" optimalization...
I tested "-march=nocona -O2 -pipe" only, and that same result.
-- cut --
sample_start_time = 1141056028.712087 (Mon, 27 Feb 2006 16:00:28 GMT)
sample_end_time = 1141056328.723774 (Mon, 27 Feb 2006 16:05:28 GMT)
client_http.requests = 124.701809/sec
client_http.hits = 49.184751/sec
client_http.errors = 0.000000/sec
client_http.kbytes_in = 128.511660/sec
client_http.kbytes_out = 1141.532196/sec
client_http.all_median_svc_time = 0.036222 seconds
client_http.miss_median_svc_time = 0.092188 seconds
client_http.nm_median_svc_time = 0.003785 seconds
client_http.nh_median_svc_time = 0.150482 seconds
client_http.hit_median_svc_time = 0.004626 seconds
server.all.requests = 77.620310/sec
server.all.errors = 0.000000/sec
server.all.kbytes_in = 968.955586/sec
server.all.kbytes_out = 103.229312/sec
server.http.requests = 77.620310/sec
server.http.errors = 0.000000/sec
server.http.kbytes_in = 968.955586/sec
server.http.kbytes_out = 103.229312/sec
server.ftp.requests = 0.000000/sec
server.ftp.errors = 0.000000/sec
server.ftp.kbytes_in = 0.000000/sec
server.ftp.kbytes_out = 0.000000/sec
server.other.requests = 0.000000/sec
server.other.errors = 0.000000/sec
server.other.kbytes_in = 0.000000/sec
server.other.kbytes_out = 0.000000/sec
icp.pkts_sent = 0.000000/sec
icp.pkts_recv = 0.000000/sec
icp.queries_sent = 0.000000/sec
icp.replies_sent = 0.000000/sec
icp.queries_recv = 0.000000/sec
icp.replies_recv = 0.000000/sec
icp.replies_queued = 0.000000/sec
icp.query_timeouts = 0.000000/sec
icp.kbytes_sent = 0.000000/sec
icp.kbytes_recv = 0.000000/sec
icp.q_kbytes_sent = 0.000000/sec
icp.r_kbytes_sent = 0.000000/sec
icp.q_kbytes_recv = 0.000000/sec
icp.r_kbytes_recv = 0.000000/sec
icp.query_median_svc_time = 0.000000 seconds
icp.reply_median_svc_time = 0.000000 seconds
dns.median_svc_time = 0.003722 seconds
unlink.requests = 0.000000/sec
page_faults = 0.000000/sec
select_loops = 378.011941/sec
select_fds = 976.061976/sec
average_select_fd_period = 0.000944/fd
median_select_fds = 0.996094
swap.outs = 21.409166/sec
swap.ins = 53.114597/sec
swap.files_cleaned = 0.006666/sec
aborted_requests = 3.576527/sec
syscalls.selects = 420.976933/sec
syscalls.disk.opens = 54.204555/sec
syscalls.disk.closes = 108.129121/sec
syscalls.disk.reads = 64.560818/sec
syscalls.disk.writes = 3565.071117/sec
syscalls.disk.seeks = 0.000000/sec
syscalls.disk.unlinks = 11.406222/sec
syscalls.sock.accepts = 74.167111/sec
syscalls.sock.sockets = 52.031306/sec
syscalls.sock.connects = 52.031306/sec
syscalls.sock.binds = 52.031306/sec
syscalls.sock.closes = 92.786385/sec
syscalls.sock.reads = 469.155057/sec
syscalls.sock.writes = 520.233067/sec
syscalls.sock.recvfroms = 7.919691/sec
syscalls.sock.sendtos = 4.109840/sec
cpu_time = 277.429338 seconds
wall_time = 300.011687 seconds
cpu_usage = 92.472844%
-- cut --
Regards,
-- TomaszReceived on Mon Feb 27 2006 - 09:09:41 MST
This archive was generated by hypermail pre-2.1.9 : Wed Mar 01 2006 - 12:00:04 MST