Bug 4083 - Lock-ups in TAO 2.1.5 in simple multithreaded client-server benchmark
Summary: Lock-ups in TAO 2.1.5 in simple multithreaded client-server benchmark
Status: NEW
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 2.1.5
Hardware: x86 Linux
: P3 major
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2013-01-11 09:47 CST by Sergey Onuchin
Modified: 2013-01-11 09:47 CST (History)
0 users

See Also:


Attachments
MT_Client/run_test.pl replacement (3.07 KB, application/octet-stream)
2013-01-11 09:47 CST, Sergey Onuchin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Onuchin 2013-01-11 09:47:13 CST
Created attachment 1436 [details]
MT_Client/run_test.pl replacement

I've reproduced the issue on 6.1.5 using MT_Client test from TAO package.

Please take attached mytest.pl file (default run_test.pl is not passing proper config to the client - consider to fix that).

Modify MT_Client/client.conf to contain:

#static Client_Strategy_Factory "-ORBClientConnectionHandler RW"
static Client_Strategy_Factory "-ORBClientConnectionHandler MT"
static Client_Strategy_Factory "-ORBTransportMuxStrategy EXCLUSIVE"



On my 4-core box ./mytest.pl  gets locked almost 100%. If you have more cores, try to increase the number of threads in .pl file.

If you remove/comment
   static Client_Strategy_Factory "-ORBTransportMuxStrategy EXCLUSIVE"
then no locking occurs.

In 6.0.5 no locking happens no matter which TransportMuxStrategy is in use.


The problem seems to be related to changes in Leader-Follower code since TAO 2.0.5.