|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
27 Jul 2017, Wes Gohn, Suggestion, Increasing Max Number of Frontends
|
10 Aug 2017, Stefan Ritt, Suggestion, Increasing Max Number of Frontends
|
12 Aug 2017, Konstantin Olchanski, Suggestion, Increasing Max Number of Frontends
|
13 Aug 2017, Stefan Ritt, Suggestion, Increasing Max Number of Frontends
|
13 Aug 2017, Konstantin Olchanski, Suggestion, Increasing Max Number of Frontends
|
13 Aug 2017, Stefan Ritt, Suggestion, Increasing Max Number of Frontends
|
|
Message ID: 1309
Entry time: 27 Jul 2017
Reply to this: 1312
|
Author: |
Wes Gohn |
Topic: |
Suggestion |
Subject: |
Increasing Max Number of Frontends |
|
|
Below are the steps we used to increase the maximum number of frontends that we could run.
In midas.h
#define MAX_CLIENTS 64
changed to
#define MAX_CLIENTS 128
In msystem.h:
#define MAX_RPC_CONNECTION 64
changed to
#define MAX_RPC_CONNECTION 128
In odb.c:
assert(sizeof(BUFFER_HEADER) == 16444);
GUESS: 256*64+60 = 16444, so change 64 to 128
changed to:
assert(sizeof(BUFFER_HEADER) == 32828); //256*128+60
DATABASE_HEADER = 64 + 64*DATABASE_CLIENT = 64 + 64*8256 = 528448
changed to:
DATABASE_HEADER = 64 + 128*DATABASE_CLIENT = 64 + 128*8256 = 1056832. |