bugTransport Sample Protocol - Bugs: bug #27561, TSP_MAX_SERVER_NUMBER limitation...

 
 

bug #27561: TSP_MAX_SERVER_NUMBER limitation to 20

Submitted by:  Pediroda <pediroda>
Submitted on:  Wed 30 Sep 2009 01:18:09 PM UTC  
 
Category: CoreSeverity: 3 - Normal
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Release: 0.8.3Fixed Release: 0.8.3

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 04 Oct 2009 12:35:40 PM UTC, comment #3:

As stated by Frederik,

If you want to launch more than 20 tsp provider on the same
host you'll have to

1) edit tsp/src/core/include/tsp_const_def.h
setup you wanted value, e.g.
#define TSP_MAX_SERVER_NUMBER 50

2) recompile + install TSP on your target platforms
see ยง2.3 of "TSP Programming Tutorial"
see Download section
--> documentations/tsp_programming_tutorial-1.0.pdf

3) Recompile your consumers and provider in order
to take into account the new value.

the TSP_MAX_SERVER_NUMBER is used to size some static arrays
in TSP core we could theoretically get rid of it using
dynamic allocation, but it never seems to be necessary....
until now.

Eric NOULARD <erk>
Project Administrator
Thu 01 Oct 2009 05:14:48 AM UTC, comment #2:

Frederik is right,

You may change the value of the constant.
By curiosity, why do you need to run more
than 15 providers at the same time on the same host?

Eric NOULARD <erk>
Project Administrator
Wed 30 Sep 2009 03:44:19 PM UTC, comment #1:

No, if I remember correctly, it is used to allocate some arrays at compile time. You should be able to run way more servers than that, provided your machine is big enough.

Regards,
Frederik

Frederik Deweerdt <deweerdt>
Project Administrator
Wed 30 Sep 2009 01:18:09 PM UTC, original submission:

Hi , we have seen that in tsp_const_def.h TSP_MAX_SERVER_NUMBER is max 20. Where does this limitation come from ? RPC ?
In practice we have even a limitation around 15 servers on the same machine.
Thanks

Pediroda <pediroda>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by erk (Posted a comment)
  • -unavailable- added by deweerdt (Posted a comment)
  • -unavailable- added by pediroda (Submitted the item)
  • -unavailable- added by pediroda (-unavailable-)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 30 Sep 2009 01:18:09 PM UTCpedirodaCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1