Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Arno Garrels
Fastream Technologies wrote: I suspect it could be a critical section issue since we use multi-threads and multi-clients/thread. Please be more specific, what critical section are you talking about? The critical sections in OverbyteIcsWndControl.pas are required. I wonder if there is limit

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Fastream Technologies
Hello Arno, On Thu, Nov 11, 2010 at 11:33 AM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: I suspect it could be a critical section issue since we use multi-threads and multi-clients/thread. Please be more specific, what critical section are you talking about? The

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Arno Garrels
Fastream Technologies wrote: So it's getting better but it uses less than 20% CPU overall (only 1 of 4 cores is utilized) and our ICS-based process uses only 10% in task manager! What may be preventing it to use 100%? Looks like your instances are running all in the same thread context,

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Fastream Technologies
On Thu, Nov 11, 2010 at 12:16 PM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: So it's getting better but it uses less than 20% CPU overall (only 1 of 4 cores is utilized) and our ICS-based process uses only 10% in task manager! What may be preventing it to use

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Arno Garrels
Fastream Technologies wrote: On Thu, Nov 11, 2010 at 12:16 PM, Arno Garrels arno.garr...@gmx.de wrote: Fastream Technologies wrote: So it's getting better but it uses less than 20% CPU overall (only 1 of 4 cores is utilized) and our ICS-based process uses only 10% in task manager! What

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread A Drent
of multiple THttpCli instances Fastream Technologies wrote: So it's getting better but it uses less than 20% CPU overall (only 1 of 4 cores is utilized) and our ICS-based process uses only 10% in task manager! What may be preventing it to use 100%? Looks like your instances are running all

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Francois PIETTE
With reconfiguring (turning off HTML translation) via our program GUI, I have been able to get 3X speed up to 1500 keep-alive requests/sec (when cache is off and this is a web proxy server). So it's getting better but it uses less than 20% CPU overall (only 1 of 4 cores is utilized) and our

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Fastream Technologies
Hello, On Thu, Nov 11, 2010 at 2:21 PM, Francois PIETTE francois.pie...@skynet.bewrote: With reconfiguring (turning off HTML translation) via our program GUI, I have been able to get 3X speed up to 1500 keep-alive requests/sec (when cache is off and this is a web proxy server). So it's

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread A Drent
Sorry for this post, I was replying the wrong mail. albert - Original Message - From: A Drent albert.dr...@rug.nl To: ICS support mailing twsocket@elists.org Sent: Thursday, November 11, 2010 11:19 AM Subject: Re: [twsocket] Concurrency of multiple THttpCli instances Ok. T.a.v. het

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-11 Thread Hein du Plessis
instances Sorry for this post, I was replying the wrong mail. albert - Original Message - From: A Drent albert.dr...@rug.nl To: ICS support mailing twsocket@elists.org Sent: Thursday, November 11, 2010 11:19 AM Subject: Re: [twsocket] Concurrency of multiple THttpCli instances Ok. T.a.v

[twsocket] Concurrency of multiple THttpCli instances

2010-11-10 Thread Fastream Technologies
Hello, I wonder if there is limit imposed by the design. The issue I saw during our tests is when the cache is disabled (when one THttpCli's instance is used by the proxy server connection socket), and when the file size is small (1-10KB), the proxy server cannot use more than one CPU core! When

Re: [twsocket] Concurrency of multiple THttpCli instances

2010-11-10 Thread Fastream Technologies
I suspect it could be a critical section issue since we use multi-threads and multi-clients/thread. SZ On Wed, Nov 10, 2010 at 5:39 PM, Fastream Technologies ga...@fastream.comwrote: Hello, I wonder if there is limit imposed by the design. The issue I saw during our tests is when the cache