Re: When can we make Squid using multi-CPU?
I've ever do this to run multi-squid on one machine which can use multi-CPU, but can't share the same store-fs, and must configure multi-IP on the same machine. Can we rewrite squid as follow: thread0(client side, no block, can accept many connections) thread1 ...threadn(n=CPU number) | | v v access check access check | | v v http header parse http header parse | | v v acl filter acl filter | | v v check local cache check local cache | | v v --- | neighbor| ||-ufs webserver--|--- forward - |store fs |-aufs | | |-coss --- |(thread0) |(thread1) .. v v ... 2009/1/4 : > > I've found the best way is to run multiple copies of squid on a single > machine, and use LVS to load balance between the squid processes. > > -- Joe > > Quoting Adrian Chadd : > >> when someone decides to either help code it up, or donate towards the >> effort. >> >> >> >> adrian >> >> 2009/1/3 ShuXin Zheng : >>> >>> Hi, Squid current can only use one CPU, but multi-CPU hardware >>> machines are so popular. These are so greatly wastely. How can we use >>> the multi-CPU? Can we separate some parallel sections which are CPU >>> wasting to run on different CPU? OMP(http://openmp.org/wp/) gives us >>> some thinking about using multi-CPU, so can we use these technology in >>> Squid? >>> >>> Thanks >>> >>> -- >>> zsxxsz >>> >>> >> > > > > -- zsxxsz
Re: When can we make Squid using multi-CPU?
I've found the best way is to run multiple copies of squid on a single machine, and use LVS to load balance between the squid processes. -- Joe Quoting Adrian Chadd : when someone decides to either help code it up, or donate towards the effort. adrian 2009/1/3 ShuXin Zheng : Hi, Squid current can only use one CPU, but multi-CPU hardware machines are so popular. These are so greatly wastely. How can we use the multi-CPU? Can we separate some parallel sections which are CPU wasting to run on different CPU? OMP(http://openmp.org/wp/) gives us some thinking about using multi-CPU, so can we use these technology in Squid? Thanks -- zsxxsz
Re: Introductions
> Welcome! > > I've been thinking about this a bit recently. A few random ideas which > may (or may not) be interesting to discuss: > > - Allowing other sample periods (beyond 5min and 60min) in cachemgr > stats; e.g., 1m. Perhaps even adjustable or even dynamic periods. > > - More stats for service times; e.g., from request initiation to > headers complete, to body complete, to response initiation, to > response headers complete, to response body complete. There was a > thread about this on dev a while back, if you're interested I can dig > it up. > > - Allowing a dump of info for a specific URL in the cachemgr. > > Cheers, First, Welcome Regardt. This is indeed a needed area. I look forward to seeing your work. On the reporting topic, I've just this evening encountered a need to get KB-per-sec throughput stats per active client IPs/requests out of squid. Amos > > > > On 30/12/2008, at 2:16 PM, Regardt van de Vyver wrote: > >> Hi Dev Team. >> >> My name is Regardt van de Vyver, a technology enthusiast who tinkers >> with squid on a regular basis. I've been involved in development for >> around 12 years and am an active participant on numerous open source >> projects. >> >> Right now I'm focussed on improving and extending performance >> metrics for squid, specifically related to SNMP and the cachemanager. >> >> I'd like to take a more active role in the coming year from a dev >> perspective and feel the 1st step here is to at least get my butt >> onto the dev mailing list ;-) >> >> I look forward to getting involved. >> >> Regards, >> >> Regardt van de Vyver >> > > -- > Mark Nottingham m...@yahoo-inc.com > > >