Title: Summary of Gedae Implementation Controls
1Summary of Gedae Implementation Controls
- William I. LundgrenGedae, Inc.Telephone 856
231 4458Fax 856 231 1403Email
gedae_at_gedae.comWebsite www.gedae.com
2Overview
- Summary of Group Control Dialog
3Group Control Dialog Summary
Select option to run partitions in host process
(development) or as separate executables
Select from 4 memory packers
The embedded configuration file specifies the
hardware configuration
4Queue Policy
- Auto-resize Queues
- Gedae sets queue sizes based on local data flow
- It reduces data flow deadlock
- It does not guarantee deadlock free data flow
Select queue sizing policy
5Queue Policy (continued)
- Runtime-resize Queues
- Gedae identifies deadlock and increases queue
size to break deadlock - The graph must be running on the host
- Steps
- enable Runtime-resize Queues
- run the graph
- after queue sizes stabilize, save the group
settings - partition the graph
- run the graph again to verify queue sizes
- save the group settings
- enable Run on Embedded
- run the graph
Select queue sizing policy
6Partition Group...
Set partition name for hierarchical box
Set partition names using an equation
Tabular listing of primitives corresponds to
graph hierarchy
7Map Partitions...
Set the number of trace events to be collected
Set logical processor number using an equation
Set the memory bank for allocation of trace events
Gedae BSP name for that logical processor
Flat list of partitions defined in the Partition
Group dialog
Set target specific parameters
8Set Transfer Methods...
Gedae reports the source and destination logical
processor s
Set the buffer size if there is a buffer
associated with the transfer mechanism
Hierarchical list of data transfers between
partitions required to implement flow graph
Set the number of send and receive buffers for
multi-buffering
Set the transfer type from those specified in the
embedded configuration file
9Set Granularities...
Gedae reports the natural and maximum
granularities
The developer can set the priority to control the
order of execution
Hierarchical list by schedule and multiple levels
of subschedules
The number of times a schedule fires in 1
execution
The developer can set the actual granularity to a
number lt the maximum
10Partition Memory...
Those outputs marked with a dependency are
inplace with some other outputs
The developer can set the the memory partition to
an arbitrary ASCII name
Hierarchical list of outputs with an option to
view inputs
11Set Queue Capacities...
The developer can specify the memory from which
the queue is allocated
Gedae reports the size of the queue in bytes
Gedae reports the source and destination policy
The developer can set the queue size as number of
tokens
Flat list of all queues required to implement the
application
12Group Control Dialog Summary 8Set Queue
Capacities... (continued)
- User can set the source (src) and destination
(dest) Q policy - Controlling (cont) schedule size controlled by
the number of tokens available on the queue.
Controlling is the default for static
destinations. - Required (req) queue must have the amount of
data needed to satisfy controlling queues.
Required is the default source policy. - Non-required (nreq) schedule can run and
availability would not be checked until runtime.
Non-required is hardwired for nondeterministic
queues.
13Set Schedule Parameters...
Gedae reports the size of the threads memory
segments in bytes
The developer can set scheduling policy to be
used by the dynamic scheduler
Hierarchical list of partitions, threads,
subthreads, and memory partitions
The developer can specify the memory from which
the schedule is allocated
14Open Configuration Viewer...
Gedae reports the system and processor type
The physical processor associated with the
logical processor number
Hierarchical list of all processors accessible
from this processor
15The Embedded Configuration File
- File
- FGlibraries/emb_config_files/embedded_config_lthost
_namegt - Information is used by Gedae to determine Group
Control options - List of processors
- Logical processor number
- String used by the Gedae kernel for this hardware
- Processor type name
- List of communication methods
- Name and logical processor pairs that can use the
method - List of processor types
- Specifies processor related parameters
16Example Embedded Configuration File
- Host_Desc linuxppc
- Processor_Desc
- 0 "local" "linuxppc"
- 1 "local" "linuxppc
- 100 spe0 spu
- 101 spe1 spu
- 102 spe2 spu
- 103 spe3 spu
-
17Example Embedded Configuration File
- Communication_Desc
- stream_socket (0..1)
- stream_inet (0..1)
- stream_unix (0..1)
- stream (100..103)
- dsa (100..103)
- common (100..103)
18Example Embedded Configuration File
- Processor_Types
- linuxppc
- Type "elinuxppc"
- Make_Params "elinuxppc/runtime_make_info"
- Info ""
- Memory_Desc
-
-
19Example Embedded Configuration File
- Processor_Types
-
- spu
- Type spu
- Make_Params "spu/runtime_make_info"
- Info "-h 1000000"
- Memory_Desc
- sysmem 0
- lp_sysmem 0
-
-
20Create Launch Package...
Gedae reports the name of the applicable group
Set parameter names to be used from the CPI
(Command Program Interface)
Specify the location of the launch package, the
command program to use and command program
libraries. Gedae auto-generates a command program
that can be
Choose the structure of the application