UIMA AS client CPU load

2009-08-26 Thread Jörn Kottmann
Hi everyone, to put some load on one of our UIMA AS system I wrote a small tool which uses the client API to send CASes to a processing pipeline. This tool has an endless loop which waits for work to arrive and then sends it to the processing pipeline. It basically looks like this: text = getN

Re: UIMA AS client CPU load

2009-09-01 Thread Jörn Kottmann
Posted it a few days ago, would be nice if someone could have a look. I assume there is a wait missing, right ? If so the fix is simple and we can include it in 2.3.0. Jörn Jörn Kottmann wrote: Hi everyone, to put some load on one of our UIMA AS system I wrote a small tool which uses the clien

Re: UIMA AS client CPU load

2009-09-01 Thread Jaroslaw Cwiklik
Jorn, I've fixed this under UIMA-1540. Let me know if this fixes the problem. Thanks for pointing this out. Jerry On Tue, Sep 1, 2009 at 8:26 AM, Jörn Kottmann wrote: > Posted it a few days ago, would be nice if someone > could have a look. I assume there is a wait missing, right ? > If so the

Re: UIMA AS client CPU load

2009-09-01 Thread Jörn Kottmann
Jaroslaw Cwiklik wrote: Jorn, I've fixed this under UIMA-1540. Let me know if this fixes the problem. Yeah, tried to build it, but it the tests hang here: +-- Sep 1, 2009 5:54:13 PM org.apache.uima.aae.controller.BaseAnalysisEn

Re: UIMA AS client CPU load

2009-09-01 Thread Jaroslaw Cwiklik
Jorn, I took Burn's suggestion and removed a busy loop from the getCas(). Instead of waiting between retries I use a semaphore to signal availability of a CAS. Not sure what this hang is all about. Can you refresh all projects from the svn and try again. Thanks On Tue, Sep 1, 2009 at 12:03 PM, J

Re: UIMA AS client CPU load

2009-09-02 Thread Jörn Kottmann
Jaroslaw Cwiklik wrote: Jorn, I took Burn's suggestion and removed a busy loop from the getCas(). Instead of waiting between retries I use a semaphore to signal availability of a CAS. Not sure what this hang is all about. Can you refresh all projects from the svn and try again. The refresh re

Re: UIMA AS client CPU load

2009-09-02 Thread Jaroslaw Cwiklik
Jorn, I've added a new testcase that is based on what you've described your client does. It was added to the TestUimaASExtended.java in the uimaj-as-activemq project. The name of the testcase: testClientProcess(). I can send 100 CASes to a service with no problem. Can you check the source of the te