Académique Documents
Professionnel Documents
Culture Documents
FUNCTION DESCRIPTION
Uppgjord (ven faktaansvarig om annan) - Prepared (also subject responsible if other)
Nr - No.
Kontr - Checked
Datum - Date
Rev
2005-01-27
D1
1(28)
File
Miscellaneous function
Contents
Page
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1
Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
6.1
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6.2
6.3
SPAS SW characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7.1
Process priorities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7.2
7.3
Memory usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
8.1
8.2
Configuration Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
8.3
8.4
Testing Commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
8.5
8.6
Miscellaneous Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Identity
10/FD_MISCELLANEOUS-CELLO:SPAS_SUBSYS
FUNCTION DESCRIPTION
2(28)
Nr - No.
Rev
2005-01-27
D1
File
10
Abbreviations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
11
References. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
FUNCTION DESCRIPTION
3(28)
Nr - No.
Datum - Date
Rev
2005-01-27
D1
File
Introduction
This document describes some functions and characteristics of the Space
Switching subsystem.
1.1
Scope
The scope of this document is primarily to describe Cello SPAS functions that
are not described in any other SPAS FD. Functions not included in this document can be found in other FD:s describing the SPAS subsystem.
1.2
Revision History
Revision
Date
Description
030521
030703
040308
041210
D1
050211
4(28)
FUNCTION DESCRIPTION
Nr - No.
Datum - Date
Rev
2005-01-27
D1
File
Format
Typical Values
Boards
Comment
SPAS_BOARD_HW
[nISL,][CORE,]nSAI
SCB:
4ISL,CORE,1SAI
Exists on all
boards.
Parameter exists
on boards with
internal links.
n is an integer
CBU:
CORE,1SAI
SXB: 4ISL,1SAI
Other: 1SAI
SILI_RATE
sili_rate
sili_rate in Mbit/s
port_rate, port_label
x is an integer 0..7
port_rate in Mbit/s
Parameter exists
on boards with
internal links.
port_label is a
character
SPAS_ASCC_RESET
Parameter exists
on boards where
SPAS is
responsible for
ASCC reset.
SPAS_SPIC_RESET
Parameter exists
on boards where
SPAS is
responsible for
SPIC reset.
5(28)
FUNCTION DESCRIPTION
Nr - No.
Rev
2005-01-27
D1
File
Format
Typical Values
Boards
Comment
SPIC_CACHE_ENABLE
INGRESS, EGRESS
INGRESS and/or
EGRESS
Exists on all
boards where
cache shall be
enabled
Makes it possible to
enable ingress and or
egress cache(s) for
different boards.
Indicates if the
ingress and/or egress
cache shall be
enabled.
Read by HWDRV
*) For more information about these figures, see [10]. The values used in the
table is the applicable rounded off worst case values.
The parameters are accessed through the NVPI interface.
Loadmodule, object
Comment
K00
Basic, Start
Spic fault.
It is not possible to initialise the Spic.
K01
Basic, Start
Ascc fault.
It is not possible to initialise the ASCC.
This is only logged on SCB2 boards.
If the frequency of portm > the frequency of portn then RCU Data
Rate register of portm should be set to 1.
FUNCTION DESCRIPTION
6(28)
Nr - No.
Rev
2005-01-27
D1
File
If the frequency of portm < the frequency of portn then RCU Data
Rate register of portm should be set to 0.
The result from the TPO calculation is sent to the SaiRo object that handles
the RCU Data Rate registers. The SaiRo object also handles the ASCI rate.
The ASCI rate is read from the SAI_speed register in SPIC.
6.1
Overview
When buffers are configured, this is performed on a Quality of Service (QoS)
basis. A description of the QoS concept can be found in [4].
Note that the ASCI RATE parameter is not included in the calculation of buffer lengths. In the future, in order to make the calculation more accurate, the
ASCI RATE parameter should be taken into consideration.
Currently the maximum allowed delay times for the different QoS levels are
hard coded.
To improve the function in the future, the maximum allowed delay times
should be sent to the SaiRo object on each board. It should then be possible
for the saci server object and the ingress queue object to access these values
through a local interface. It should also be possible to change the QoS definition, either by using the MAO-FRO interface in the switchfabric object or by
using system parameters.
FUNCTION DESCRIPTION
7(28)
Nr - No.
6.2
Datum - Date
Rev
2005-01-27
D1
File
6.3
FUNCTION DESCRIPTION
8(28)
Nr - No.
Rev
2005-01-27
D1
File
After a warm restart the software is restarted and all variables are initiated but
the hardware is untouched.
cold restart
Boardtype = OTHER
No ISL state
link= enable
Qos1= 0
QoS2= 0
QoS3= 0
QoS4= 0
Traffic state
link= disable
Qos1= 100
QoS2= 500
QoS3= unrestricted
QoS4= unrestricted
warm restart
Figure 1. SILI buffer control function
SPAS SW characteristics
7.1
Process priorities
In Cello 4, process priorities are set to figures according to [5] and [6]. Since
SPAS is part of CORE, priorities are selected among following (from highest
to lowest priority):
H++
CELLO_CORE_PRIO_HIGH_PLUS_PLUS
H+
CELLO_CORE_PRIO_HIGH_PLUS
CELLO_CORE_PRIO_HIGH
M+
CELLO_CORE_PRIO_MEDIUM_PLUS
CELLO_CORE_PRIO_MEDIUM
L+
CELLO_CORE_PRIO_LOW_PLUS
CELLO_CORE_PRIO_LOW
FUNCTION DESCRIPTION
9(28)
Nr - No.
Rev
2005-01-27
D1
File
SPAS process priorities are specified in Table 3. For processes that have the
same name in backup_lm as in basic_lm the set process priority only applies
for basic_lm.
Table 3. Process priorities for Cello 4 and onwards.
Process
Prio
Motivation
Sys_Spas_metatag_proc
M+
Sys_Spas_mts_proc
H+
Sys_Spas_ingressqueue_proc
Sys_Spas_smid_proc
Sys_Spas_start_proc
ordinary
Sys_Spas_link_proc
link maintenance
Sys_Spas_silip_proc
ordinary
Sys_Spas_hwdrv_proc
H+
Sys_Spas_id_proc
Sys_Spas_userport_proc
ordinary
Sys_Spas_plane_proc
Sys_Spas_led_proc
ordinary
Sys_Spas_mor_proc
ordinary
Sys_Spas_linktable_proc
link re-connection
Sys_Spas_seci_proc
M+
Sys_Spas_sync_proc
ordinary
Spas_sgt_proc
L+
Spas_sgtcoremgr_proc
L+
Spas_resourceview_proc
ordinary
Spas_relprogmgr_proc
ordinary
Spas_connection_proc
Spas_sci_proxy_proc
Spas_sgl_proc
L+
Spas_planemanager_proc
ordinary
FUNCTION DESCRIPTION
10(28)
Nr - No.
7.2
Datum - Date
Rev
2005-01-27
D1
File
Start event
End event
Time
Supervisor 1s
send enabled
indication to
ReliableGro
upRo
Fault
disappear
Supervisor 20s
send enabled
indication to
ReliableGro
upRo
Fault
disappear
Board registers to
SMINFO
Periodically
0,4s
FUNCTION DESCRIPTION
11(28)
Nr - No.
Rev
2005-01-27
D1
File
Periodically
0,9s
View of boards is
frozen
Periodically
0,9s
Detect a new
inserted board
Board is
inserted
New
1,3s
SM_MAP is
sent from
Sminfo
Detect a restarting
board
Board is
restarted
New
1,3s
SM_MAP is
sent from
Sminfo
Detect removed
board
Board is
removed
2,2s
New
SM_MAP is
sent from
Sminfo
Recalculation of
TPO after a
ASCCI_SPEED
value is changed
New ASCCI
speed is
received in
SAI
New TPO is 5 s
calculated
and sent
from SAI
Update of
A board is
ingressqueues after removed
a board is inserted
or removed
The
<hwpt
ingressqueue
s has been
updated at all
other boards.
Detect a new
inserted link
SilipRo
<hwpt
receives
indication
from Hwdrv
about the
new inserted
link.
Link is
inserted
Info sent
next time
1s
Info sent
Info sent
next time
1s
Info from Id
Info sent
extension to id main
Info sent
next time
1s
LinkTable timeout
30s
FUNCTION DESCRIPTION
12(28)
Nr - No.
Rev
2005-01-27
D1
File
Any cause
for MAOFRO
interactions
received
Notification 5-6s
sent
FRO resource
notifications
Announce
received
Notification 3s
sent
Connect
10s
Status acted
on
ReliableGroupRo
shall receive a
queue length update
confirmations from
SilipRo
2s
Meta signalling.
ReliableGroupRo
has timers for
changing, updating
or checking a link
5s
Meta signalling.
ReliableGroupRo
link status
indications to
linktable, primitive
mode
25s
Meta Signalling.
ReliableGroupRo
enters primitive
mode after lost
contact with the
resourceview
5min
10min
Reliable Group
possible fault
timeout.
A Reliable
Group view
object is in a
possible
fault state.
The view
8s
object is not
in this fault
state any
longer.
FUNCTION DESCRIPTION
13(28)
Nr - No.
Rev
2005-01-27
D1
File
The SCI
server has
got a first
logical link
update from
the Resource
View after a
connection
request.
A timeout
5s
signal is got
after the last
update from
the Resource
View.
When a
Trani store
event occur
the Timer
will be set.
5s
A timeout
signal is got
and no Trani
store event
call done
after the last
Timer was
set. If any
store event
done a new
timer will be
set.
If the
xs
Control
max 18s
Response
signal is
received by
the sender
within the
timeout time
the timeout
is cancelled.
Control Request
Whenever a
signal timeout in the control
Announce protocol. request
signal has
been sent.
5s
Started when
RO_ANNO
UNCE is
sent.
End when
45s
RO_ANNO
UNCE is
cfm. If
timeout the
RO_ANNO
UNCE is
considered
to be lost and
a new
RO_ANNO
UNCE will
be sent.
FUNCTION DESCRIPTION
Nr - No.
Rev
2005-01-27
D1
File
Delete the
8s
Plane
Manager, i.e.
cancel
subscription
and initialise
attributes.
RO_ANNO
UNCE_CTR
L_CFM with
reject is sent.
Meta signalling.
2,5s
Meta signalling.
Lock or
Unlock
request to all
boards is
sent to PCC.
CFM is
received
from all
PCCs.
As long as
all boards
has not yet
been heard
from a new
timeout will
be started.
The SPIC
PCOC
mechanism
is
deactivated
2s
Meta signalling.
The SPIC
PCOC
mechanism
is activated
2s
Meta signalling.
14(28)
FUNCTION DESCRIPTION
15(28)
Nr - No.
Rev
2005-01-27
D1
File
Resourceannounce
proxy has a timer
which delays the
initialisation of a
resource.
2s
In SaiRo there is a
timer to filter lost
maintenance cells
status indication
from hwdrv.
If there is a
change from
Bad to Good
indicated in
the
maintenance
cell start the
timer.
If the cell is 5s
still
indicating
good after 5s
then send
indication to
resourcevie
w.
Connection
request from
LAC to the
CRS-server
is rejected.
When time 5s
out. Set the
CRS updated
flag to
TRUE.
Timer for
GET_SUPA. In
Meta
Request for
SUPA
SUPA
received.
0,4s
Get SMN
ID ask
SMN
SMinfo for received.
own SMN
from
SCB/CBU in
APN0 and 1
0.2s
Meta signalling.
FUNCTION DESCRIPTION
16(28)
Nr - No.
Rev
2005-01-27
D1
File
7.3
Info sent
next time
2s
SMID ask
the other
SCB/CBU
for another
opinion on
the SMN.
SMN
received
Number of restarts
Retrieve
from
restarted
boards no
restarts
All boards 2s
has
responded. If
not all
boards has
responded.,
the timer
restarts.
Meta signalling.
Subscription on
opState for
LinkGroup
Subscribe on
FRO_STAT
E. The
resource
view is not
ready.
Resource
0,2s
view ready
and
FRO_STAT
E is received,
Memory usage
NOTE: The figures in this chapter describes Cello 4 software.
7.3.1
Distribution
MP/CBU
FUNCTION DESCRIPTION
17(28)
Nr - No.
Rev
2005-01-27
D1
File
Distribution
spas_connection**
76
MP/CBU
spas_link**
56
BP (SCB/CBU + SXB)
spas_sm**
93
BP (SCB/CBU)
Pool memory
The SPAS load module that uses the most memory is the spas_resource lm.
The theoretical pool memory consumption values in Table 6. are fetched from
the document Resource Consumption SPAS Resource LM, ref. [9].
Table 6. Pool memory usage by spas_resource lm.
Memory type
49
Main SM
36
39
119
290
Not measured
FUNCTION DESCRIPTION
18(28)
Nr - No.
Rev
2005-01-27
D1
File
Not measured
Not measured
Pool Memory
400
350
kByte
300
250
Theoretical
200
Measured
150
100
50
0
0
Subracks
The measured values indicates that the values described in Table 6. are too
low. The difference might be explained for example by memory used by included proxies, memory used by other support processes in the load module
etc. In order to explain the differences in more detail, the work started in ref.
[9] should be finalized.
7.3.3
Heap memory
The theoretical values of heap memory used by the spas_resource load module is shown in Table 8.
Table 8. Heap memory usage by spas_resource lm
Memory type
Size (Kbytes)
Main SM
FUNCTION DESCRIPTION
19(28)
Nr - No.
Rev
2005-01-27
D1
File
Measurements have been performed on two different configurations as described in chapter 7.3.2, page 17. The results of the measurements are shown
in Table 9.
Table 9. Measured heap size values.
Node size
49,4
52,5
Not measured
Not measured
Not measured
Heap memory
60
50
kByte
40
Theoretical
30
Measured
20
10
0
0
Subracks
The measured values indicates that the values described in Table 8. are too
low. The difference might be explained for example by memory used by included proxies, memory used by other support processes in the load module
etc. Alignments has neither been considered.
FUNCTION DESCRIPTION
20(28)
Nr - No.
Rev
2005-01-27
D1
File
In order to explain the differences in more detail, the work started in ref. [9]
should be finalized.
8.1
8.2
Configuration Command
-
8.3
8.4
Testing Commands
-
8.5
8.6
Miscellaneous Commands
8.6.1
FUNCTION DESCRIPTION
21(28)
Nr - No.
Rev
2005-01-27
D1
File
all
glt
init
ingrq
egrq
Egress queues:
1-start recording
0-stop recording
red
Redundancy status
silip
sum
clk
Clock status
fs
cfs
help
Limitations
Example
$ spashwinfo clk
HW Clock Status:
- Current clk: Internal
- Clk_A_stat: Error
- Clk_B_stat: Error
- Local_clk_stat: Ok
8.6.2
FUNCTION DESCRIPTION
22(28)
Nr - No.
Rev
2005-01-27
D1
File
Limitations
Example
$ spaspccinfo
Plane Change Control Status:
- Active plane: A
- Ordered plane changes: 0 times
- Total plane changes: 0 times (Currently not working as it should)
- Control plane status: Enable
- Operational plane status: Enabled
- Armed plane status: Armed
- Plane A status: Ok
- Plane B status: Ok
- smAspStatusA: 1
- smAspStatusB: 0
8.6.3
FUNCTION DESCRIPTION
23(28)
Nr - No.
Rev
2005-01-27
D1
File
APN 32-63:
Indicated restarting boards are:
APN 0-31:
APN 32-63:
Topology Info SMID:
SCB in Main SM
Connected links are (port - remote port):
(0 - 1)
(1 - 2)
(2 - 1)
(3 - 1)
8.6.4
FUNCTION DESCRIPTION
24(28)
Nr - No.
Rev
2005-01-27
D1
File
MainStatOwn 8, MainStatOther 8
Working 5, Supervise 5 (1=own, 2=Other, 3=Both)
MainStatOwnPhysLink 8, MainStatOtherPhysLink 8 (6=Enabled, 8=Disabled, 1=Unknown)
RelGrupRoState 3 (1=Init, 2=Announce, 3=Stopped, 4=Created, 5=InitStopped)
ModeFlag 2 (1=Primitive, 2=Normal)=
LinkTableError0-31 0x0, LinktableError32-63 0x0
Data for RgRo [2] is
Other APN 0, Other Port 0, Other EAPN0
ExtensionSm 256, Extension APN 256, ExtensionPort 256 LinkTableEntry 0
MainStatOwn 8, MainStatOther 8
Working 5, Supervise 5 (1=own, 2=Other, 3=Both)
MainStatOwnPhysLink 8, MainStatOtherPhysLink 8 (6=Enabled, 8=Disabled, 1=Unknown)
RelGrupRoState 5 (1=Init, 2=Announce, 3=Stopped, 4=Created, 5=InitStopped)
ModeFlag 2 (1=Primitive, 2=Normal)=
LinkTableError0-31 0x0, LinktableError32-63 0x0
Data for RgRo [3] is
Other APN 0, Other Port 0, Other EAPN0
ExtensionSm 256, Extension APN 256, ExtensionPort 256 LinkTableEntry 0
MainStatOwn 8, MainStatOther 8
Working 5, Supervise 5 (1=own, 2=Other, 3=Both)
MainStatOwnPhysLink 8, MainStatOtherPhysLink 8 (6=Enabled, 8=Disabled, 1=Unknown)
RelGrupRoState 5 (1=Init, 2=Announce, 3=Stopped, 4=Created, 5=InitStopped)
ModeFlag 2 (1=Primitive, 2=Normal)=
LinkTableError0-31 0x0, LinktableError32-63 0x0
8.6.5
FUNCTION DESCRIPTION
25(28)
Nr - No.
Rev
2005-01-27
D1
File
Example
$ spasislledinfo
Ledstatus ISL0 = ISL_LED_FLICKERING
Ledstatus ISL1 = ISL_LED_ON
Ledstatus ISL2 = ISL_LED_OFF
Ledstatus ISL3 = ISL_LED_SLOW
8.6.6
Limitations
Please not that by using this command some of the register values are reset.
See ref. [16] for details.
Example
No example included. (Currently the command do not working as it should)
8.6.7
FUNCTION DESCRIPTION
26(28)
Nr - No.
Rev
2005-01-27
D1
File
Input parameters
reg number in HEX
bit<size>
byte<size>
bb<size>
list
Default
Limitations
Please not that by using this command some of the register values are reset.
Seeref. [8] for details.
Example
$ readSpicReg 3000 -bit 10
7
01
3
1111
0
0100
3
00
2
00
1
01
0
f4
0000 0000
0000 0001
1111 0100
FUNCTION DESCRIPTION
27(28)
Nr - No.
Datum - Date
Rev
2005-01-27
D1
File
10
Log Identity
Usage
K00
K01
Abbreviations
ASCC
ASCI
CBU
DBM
ELGI
FRO
ISL
LED
LM
Load Module
MAO
MGW
Media GateWay
MP
Main Processor
NVPI
RCU
RNC
SAI
SCB
SILI
FUNCTION DESCRIPTION
28(28)
Nr - No.
11
Datum - Date
Rev
2005-01-27
D1
File
SM
Switch Module
SPAS
Space Switching
SPIC
SSI
SXB
SUPA
SUUA
TPO
QoS
Quality of Service
References
[1]
FS-CELLO:EQUIPMENT_RESOURCES_SF
[2]
FD_SWITCH_REDUNDANCY-CELLO:SPAS:SPAS_SUBSYS
[3]
FD_LINK_REDUNDANCY-CELLO:SPAS:SPAS_SUBSYS
[4]
1/FD_CONNECTION-CELLO:SPAS_SUBSYS
[5]
20/DesignRules_ProcPrio-CELLO:SYSTEM
[6]
ERA/RL-00:1912
[7]
2/UserGuide-CELLO:CLS:DBM_PBA
[8]
IWD-CELLO:SPAS:BP-SPIU_IFU
[9]
[10] ERA/RL-00:1453
[11] target data script
The script can be found in clearcase in the
/vobs/cello/civ/test_utilities/scripts/targetdata directory.
[12] ObjSpec_SLT-CELLO:SPAS:TOPOLOGY_SWB
[13] 6/ObjSpec_LED-CELLO:SPAS:HWSUPPORT_SWB
[14] ObjSpec_SILIP-CELLO:SPAS:LINK_SWB
[15] 3/ObjSpec-CELLO:SPAS:USERPORT_SWB
[16] IWD-CELLO:SPAS:ASCI_IFU
[17] 6/FD_START-CELLO:SPAS_SUBSYS
[18] 23/DesignRules_HWTest-CELLO:SYSTEM