File: develop.txt

package info (click to toggle)
ecflow 5.15.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 51,868 kB
  • sloc: cpp: 269,341; python: 22,756; sh: 3,609; perl: 770; xml: 333; f90: 204; ansic: 141; makefile: 70
file content (306 lines) | stat: -rw-r--r-- 18,122 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
June 14 2020: gcc 7.3.0  polonius/leap42 boost 1.71
+ perf stat -r 10 bin/ecflow_client --port 42609 --load /var/tmp/ma0/BIG_DEFS/vsms2.31415.def check_only

 Performance counter stats for 'bin/ecflow_client --port 42609 --load /var/tmp/ma0/BIG_DEFS/vsms2.31415.def check_only' (10 runs):

       1474.150138      task-clock (msec)         #    0.999 CPUs utilized            ( +-  1.31% )
                 5      context-switches          #    0.004 K/sec                    ( +-  9.35% )
                 1      cpu-migrations            #    0.001 K/sec                    ( +- 11.11% )
           131,030      page-faults               #    0.089 M/sec                    ( +-  0.00% )
     5,687,455,210      cycles                    #    3.858 GHz                      ( +-  1.26% )
   <not supported>      stalled-cycles-frontend  
   <not supported>      stalled-cycles-backend   
    10,239,926,729      instructions              #    1.80  insns per cycle          ( +-  0.00% )
     2,904,235,065      branches                  # 1970.108 M/sec                    ( +-  0.00% )
        15,203,651      branch-misses             #    0.52% of all branches          ( +-  0.88% )

       1.475523645 seconds time elapsed                                          ( +-  1.30% )


+ bin/ecflow_client --port 42609 --load /var/tmp/ma0/BIG_DEFS/vsms2.31415.def
+ echo run strace
run strace
+ strace -c bin/ecflow_client --port 42609 --sync_full 0
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 54.72    0.018025           4      4041           brk
 37.85    0.012466          12      1084         1 recvmsg
  4.58    0.001509           1      1083           epoll_wait
  2.10    0.000693          36        19           munmap
  0.23    0.000075          13         6         2 connect
  0.16    0.000052           2        31           close
  0.13    0.000043           1        54           mmap
  0.05    0.000016           1        15           mremap
  0.04    0.000012           2         7           socket
  0.03    0.000011          11         1           sendmsg
  0.03    0.000011           3         4           timerfd_settime
  0.03    0.000009           2         6           epoll_ctl
  0.01    0.000004           1         5           poll
  0.01    0.000004           1         3           getsockname
  0.01    0.000004           2         2           getsockopt
  0.01    0.000003           2         2           ioctl
  0.01    0.000002           0        33        14 open
  0.00    0.000000           0        20           read
  0.00    0.000000           0         1           write
  0.00    0.000000           0         9         3 stat
  0.00    0.000000           0        16           fstat
  0.00    0.000000           0         1           lseek
  0.00    0.000000           0        22           mprotect
  0.00    0.000000           0         2           rt_sigaction
  0.00    0.000000           0         1           rt_sigprocmask
  0.00    0.000000           0         2         2 access
  0.00    0.000000           0         3           sendto
  0.00    0.000000           0         1           bind
  0.00    0.000000           0         1           execve
  0.00    0.000000           0         1           uname
  0.00    0.000000           0         1           getrlimit
  0.00    0.000000           0         2           getuid
  0.00    0.000000           0         1           arch_prctl
  0.00    0.000000           0         4           futex
  0.00    0.000000           0         1           set_tid_address
  0.00    0.000000           0         1           set_robust_list
  0.00    0.000000           0         1           timerfd_create
  0.00    0.000000           0         1           eventfd2
  0.00    0.000000           0         1           epoll_create1
------ ----------- ----------- --------- --------- ----------------
100.00    0.032939                  6489        22 total

+ perf stat -r 10 bin/ecflow_client --port 1025 --sync_full 0

 Performance counter stats for 'bin/ecflow_client --port 1024 --sync_full 0' (10 runs):

       1582.882858      task-clock (msec)         #    0.759 CPUs utilized            ( +-  0.19% )
               708      context-switches          #    0.448 K/sec                    ( +-  6.46% )
                 0      cpu-migrations            #    0.000 K/sec                    ( +-100.00% )
           144,579      page-faults               #    0.091 M/sec                    ( +-  0.10% )
     6,136,194,514      cycles                    #    3.877 GHz                      ( +-  0.19% )
   <not supported>      stalled-cycles-frontend  
   <not supported>      stalled-cycles-backend   
    11,860,551,515      instructions              #    1.93  insns per cycle          ( +-  0.00% )
     3,128,227,586      branches                  # 1976.285 M/sec                    ( +-  0.00% )
        11,492,365      branch-misses             #    0.37% of all branches          ( +-  0.23% )

       2.086499514 seconds time elapsed                                          ( +-  0.41% )

+ ANode/parser/perf_aparser_only /var/tmp/ma0/BIG_DEFS/3199.def
real  0m0.88s
user  0m0.78s
sys   0m0.09s

+ ANode/parser/perf_aparser_only /var/tmp/ma0/BIG_DEFS/vsms2.31415.def
real  0m1.39s
user  0m1.23s
sys   0m0.15s


+ ANode/parser/perf_aparser_timer /var/tmp/ma0/BIG_DEFS/3199.def
 Parsing Node tree & AST creation time parse(1) = 0.799s wall, (0.720s user + 0.070s system = 0.790s) CPU (98.9%)
 Parsing Node tree *only* time         parse(1) = 0.616s wall, (0.570s user + 0.050s system = 0.620s) CPU (100.6%)
 Save and restore as string(DEFS)               = 0.926s wall, (0.890s user + 0.040s system = 0.930s) CPU (100.5%) -> string size(33231624)
 Save and restore as string(NET)                = 0.670s wall, (0.640s user + 0.030s system = 0.670s) CPU (100.0%) -> string size(33232282) checks relaxed
 Save and restore as string(MIGRATE)            = 0.671s wall, (0.650s user + 0.020s system = 0.670s) CPU (99.9%) -> string size(33232286)
 Save as DEFS checkpoint, time taken            = 0.105s wall, (0.100s user + 0.010s system = 0.110s) CPU (104.7%)
 Save as CEREAL checkpoint, time taken          = 1.323s wall, (1.320s user + 0.000s system = 1.320s) CPU (99.7%)
 Checkpt(DEFS) and reload, time taken           = 0.700s wall, (0.670s user + 0.030s system = 0.700s) CPU (100.1%) file_size(33235526)  result(1) msg()
 Checkpt(CEREAL) and reload , time taken        = 2.677s wall, (2.580s user + 0.090s system = 2.670s) CPU (99.7%) file_size(99379310)  result(1) msg()
 Test all paths can be found. time taken        = 0.273s wall, (0.270s user + 0.000s system = 0.270s) CPU (98.9%)
 time for 10 jobSubmissions                     = 0.262s wall, (0.260s user + 0.010s system = 0.270s) CPU (102.9%) jobs:4
 Time for Defs::check(inlimit resolution)       = 0.051s wall, (0.050s user + 0.000s system = 0.050s) CPU (97.2%) result(1)
 time for deleting all nodes                    = 0.275s wall, (0.270s user + 0.000s system = 0.270s) CPU (98.3%)
 9.733997s wall, 9.340000s user + 0.380000s system = 9.720000s CPU (99.9%)

+ ANode/parser/perf_aparser_timer /var/tmp/ma0/BIG_DEFS/vsms2.31415.def
 Parsing Node tree & AST creation time parse(1) = 1.204s wall, (1.080s user + 0.120s system = 1.200s) CPU (99.6%)
 Parsing Node tree *only* time         parse(1) = 1.205s wall, (1.070s user + 0.130s system = 1.200s) CPU (99.6%)
 Save and restore as string(DEFS)               = 1.455s wall, (1.370s user + 0.080s system = 1.450s) CPU (99.7%) -> string size(57634217)
 Save and restore as string(NET)                = 1.066s wall, (1.040s user + 0.030s system = 1.070s) CPU (100.4%) -> string size(68295827) checks relaxed
 Save and restore as string(MIGRATE)            = 1.162s wall, (1.130s user + 0.040s system = 1.170s) CPU (100.7%) -> string size(68295831)
 Save as DEFS checkpoint, time taken            = 0.303s wall, (0.260s user + 0.050s system = 0.310s) CPU (102.2%)
 Save as CEREAL checkpoint, time taken          = 2.625s wall, (2.630s user + 0.000s system = 2.630s) CPU (100.2%)
 Checkpt(DEFS) and reload, time taken           = 1.512s wall, (1.420s user + 0.090s system = 1.510s) CPU (99.9%) file_size(118606320)  result(1) msg()
 Checkpt(CEREAL) and reload , time taken        = 5.239s wall, (5.030s user + 0.210s system = 5.240s) CPU (100.0%) file_size(216055639)  result(1) msg()
 Test all paths can be found. time taken        = 0.457s wall, (0.460s user + 0.000s system = 0.460s) CPU (100.6%)
 time for 10 jobSubmissions                     = 0.102s wall, (0.090s user + 0.000s system = 0.090s) CPU (88.0%) jobs:0
 Time for Defs::check(inlimit resolution)       = 0.517s wall, (0.520s user + 0.000s system = 0.520s) CPU (100.6%) result(0)
 time for deleting all nodes                    = 0.367s wall, (0.370s user + 0.000s system = 0.370s) CPU (100.7%)
 17.970985s wall, 17.180000s user + 0.780000s system = 17.960000s CPU (99.9%)

+ Client/perf_test_large_defs
Running 1 test case...
Client:: ...test_perf_for_large_defs:   port(1024)

/var/tmp/ma0/BIG_DEFS/vsms2.31415.def  : file size 153539843
 Load:                3660ms
 Begin:               121ms
 Download(news_local):NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS : 1:news_local(),2:sync_local(),n:news_local with the new Client: 2193(ms)
 Download(Sync):      1898 33 0 0 0 0 0 0 0 0 :(milli-seconds) sync_local() with the same Client. First call updates cache.
 Download(Sync-FULL): 1891 1899 1894 1906 1905 1896 1896 1898 1897 1897 : Avg:1.8979(sec)  : sync_local() with *different* clients.uses cache!
 Download(FULL):      2318 2206 2150 2136 2166 2140 2132 2146 2143 2154 : Avg:2.1691(sec)  : get_defs() from different client
 Suspend 262323 tasks : 0.727   news_local() : 0   sync_local() : 2.953
 Resume 262323 tasks  : 0.697   news_local() : 0   sync_local() : 2.07
 Suspend 262323 tasks : 2.866 : auto-sync
 Resume 262323 tasks  : 2.879 : auto-sync
 check  262323 tasks  : 0.374   news_local() : 0.007   sync_local() : 0
 kill   262323 tasks  : 1.204   news_local() : 0.007   sync_local() : 0.014
 force  262323 tasks  : 1.667 force(aborted)   news_local() : 0.012   sync_local() : 5.684
 force  262323 tasks  : 7.687 : auto-sync :  force(queued)
 Check pt:            782 640 662 655 655 656 652 683 652 652 : Avg:0.6689(s)
 client cmds:         2000 times 5.817(s) (sync_local) with same client (suspend,resume,force,alter,requeue)
 client cmds:         2000 times 5.196(s) (auto_sync ) with same client (suspend,resume,force,alter,requeue)
 Delete:              763ms

/var/tmp/ma0/BIG_DEFS/3199.def  : file size 59631577
 Load:                1907ms
 Begin:               329ms
 Download(news_local):NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS : 1:news_local(),2:sync_local(),n:news_local with the new Client: 1173(ms)
 Download(Sync):      1060 0 0 0 0 0 0 0 0 0 :(milli-seconds) sync_local() with the same Client. First call updates cache.
 Download(Sync-FULL): 1057 1057 1063 1057 1058 1057 1060 1060 1055 1055 : Avg:1.0579(sec)  : sync_local() with *different* clients.uses cache!
 Download(FULL):      1279 1273 1255 1251 1271 1257 1261 1268 1254 1252 : Avg:1.2621(sec)  : get_defs() from different client
 Suspend 215437 tasks : 0.493   news_local() : 0   sync_local() : 2.372
 Resume 215437 tasks  : 0.509   news_local() : 0   sync_local() : 1.595
 Suspend 215437 tasks : 2.219 : auto-sync
 Resume 215437 tasks  : 2.311 : auto-sync
 check  215437 tasks  : 0.637   news_local() : 0   sync_local() : 0
 kill   215437 tasks  : 0.42   news_local() : 0.009   sync_local() : 0
 force  215437 tasks  : 1.285 force(aborted)   news_local() : 0.008   sync_local() : 3.972
 force  215437 tasks  : 5.523 : auto-sync :  force(queued)
 Check pt:            460 358 343 353 343 344 343 349 367 344 : Avg:0.3604(s)
 client cmds:         2000 times 6.178(s) (sync_local) with same client (suspend,resume,force,alter,requeue)
 client cmds:         2000 times 5.591(s) (auto_sync ) with same client (suspend,resume,force,alter,requeue)
 Delete:              497ms

/var/tmp/ma0/BIG_DEFS/od.def  : file size 11078737
Warning: TASK /lbc/perle/local/perle has a inlimit ../process:excl :The referenced FAMILY '/lbc/perle/process' does not define the limit excl

 Load:                515ms
 Begin:               57ms
 Download(news_local):NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS : 1:news_local(),2:sync_local(),n:news_local with the new Client: 238(ms)
 Download(Sync):      216 0 0 0 0 0 0 0 0 0 :(milli-seconds) sync_local() with the same Client. First call updates cache.
 Download(Sync-FULL): 216 216 217 215 215 215 216 215 215 216 : Avg:0.2156(sec)  : sync_local() with *different* clients.uses cache!
 Download(FULL):      259 254 255 257 254 255 259 257 256 257 : Avg:0.2563(sec)  : get_defs() from different client
 Suspend 43305 tasks : 0.092   news_local() : 0   sync_local() : 0.441
 Resume 43305 tasks  : 0.092   news_local() : 0   sync_local() : 0.303
 Suspend 43305 tasks : 0.415 : auto-sync
 Resume 43305 tasks  : 0.422 : auto-sync
 check  43305 tasks  : 0.182   news_local() : 0   sync_local() : 0
 kill   43305 tasks  : 0.071   news_local() : 0.001   sync_local() : 0
 force  43305 tasks  : 0.22 force(aborted)   news_local() : 0   sync_local() : 0.752
 force  43305 tasks  : 1.046 : auto-sync :  force(queued)
 Check pt:            89 73 58 60 58 58 58 58 58 57 : Avg:0.0627(s)
 client cmds:         2000 times 4.248(s) (sync_local) with same client (suspend,resume,force,alter,requeue)
 client cmds:         2000 times 3.383(s) (auto_sync ) with same client (suspend,resume,force,alter,requeue)
 Delete:              85ms

/var/tmp/ma0/BIG_DEFS/mega.def  : file size 6721759
 Load:                319ms
 Begin:               35ms
 Download(news_local):NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS : 1:news_local(),2:sync_local(),n:news_local with the new Client: 151(ms)
 Download(Sync):      133 0 0 0 0 0 0 0 0 0 :(milli-seconds) sync_local() with the same Client. First call updates cache.
 Download(Sync-FULL): 133 145 131 131 131 131 132 131 131 132 : Avg:0.1328(sec)  : sync_local() with *different* clients.uses cache!
 Download(FULL):      156 154 157 157 156 158 157 158 156 157 : Avg:0.1566(sec)  : get_defs() from different client
 Suspend 27436 tasks : 0.057   news_local() : 0   sync_local() : 0.284
 Resume 27436 tasks  : 0.061   news_local() : 0   sync_local() : 0.194
 Suspend 27436 tasks : 0.259 : auto-sync
 Resume 27436 tasks  : 0.275 : auto-sync
 check  27436 tasks  : 0.106   news_local() : 0   sync_local() : 0
 kill   27436 tasks  : 0.048   news_local() : 0   sync_local() : 0
 force  27436 tasks  : 0.146 force(aborted)   news_local() : 0   sync_local() : 0.516
 force  27436 tasks  : 0.675 : auto-sync :  force(queued)
 Check pt:            47 37 36 36 36 36 36 36 36 36 : Avg:0.0372(s)
 client cmds:         2000 times 3.647(s) (sync_local) with same client (suspend,resume,force,alter,requeue)
 client cmds:         2000 times 2.708(s) (auto_sync ) with same client (suspend,resume,force,alter,requeue)
 Delete:              57ms

/var/tmp/ma0/BIG_DEFS/empty.def  : file size 13
 Load:                0ms
 Begin:               0ms
 Download(news_local):NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS NO_NEWS : 1:news_local(),2:sync_local(),n:news_local with the new Client: 1(ms)
 Download(Sync):      0 0 0 0 0 0 0 0 0 0 :(milli-seconds) sync_local() with the same Client. First call updates cache.
 Download(Sync-FULL): 0 0 0 0 0 0 0 0 0 0 : Avg:0(sec)  : sync_local() with *different* clients.uses cache!
 Download(FULL):      0 0 0 0 0 0 0 0 0 0 : Avg:0(sec)  : get_defs() from different client
 Suspend 0 tasks : 0   news_local() : 0   sync_local() : 0
 Resume 0 tasks  : 0   news_local() : 0   sync_local() : 0
 Suspend 0 tasks : 0 : auto-sync
 Resume 0 tasks  : 0 : auto-sync
 check  0 tasks  : 0   news_local() : 0   sync_local() : 0
 kill   0 tasks  : 0   news_local() : 0   sync_local() : 0
 force  0 tasks  : 0 force(aborted)   news_local() : 0   sync_local() : 0
 force  0 tasks  : 0 : auto-sync :  force(queued)
 Check pt:            2 2 0 0 0 0 0 0 0 0 : Avg:0.0004(s)
 client cmds:         0 times 0(s) (sync_local) with same client (suspend,resume,force,alter,requeue)
 client cmds:         0 times 0(s) (auto_sync ) with same client (suspend,resume,force,alter,requeue)
 Delete:              0ms


+ bin/ecflow_client --load /var/tmp/ma0/BIG_DEFS/vsms2.31415.def stats
Definition statistics
Nodes               457888
Suites              37
Family              195527
Task                262323
Alias               1

Edit history nodes  67727
Edit history paths  255692

vars                933908
triggers            63356
complete triggers   2044
events              54876
labels              99237
meters              9703

times               321
todays              3
crons               33
dates               5
days                0

late                15127
inlimits            89267
limits              1232
repeats             219
zombies             29

auto_cancel         0
auto_archive        0
auto_restore        0
verifys             0
queues              0
generics            0
+ bin/ecflow_client --load /var/tmp/ma0/BIG_DEFS/3199.def stats
Definition statistics
Nodes               320829
Suites              18
Family              105374
Task                215437
Alias               0

Edit history nodes  0
Edit history paths  0

vars                885532
triggers            88812
complete triggers   551
events              35477
labels              46714
meters              14994

times               245
todays              0
crons               0
dates               0
days                0

late                41023
inlimits            52376
limits              635
repeats             90
zombies             0

auto_cancel         0
auto_archive        0
auto_restore        0
verifys             0
queues              0
generics            0