• No se han encontrado resultados

ANEXO II. PROPOSICIÓN ECONÓMICA

6.3 Lote 3. Transmisión de datos en sedes remotas y acceso a Internet

6.3.1 Servicio de transmisión de datos en sedes remotas

This section presents both simulation and experimental results that allow assessing the potential of FTT-SE to eciently use the aggregated switch throughput and to verify the correctness of the implementation as well as the protocol capability to enforce jitter control in synchronous trac when compared to using a COTS switch without any further transmission control.

3.5.1 Periodic trac simulation results

The trac scheduling model used in FTT-SE enforces a strict priority order in the scheduling of messages, even if it leads to the insertion of idle time in the synchronous windows of the ECs. This happens whenever the scheduler moves on to the next EC while there is still capacity left in some links and the ready queue is not empty. Such idle time depends on the specic scheduling policy used and introduces a degradation of the eciency in the use of the switch aggregated throughput.

To assess such degradation several simulations were carried out with ran- domly generated message sets using both RM and EDF scheduling. The operational parameters considered an EC duration of 5ms and a maximum synchronous window duration (LSW) of 85% of the EC (4.25ms). The mes- sage sets were generated with uniform distributions according to the follow- ing parameters: period between 1 and 4 ECs, deadline equal to period, single packet messages with payload between 1200 and 1450 data bytes, Publisher chosen from {A, B, C, D, E, F, G, H} and Subscriber chosen from {A, B, C, D, E, F, G, H, Broadcast}\{Publisher} and considering three dierent cases: no broadcasts, 50% broadcasts and 100% broadcasts. The two rst cases verify the capability for taking advantage of the parallel forwarding paths. Moreover, despite the protocol supporting the specication of osets among the synchronous streams the simulations considered a synchronous release of all messages since we were interested in detecting worst-case re- sponse times.

The message sets were generated in order to obtain a given utilization value of the most loaded link. Thus, new messages were continually ap- pended to the set until one link reached the predened maximum load. This generation method was used because it prevents queue overows with an appropriate load threshold.

Figure 3.11: Schedulable sets versus the aggregated submitted load with EDF (bottom) and RM (top).

Each of the generated sets was simulated using both EDF and RM scheduling policies. The simulations were carried out until a deadline was missed or the full macro-cycle elapsed in which case the set was considered schedulable. The ratio of schedulable sets for EDF and RM with respect to the total number of generated sets is shown in Figure 3.11. This ratio is shown as a function of the total load submitted to the switch, corresponding to the generated sets. In general, as expected, EDF (bottom) generates more schedulable sets than RM (top) despite the dierence being relatively small (less than 10% of the schedulability ratio). Nevertheless, this experiment shows how easy it is to inherit the benets of EDF trac scheduling over COTS switches using FTT-SE.

Also as expected, the switch utilization with broadcast trac is rather low since parallel forwarding paths are not exploited. There can still be a small level of parallelization between the uplinks and downlinks inherent to full duplex but it is rather limited. Conversely, without broadcasts the switch allows for a substantial increment in the utilization of its aggregated band- width. In this case, there were 8 publishers connected to the switch through 100 Mbps ports and generating trac further constrained by the synchronous window with a maximum duration of 85% of the EC. In these circumstances, the maximum aggregated throughput is 680 Mbps. The gures show that, in the unicast-only case, EDF and RM are capable of successfully scheduling all generated sets with aggregated utilization of 55% and 50% of that abso-

Publishers 1-9 Rx 1 FTT-SE

master

Figure 3.12: The experimental platform.

lute maximum and, in some cases, up to 80% and 73%, respectively. These numbers, however, cannot be generalized since they depend on the evenness of the load distribution across the switch links. Nevertheless, these values show that FTT-SE is capable of eciently exploiting the switch aggregated capacity, whenever the load is evenly distributed across the links.

The values obtained with 50% broadcasts are intermediate values that illustrate the penalty that these transmissions cause. It is interesting to observe that the schedulability ratio grows approximately 50% when moving from the 100% broadcasts to the 50% broadcasts case but when moving to no broadcasts, such improvement is near 450%. This indicates that broadcasts impose a severe penalty on trac schedulability even if in low number.

3.5.2 Experimental results

The prototype implementation of the FTT-SE protocol was carried out on the RT-Linux [54]1 real-time operating system over the Ethernet layer pro-

vided by the LNet network stack [53]1. Several practical experiments were

carried out to verify the correctness of the implementation as well as the level of jitter control. The experimental platform, shown in Figure 3.12, comprises eleven computers interconnected by an Allied Telesyn model 8024 Ethernet switch, with 24 ports and 2 priority levels. The computers included one Celeron at 2.2GHz, one Pentium III at 550MHz, six Celeron at 735MHz as well as three SBCs with Pentium MMX at 266MHz. The network interface

ID C(bytes) T(=D)(ms) maxjw(µs) maxjwo (µs) 2 1000 1 483 996 7 1000 1 174 984 8 1000 1 170 1003 3 3840 3 92 932 1 3840 4 893 559 4 3840 4 316 446 5 3840 4 1000 521 6 3840 4 137 561 9 1480 8 4132 436

Table 3.2: Message set used in the FTT-SE experiments.

cards (NICs) were Intel 8255 and 3Com 3C905B.

One of the computers was dedicated to the FTT Master, nine computers were data publishers, publishing one message each, and the last computer was a subscriber of all those nine message streams. Only one subscriber is used in this experimental assessment to maximize the messages concurrency in a single link, creating a worst-case latency, and probably jitter, situation. The message set is detailed in Table 3.2 and mixes messages with dierent periods as well as single-packet (messages 2 and 7 to 9) and multi-packet (messages 1 and 3 to 6). Remember that FTT-SE handles transparently the fragmentation and re-assembly of multi-packet messages, allowing preemp- tion between packets. The total load submitted by this set is approximately 68,6 Mbps. Concerning the operational conguration of FTT-SE, the EC duration was set to 1ms and the LSW to 85% of the EC, i.e., 0,85ms. The trac scheduling was RM.

The same experiments were also carried out with the publishers sending information at the same rate but without the transmission control mecha- nisms provided by FTT-SE. The inter-arrival instants of all messages at the subscriber node were recorded for both of these congurations referred to as with and without FTT.

Firstly, an experiment was carried out to assess the infrastructure jitter, i.e., the jitter due to the operating system, network device drivers and packet switching. This is the base jitter of the system without any scheduling in- terference. This preliminary experiment consisted in the transmission of a single periodic message, with 1500 data bytes, transmitted every EC (1ms) by one of the slower computers, during 560s. In this case there is no schedul- ing jitter and thus the jitter observed is only caused by the communication infrastructure. As depicted in Figure 3.13, the infrastructure jitter is lower

1RTLinux and LNET were by 2006 supported by FSMLabs Inc. They are currently

Figure 3.13: The infrastructure jitter.

than 5µs for 99% of the samples, with a single occasional maximum of 43µs. The following experiments consisted on the transmission of the full mes- sage set dened in Table 3.2 during approximately 300s, both with and without the FTT-SE protocol. The maximum measured jitter is also shown in the same table in columns maxjw and maxjwo, for the cases of with and without FTT-SE, respectively. The jitter jw and jwo was measured taking

the modulus of the dierence of consecutive message arrival timestamps. This is also know as the relative jitter.

Figure 3.14 and Figure 3.15 show the histograms of two selected messages, one high priority and the other with lowest priority, respectively, both with and without FTT-SE. The results obtained are illustrative. In the absence of transmission control, i.e., the case without FTT-SE, the clocks of the various publishers are not synchronized and the respective relative drifts lead to situations that vary from high contention periods, in which all transmissions arrive at the subscriber uplink within a short interval and are queued and thus delayed, to other situations in which the transmissions are de-phased, thus with practically no mutual interference and no delay. This explains the large spread in the inter-arrival time observed in the respective histograms. Conversely, with FTT-SE the system nodes are globally synchronized by the TM and the submitted load is always within the capacity of the syn- chronous window of each EC. However, within the EC, the trac is managed solely by the switch, without control of the FTT-SE. The jitter that results from the system is of two types, sub-EC, caused by interference among the streams in the FIFO queues in each EC, and scheduling induced, caused by the actual FTT-SE scheduling activity on a time scale with a resolution of 1 EC. The former type is clearly visible in messages 2, 7 and 8, generated by dierences in the speed of the respective computers in responding to the

Figure 3.14: Histogram of inter-arrival times for message 7.

TM. In some cases, e.g., multi-packet message 3, the jitter value is especially low because it refers to the last packet, which is sent later in the EC, being queued after all others and thus in a relatively constant position in the FIFO queue. The latter type of jitter, i.e., scheduling jitter, is visible in message 9 which has the lowest priority, thus being sometimes scheduled several ECs later by RM scheduler.

Finally, the transmission control enforced by FTT-SE may also be bene- cial under highly bursty loads. Without the transmission control the level of contention at the receivers might be too high for many network device drivers, which simply crash. The transmission control of FTT-SE prevents this abnormal situation by maintaining the submitted load under manage- able levels per EC, obviously at the expense of enlarging the processing time for the same load. Nevertheless, this is sucient to avoid such crashes and keep the system running. This phenomenon has been observed several times during the practical experiments.

3.6 Conclusion

The advent of switched Ethernet has opened new perspectives for real-time communication over Ethernet. However, a few problems subsist related with queue management policies, queue overows and limited priority support. Meanwhile, several techniques were proposed to overcome such diculties but they require specic hardware, are inexible with respect to commu- nication parameters or do not enforce timeliness guarantees. This chapter proposed using the FTT paradigm to achieve exible communication with high level of control to guarantee timeliness and provide adequate queues

Figure 3.15: Histogram of inter-arrival times for message 1.

management in micro-segmented Ethernet networks. This resulted in the FTT-SE protocol. The chapter presented the mechanisms used to handle the periodic and aperiodic trac and provided rules that allow building EC- schedules that respect the duration of the predened transmission windows. Moreover, it described some implementation-oriented mechanisms intrinsic to the protocol that must be considered when instantiating the protocol in a system. Finally, several simulation and experimental results were obtained that exhibit the eciency of the proposed approach in terms of using the aggregated switch throughput and enforcing dierent trac scheduling poli- cies. The results achieved also highlight the higher level of jitter control possible with FTT-SE when compared with COTS switches. However, for applications that are highly sensitive to jitter, further mechanisms might be required to also enforce low sub-EC jitter.

Documento similar