Comments (3)
Thanks for posting this Raj, it's one of those things that is "known" vaguely but never got properly documented. This is a consequence of us having crazy numbers of PVs in our IOCs. I suspect we want to be smarter about the sample time we choose in these "many PVs" cases rather than always bumping to 1Hz.
from ads-ioc.
Ok cool. Is there any way to know or test if the sample time is too small, so it can step it up until it reaches a minimally satisfactory sample time?
from ads-ioc.
The IOC can tell if the current sampling time is "too fast" by seeing if it has enough time to process all the PVs before the next scheduled update. I do not know if it is possible to continually change the parameter and optimize it, or if it needs to be set once at the start of the program as the module is currently written.
The consequence of not increasing the sampling time from 50ms is that you'll get your PVs back at arbitrary intervals, e.g. it will go "as fast as it can" and finish whenever it does. Having the sampling time too low can also theoretically impact PLC performance, but I'm not sure if this is a leading-order concern compared to the IOC process getting overloaded.
from ads-ioc.
Related Issues (20)
- Task index macro not used properly in database file HOT 1
- Determine task count dynamically for taskinfo.db HOT 7
- Motor record does not process autosaved DIR/OFF properly on startup
- Sum read errors -> set alarm severity?
- Read task exceed count using index group/offset HOT 1
- Enable setgid bit on directories during `make paths`
- Use /cds/data path instead of /reg/d path
- Enable rebuild of production IOC without installing files
- .archive file should have macros expanded HOT 2
- st.cmd.template typo
- Add alternative method for specifying PLC IP address HOT 2
- Automatically add IOC host route to PLC with ads-async at IOC boot
- Generate records that include version information
- autosave request file directory is probably in a bad location HOT 3
- IOC name inconsistencies with IOC manager HOT 3
- `make` control function "error" is nice for users but breaks introspection of dependencies HOT 1
- Improve error message when PLC project name misspelled
- Sort task database loading for consistency in output
- Ideas for reducing number of symbols read HOT 4
- IOC continues to run in error state even after bulk read issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ads-ioc.