-
Notifications
You must be signed in to change notification settings - Fork 8
Memory budget ignores Memory_Size on system and virtual processors and related issues #2169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Additionally, I would expect to be able to model a virtual machine as a system with potentially multiple virtual processor subcomponents. In that case |
@reteprelief Could you have a look at the example, please, and check if this is a bug or not? |
The current bound memory budget analysis only considers things bound to memory components. Furthermore it only considers directly bound components. On the positive side for an application component that is bound the analysis considers memory requirements of application subcomponents. Given the example it makes sense to support system components with memory size property as a component that other components can be bound to. Actually, the way the memory binding property is defined we need to consider abstract, virtual processor, processor as well. |
Trying to understand what exactly I need to do here. It looks like I need to do the following:
|
Updated Had to update Ran on the above example, and it seems to do something reasonable. |
Also had to update the |
Summary
I'm trying to perform memory budget analysis for a system. The system consists of a physical execution platform, a virtual machine, and an application. The application is bound to the virtual machine and the virtual machine is bound to physical processors. The AADL standard allows the
Memory_Size
property to be used on processors, virtual machines, and systems. I'd like to use it on a virtual processor representing the virtual machine to represent the total memory that is available for use by applications running on the VM. On the physical side, i'd like to bind to a system that represents that hardware and hasMemory_Size
set to the total memory provided.Expected and Current Behavior
After creating such a model, I expect the memory budget analysis would produce results based on the specified property values.
However, the bound resource analysis plugin produces a message
No Memory with Memory_Size or RAMCapacity or ROMCapacity
. While that is somewhat clear it is expected that it would support Memory_Size for virtual processors and other cases as well. The unbound analysis does not include memory at all.Lastly, I would expect to be allowed to specify a
RAMBudget
andROMBudget
for the virtual processor to express how much memory is is estimated to require. The amount of memory provided by a virtual processor may not be the same as the amount it provides to which it is bound.Steps to Reproduce
Run bound and/or unbound resource budget analysis on the provided model.
Environment
The text was updated successfully, but these errors were encountered: