2009/1/8 Alex Rousskov :
> SMP support has been earmarked for Squid v3.2 but there is currently not
> enough resources to make it happen (AFAICT) so it may have to wait until
> v3.3 or later.
>
> FWIW, I think that multi-core scalability in many environments would not
> require another Squid rewri
On Sun, 2009-01-04 at 10:03 +0800, ShuXin Zheng wrote:
> 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? OM
I've been looking into what would be needed to thread squid as part of
my cacheboy squid-2 fork.
Basically, I've been working on breaking out a bunch of the core code
into libraries, which I can then check and verify are thread-safe. I
can then use these bits in threaded code.
My first goal was p
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)
|
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
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 se
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 mul