Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000698Taste[All Projects] Ocarina - C code generationpublic2017-10-26 14:042022-12-06 12:28
Reportermiguel_munoz 
Assigned Tohugues 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformAllOSOS Version
Summary0000698:

Size of __po_hi_request_t is always the maximum

Description

The size of the message buffers sent by the bus drivers is __PO_HI_MESSAGES_MAX_SIZE, which is calculated from sizeof(__po_hi_request_t). This type is a union of all the possible types in the function interfaces.

The consequence is that the size of the data sent via e.g. a serial line does not depend on which interfaces have been mapped through this serial line. Instead, it depends on the maximum data type size in the model.

For instance, if we have an interface in the model with a parameter of size 1kB which local inside a partition, and a second interface with a size of 1byte that is mapped to a serial line between two partitions, the serial line will send 1kB for each byte of actual data transferred.

This makes any data transfer between partitions unusable as soon as there are large types defined in the system, even if they are not actually transferred between partitions.

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0003122)
hugues (administrator)
2017-11-15 12:11

See this patch as a template for drivers: https://github.com/OpenAADL/ocarina/issues/121 [^]

This has been tested with messages of various size on Linux/socket.
This patch must now be adapted for other drivers. This will be done as part of the update of these drivers.

(0003398)
maxime (administrator)
2018-07-02 10:02

What is the current status in POHIC now?

Is there such issue with POHIAda too ?

(0003821)
maxime (administrator)
2022-12-06 12:28

issues with big messages were fixed in polyorb


- Issue History
Date Modified Username Field Change
2017-10-26 14:04 miguel_munoz New Issue
2017-10-26 14:04 miguel_munoz Status

new => assigned

2017-10-26 14:04 miguel_munoz Assigned To

=> user2

2017-10-26 14:38 hugues Assigned To

user2 => hugues

2017-11-15 12:11 hugues Note Added: 0003122
2018-07-02 10:02 maxime Note Added: 0003398
2022-12-06 12:28 maxime Note Added: 0003821
2022-12-06 12:28 maxime Status

assigned => closed

2022-12-06 12:28 maxime Resolution

open => fixed



Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker