-
Notifications
You must be signed in to change notification settings - Fork 40
/
RELEASE_NOTES
336 lines (298 loc) · 15.3 KB
/
RELEASE_NOTES
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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
Release Notes for iocStats
--------------------------
# Unreleased
# Releases
## iocStats-R3-2-0:
**NOTE** Please note that as of 3-2-0, there is a pre-commit (https://pre-commit.com/) workflow that
includes
* clang-format for c/cpp files
* end-of-file fixer
* trailing whitespace
Please ensure that any further changes take these into account!
* Changes by Simon Rose:
- Add pre-commit workflow and standardise C/cpp formatting
- Added GitHub workflow using EPICS CI scripts
- Add parsing of CONFIG_SITE_ENV from EPICS base to fetch additional EPICS
environment variables
* Changes by Martin Konrad:
- Fix EPICS_TZ warning for VxWorks and RTEMS
* Changes by Edward Jones:
- Fix Mingw builds
* Changes by Ralph Lange:
- Bugfixes
## iocStats-R3-1-16: Apr 30, 2019
## iocStats-R3-1-15: Nov 3, 2016
* Changes by Mark Rivers:
- Improved the layout of the medm files to avoid overlapping widgets, etc.
- Added ioc_stats_reloadacf_confirm.edl to iocAdmin/srcDisplay/Makefile,
and put files in that Makefile in alphabetical order to help spot
missing files.
- Fixes for mingw compiler.
Define WINVER to be XP on MINGW to avoid compiler warnings.
Define WINVER to be XP (0x501) rather than WIN2K (0x500) for consistency.
* Changes by Keenan Lang:
- Define WINVER on MinGW.
* Changes by Tim Mooney:
- Don't build testIocStats unless SNCSEQ is defined in configure/RELEASE.
* Changes by Ronald Mercado:
- Fix devIocStatsGetPwd return value to make WIN32 consistent with posix.
* Changes by Jeong Han Lee:
- Replaced _SC_NPROCESSORS_CONF (The number of processors configured)
with _SC_NPROCESSORS_ONLN (The number of processors currently online).
* Changes by S. Allison:
- Use standard RELEASE file instead of LCLS-style RELEASE/RELEASE_SITE.
- Update .gitignore.
## iocStats-R3-1-14: Apr 29, 2015
* Change to vxWorks osdFdUsage.c to not check the first 3 FDs by Scott Baily:
Unfortunately, the first 3 file descriptors on vxWorks are special
(standard in, standard out, and standard error). The pointers in
iosFdTable have the value FFFFFFFF. For 6.6 and above the reference
count isn't checked so there's no problem. But some of our systems use
6.3 and this code causes reads from page 0 of RAM.
* Change to add process ID and parent process ID records.
* Change to use github.
* Change to perform most statistics in a thread separate from record
processing.
# iocStats-R3-1-13: July 13, 2014
* Bug fix in update period AO record initialization.
# iocStats-R3-1-12: June 19, 2014
* Change by Eric Bjorklund:
Change devIocStatsGetClusterInfo(). The fundamental problem is that
vxWorks -- at least ours (6.8) -- does not fill in all of the entries
in the cluster table. In our example, only 8 of the 13 allocated table
entries are filled in, and when devIocStatsGetClusterInfo() tries to
process the 9th it gets a page fault exception from the null pointer.
* Change by Tim Mooney:
Add caQtDM displays, translated from the .adl files using caQtDM 3.7.8.
* Change by Stephanie Allison:
Added waveform support for epics version, startup script,
application directory, and bootline.
* Changes by Ben Franksen and Ralph Lange:
- Scan rates now floating point instead of integer.
- we have recently discovered some bugs in devIocStats in the vxWorks
implementation that measures the cpu load, which result in wrong
results to be displayed. I hacked away at the problem for some days
and ended up with a complete re-write. The solution considerably
reduces code size and complexity, is therefore much easier to
understand and maintain, and --most importantly--
works correctly. It also contains some additional features:
* A test procedure that measures how well the initial calibration
works by doing it for a number of times and gathering statistics
(min, max, avg). This was useful to determine how long initial
calibration should run (the default is 30 clock ticks which on a
mv2100 gives me a variation of less than 0.4%).
* Another test procedure (to be called from the shell) adds exactly
50% load to the IOC (it burns cpu for one clock tick, then sleeps
for one, and repeats that in a loop for the given duration), so one
can see whether the measured cpu load increases appropriately
(it does on my test machines).
* Experienced users can customize behaviour to a certain extent by
changing the values of some global variables.
* I moved the cpuBurnLoad50 test routine to a separate file, since
it is independent of the new implementation of osdCpuUsage; it gets
compiled to a stand-alone object file which you must link to your
IOC binary if you want to use it, e.g.
TESTIOC_OBJS_vxWorks += $(IOCSTATS_BIN)/osdCpuUsageTest.o
# iocStats-R3-1-11: Dec 5, 2012
* Changes by Stephanie Allison:
Add LSV and LLSV for MEM_FREE and RAM_WS_FREE.
Add MEM_FREE to limits display.
Update RELEASE files for LCLS.
* Changes by Judy Rock:
Add START_CNT (ioc startup counter) to database and displays.
# iocStats-R3-1-10: Jun 26, 2012
* Changes by Helge Brands:
- add ioc_stats_scanmon.adl
- add devIocStats/os/WIN32 files.
NOTE: For EPICS base 3.14.12.2 and below, this patch to rsrv.h
for casStatsFetch is required (and a rebuild of epics base):
http://epics.aps.anl.gov/epics/base/R3-14/12-docs/rsrv2.patch
- move epicsExport.h inclusion to later for WIN32 builds.
- bug fix for total memory more than 4GB.
* Changes by Stephanie Allison:
- Check for null pool pointers for vxWorks.
- Correct vxWorks 6 compiler warning.
- Correct epicsFindSymbol logic.
# iocStats-R3-1-9: Mar 13, 2012
* add generalTime records to soft IOCs (database and display).
# iocStats-R3-1-8: Dec 4, 2011
* improvements for non-posix targets.
# iocStats-R3-1-7: Dec 1, 2011
* iocAdmin/srcDisplay/Makefile - use EDL file type.
* Changes by Tim Mooney:
- copy all devIocStats/os/Linux to devIocStats/os/cygwin32.
- add devIocStats/op/opi CSS/BOY display files.
* all src Makefiles - build only for
RTEMS, vxWorks, Linux, solaris, Darwin, cygwin32.
Mark Rivers reports that iocStats will not build for WIN32.
* add devIocStats/os/default/devIocStatsOSD.h dummy file.
# iocStats-R3-1-6: Aug 11, 2011
* Change by Robert Henning and Stephanie Allison:
- Add medm displays to op/adl. Original displays by Robert
and brought up-to-date with the edm display by Stephanie. Could
use more work.
* Change by Eric Norum and Stephanie Allison:
- Add check for IOCSH_STARTUP_SCRIPT when setting startup script (after
all the other existing env vars).
- Support for RTEMS 4.10.
- Move ENGINEER and LOCATION records from general env vars back to
IOC stats support.
* Change by Judy Rock:
- iocAdmin/src/iocReleaseCreateDb.py - look for epics base version in 2nd
argument if not found in the first.
- configure/RULES_BUILD - add 2nd argument to iocReleaseCreateDb.py rule.
* Change by Sonya Hoobler:
- iocAdmin/srcDisplay/ioc_stats*.edl - correct READACF command. Add
confirm display for reloading the access security file.
* Change by Stephanie Allison:
- iocAdmin/Db - remove baseSecurity.acf, remove ASGs in templates.
Add TODFORMAT macro to TOD (time-of-day) records.
- Move common logic from os/*/osdBootInfo.c to devIocStatsString.c.
- Bug fix for RTEMS - initialize IF error counters before loop.
- Add CPUBURNSQRT compile switch use the sqrt burn instead of the
epicsTime burn in devIocStats/os/vxWorks/osdCpuUsage.c. The default
is epicsTime which gives a CPU load of 0% when ioc is not busy.
Add code to prevent double init of vxWorks osdCpuUsage.
# iocStats-R3-1-5: Mar 31, 2011
* Change by Eric Bjorklund:
- devIocStats/os/vxWorks/osdMemUsage.c - correct vxWorks meminfo structure
update. vxWorks 6 has a completely different layout.
* Change by Stephanie Allison:
- devIocStatsAnalog.c - correction for 64 bit.
Note: iocStats releases above R3-1-3 require EPICS base 3.14.11 or above.
Edit the following files for EPICS base 3.14.8.2:
- iocAdmin/Db/iocAdmin*.substitutions - remove iocGeneralTime.template.
- iocAdmin/Db/ioc.template - remove alias line for IOC_CPU_LOAD and
give the record the desired name. Remove alias for SYSRESET.
- iocAdmin/srcDisplay and srcRestore - change IOC_CPU_LOAD in files to
the desired name.
# iocStats-R3-1-4: Dec 14, 2010
* Changes by Ralph Lange:
- Add fixes by M. Davidsaver to avoid segfaults when devsup init failed.
* Changes by Stephanie Allison:
- Add workspace stats by Charlie Xu - implement for RTEMS only.
- Add cluster available calc records by Charlie Xu.
- Set low alarm limits very low when scan mon absolute mode is chosen.
- Change ioc cpu load record name from "LOAD" to "IOC_CPU_LOAD"
and add an alias for "LOAD".
- Add General Time records to iocAdmin<RTEMS and VxWorks>.db and
associated iocAdmin displays.
# iocStats-R3-1-3: Aug 10, 2010
* Changes by Ralph Lange:
- Made python script work for python2.4
- Fixed Makefiles to work on solaris (gcc)
- Removed unnecessary posix default for osdMemUsage.c
- Fixed solaris pid_t (=long) issue in BSlib.c
- Added ioc_cpuload (CPU utilization of IOC instance)
and sys_cpuload (CPU load of system) with implementations:
- using getrusage() for posix (used on Darwin)
- using /proc file system reads on Linux
- using /proc reads and kernel statistics on Solaris
- using the sys_cpuload value for ioc_cpuload on RTEMS and vxWorks
* Changes by Stephanie Allison:
- Per Ernest, move iocAdmin.db to iocAdminVxWorks.db
(deprecate iocAdmin.db).
- Add scanMon support from Kukhee Kim for monitoring SCAN record
update time intervals.
- Change iocAdminLib to iocAdmin. Add testIocAdminApp and iocBoot.
Remove iocAdmin-dependency from testIocStatsApp. Remove undocumented
executables (ioc_stats, rdbls, rdbapplist) from testIocStatsApp.
# iocStats-R3-1-2: July 09, 2010
* devIocStats - Changes by Ralph Lange:
- Fix for CLUSTSIZES on vxWorks 5 (submitted by Kay-Uwe Kasemir)
- Added header file for Darwin (MacOS X) (submitted by Eric Norum)
- Fixed implementation for CpuUsage under Posix
# iocAdmin-R3-1-1: July 14, 2009
* iocAdmin/srcDisplay - LCLS display update - add ioc_stats_release.edl.
* iocAdmin/src - Remove python script for automatically
creating a display with RELEASE module versions..
* configure/RULES_BUILD - Remove rule for building a display
with RELEASE module versions.
# iocAdmin-R3-1-0: July 7, 2009
* devIocStats - Ralph Lange made changes. Here are his notes:
Functionality is basically as before, the main work (quite a bit more
than I expected) being the split-up of all the devIocStatsOSD.c files
into functionally separate source files. (So that any single
functionality may be not implemented for an architecture and fall-back
to os/posix or os/default.) That split-up includes new names and APIs
between the generic part of the device support and the OSD parts,
which I tried to streamline, which allowed for some serious code
simplifications in the generic parts. I also made sure the new APIs
will make it a lot easier to support waveform records.
I fixed a few bugs in the code (IFerrors and uptime under vxWorks) and
added (in the attached version) kernel version and CPU usage info for
posix systems.
Added mem->total to the meminfo structure to create reasonable
information on soft IOC implementations with virtual memory
organization:
total: on this host - physically installed memory.
used: for this IOC - physical memory used at the moment (RSS)
free: on this host - physical memory that is available to
processes (free plus cache plus buffers)
Added memory implementation for Linux, FD usage implementations for
Linux and Solaris.
* iocAdmin/srcDisplay - LCLS display update.
* iocAdmin/src - Added python scripts by Dayle Kotturi for automatically
creating a database and display with RELEASE module versions..
* iocAdmin/Db - Add iocAdminSoft and iocAdminRTEMS databases for soft
and RTEMS IOCs. Add MEM_MAX. Process CLUST records only after MBUF_FREE
records are processed.
* iocAdmin/srcRestore - Add iocAdminSoft.cwConfig for soft IOCs.
* configure/RULES_BUILD - Add rules for building a database and display
with RELEASE module versions.
# iocAdmin-R3-0-0: Apr 29, 2009
* Built against EPICS R3.14.8.2 and RTEMS 4.9.1 (base-R3-14-8-2-lcls3)
* devIocStats/os/RTEMS/devIocStatsOSD.h - change by Sue Witherspoon so that
bsp_reset is only used for PPC and uC5282.
# iocAdmin-R2-1-4: Mar 23, 2009
* devIocStats/src/devIocStatsAnalog.c - add support for number of records.
Fix bad bug in update rate initialization. Add a check for valid rate.
Reset UDF for all cluster sizes.
* devIocStats/src/os/RTEMS/devIocStatsOSD.c - check for cpuUsageReset.
Use Tills miscUtils routines for cpu load if rtems version >= 4.9
and selected in CONFIG_SITE.
* devIocStats/src/os/vxWorks/devIocStatsOSD.* - Bug fix for vxWorks 6.
Remove IF error logic for vxWorks 6 (leave those at zero).
* iocAdmin/srcDisplay/ioc_stats*.edl - add alarm sensitivity on ALL inputs.
* iocAdmin/Db/ioc.db - add PINI=YES for ao's, add RECORD_CNT.
* README_devIocStats - add support for number of records.
* configure/CONFIG_SITE - add USR_CFLAGS_RTEMS option for Till's CPU load calc.
# iocAdmin-R2-1-3: Feb 10, 2009
* devIocStats/src/devIocStatsString.c - set epics env var string to blank
and UDF=0 when valid env var but just no value.
* devIocStats/src/Makefile and
devIocStats/src/os/RTEMS/devIocStatsOSD.h - use bsp_reset for uC5282 and
all BSPs on RTEMS 4.9.1.
* devIocStats/src/os/RTEMS/devIocStatsOSD.c - prevent negative cpu load.
# iocAdmin-R2-1-2: Feb 9, 2009
devIocStats/src/devIocStats.h - get rid of an unused define.
iocAdmin/Db/access.db - add FBCK record.
README_iocAdmin - description of FBCK record.
# iocAdmin-R2-1-1: Jan 20, 2009
devIocStats/src/devIocStatsString.c, devIocStats.dbd:
Add device support for general environment variables and
EPICS environment variables.
iocAdmin/Db/iocEnvVar.db, ioc.db, Makefile, iocAdmin.substitutions:
Create database for environment variables.
Add EPICS environment variables.
README_devIocStats - description of environment variables support.
# iocAdmin-R2-1-0:
devIocStats/src/os/RTEMS/devIocStatsOSD.c - code changes for RTEMS 4.9.
iocAdmin/srcRestore/iocAdmin.cwConfig - add STARTTOD (logging only).
iocAdmin/Db/access.db, ioc.db, iocAdmin.substitutions, access.doc -
Add ACCESS record to ioc.db (no longer uses access.db).
Change access.db for requirements by HLA. Remove colon from name so
that ACCESS can be defined per channel or attribute,
not just per device. Add access.doc documentation.
README_iocAdmin - description of access usage.
# iocAdmin-R2-0-0:
Built against EPICS R3.14.8.2 and RTEMS 4.7.1 (base-R3-14-8-2-lcls2).
devIocStats and testIocStatsApp added.
# iocAdmin-R1-0-2-1:
Cosmetic changes for LCLS and R3.14.9
# iocAdmin-R1-0-2:
Built against EPICS R3.14.9 and RTEMS 4.7.1 (base-R3-14-9-lcls1)
# iocAdmin-R1-0-1:
Built against EPICS R3.14.8.2 and RTEMS 4.7.1 (base-R3-14-8-2-lcls2)
# iocAdmin-R1-0-0: June 29, 2007 Initial version
Built against EPICS R3.14.8.2 and RTEMS 4.7 (base-R3-14-8-2-lcls1)