Providing Delay Guarantees in IEEE 802.11e Networks - CiteSeerX

4 downloads 0 Views 240KB Size Report
“Jurassic Park” trace taken from [13]). The 7 MPEG-4 flows share the radio medium of a 802.11b WLAN with seven best-effort FTP flows, the data rate has been ...
Providing Delay Guarantees in IEEE 802.11e Networks A. Annese, G. Boggia, P. Camarda, L. A. Grieco and S. Mascolo DEE - Politecnico di Bari, Via E. Orabona, 4 - 70125 Bari (Italy) Email: {a.annese, g.boggia, camarda, a.grieco, mascolo}@poliba.it

Abstract— This paper proposes a Feedback Based Dynamic Scheduler (FBDS) to allocate the first-hop bandwidth in the IEEE 802.11e using the HCF controlled channel access. Properties of the proposed control algorithm are investigated both theoretically and using ns-2 simulations. The obtained results show that the proposed FBDS algorithm succeeds in guaranteeing delay bounds required by audio/video applications in the presence of a very broad set of traffic conditions and network loads.

I. I NTRODUCTION The interest for ubiquitous network services is leading to a wide development of Wireless Local Area Networks (WLANs) as access systems. Moreover, the need for wireless multimedia transmission services is continuously growing [1]. For these reasons the IEEE Working Group 802.11e has proposed the new Hybrid Coordination Function (HCF) medium access control mechanism as an innovative framework to address the first hop bandwidth allocation issue in WLAN [2]. This paper proposes a novel control theoretic approach for designing a feedback based channel bandwidth allocation algorithm with the HCF controlled channel access, which guarantees delay constraints of audio/video applications. Properties of the proposed Feedback Based Dynamic Scheduler (FBDS) are theoretically investigated; moreover, ns-2 simulations are developed to highlight the effectiveness of the proposed control algorithm in the presence of realistic traffic conditions. The FBDS algorithm is compared with the static one proposed by 802.11e and with the DCF and EDCA access methods, described in the next section. Simulation results show that FBDS is able to guarantee delay bounds required by audio/video applications in presence of a large set of traffic conditions and network loads, whereas other schemes fail. The rest of the paper is organized as follows: Section II gives an overview of the 802.11 MAC protocol and of QoS enhancements; Section III describes the FBDS allocation algorithm; Section IV reports ns-2 simulation results. Finally, the last section draws the conclusions. II. T HE IEEE 802.11 MAC The basic 802.11 MAC protocol is the Distributed Coordination Function (DCF), which is based on the Carrier Sense Multiple Access/Collision Avoidance (CSMA/CA) mechanism: for each frame a station listens the channel before transmitting; if a station detects an idle channel for a minimum interval time called DCF Interframe Space (DIFS), then it transmits immediately a MAC Protocol Data Unit (MPDU). Otherwise,

if the medium is sensed busy, transmission is deferred until the channel is sensed idle for a DIFS period plus an additional random backoff time [3]. In order to try to support time-sensitive services, the 802.11 standard defines the Point Coordination Function (PCF) as an optional access method which provides a contention-free medium access. The Point Coordinator (PC) polls the stations asking for time-sensitive service and allows them to transmit a data frame without channel contention. With PCF, the time is divided into repeated periods, called SuperFrames (SFs), which consist of a Contention Period (CP) and a Contention Free Period (CFP). During the CP, the channel is accessed using DCF whereas, during the CFP, is accessed using the the PCF. It is worth to note that the PC cannot adaptively allocate the wireless channel capacity by taking into account the status of mobile stations, because it does not know the starting time and the transmission duration of the polled stations under its coordination [4]. A. IEEE 802.11e QoS enhancements The IEEE 802.11e Working Group has proposed a new MAC mechanism for supporting QoS in WLAN called the Hybrid Coordination Function (HCF) [2]. The HCF has a contention-based channel access, known as the Enhanced Distributed Coordination Access (EDCA), and a HCF Controlled Channel Access (HCCA). Stations operating under 802.11e specifications are usually known as enhanced stations or QoS Stations (QSTAs). The use of the HCF requires a centralized controller, which is called the Hybrid Coordinator (HC) and is generally located at the access point, which connects stations with a wired backbone. Similarly to the PCF, the time is partitioned in a infinite series of superframes. In order to provide service differentiation, the 802.11e defines 8 Traffic Categories (TCs) with the priority values of the IEEE 802.1D standard [5]. To satisfy QoS requirements to each TC, the concept of TXOP (Transmission Opportunity) is introduced, defined as the time interval during which a station has the right to transmit [2], [4]. 1) The EDCA method: defines four Access Categories (ACs) to support the mentioned eight TCs (there is a map between ACs and TCs; for details see [2]) It operates as the basic DCF access method with the difference of using different contention parameters per access category. In this way, a service differentiation among ACs is statistically pursued [6]. 2) The HCCA method: combines some of the EDCA characteristics with some of the PCF basic features as it is shown in

Fig. 1. Each superframe starts with a beacon frame after which, for legacy purpose, there could be a contention free period for PCF access. The remaining part of the superframe forms the CP, during which the QSTAs contend for accessing the radio channel using the EDCA mechanism. After the medium Superframe TCA CAP





DIFS



PIFS

Beacon ACK

DIFS

ACK

RTS



DATA

SIFS

backoff time



AIFS

Stations



SIFS



EDCA

QoS CF-Poll SIFS

QoS CF-Poll PIFS

Beacon

CAP (HCCA)

SIFS

HC

EDCA

PIFS

PCF

Each QSTA has N queues, with N ≤ 4, one for any AC in the 802.11e proposal. Every interval time TCA , the AP must allocate the bandwidth that will drain each queue during the next CAP. We assume that at the beginning of each CAP, the AP is aware of all the queue levels qi , i = 1, . . . , M , where M is the total number of traffic queues in the WLAN system. The dynamics of the ith queue can be described by the following discrete time linear model: £ ¤ (1) qi (k + 1) = qi (k) + dsi (k) − dCP i (k) + ui (k) · TCA

DATA

TXOP

TXOP

( Station n, SP n )

( Station m, SP m )





… time

Fig. 1. Schematic of a superframe using the HCF controlled access method.

remains idle for at least a PIFS interval during the CP, the HC can start a Contention Access Phase (CAP). During the CAP, only polled (with a special QoS CF-Poll frame) and granted QSTAs are allowed to transmit. Thus, the HC implements a prioritized medium access control. The number of CAPs and their locations in each superframe are chosen by the HC in order to satisfy QoS needs of each station. CAP length cannot exceed the value of the system variable dot11CAPLimit [2]. Each CAP ends after the medium remains idle for a DIFS interval. During each CAP, the HC assigns TXOPs to QSTAs in order to meet predefined service rate, delay and/or jitter requirements. In particular, the contiguous time during which TXOPs are granted to the same QSTA is called Service Period. The interval between two successive SPs is called Service Interval. The IEEE 802.11e specifications allow QSTAs to feed back queue lengths of each AC to the HC. This information is carried on a 8 bits long subfield contained in the QoS Control Field, during data transmission both in the CAPs and in CPs; queue lengths are reported in units of 256 octets. This allows HCF-based dynamic bandwidth allocation algorithms be designed using feedback control [7]. The 802.11e standard does not specify how to schedule TXOPs in order to provide the required QoS; it only suggests a simple scheduler that uses static values declared in TSPECs for assigning fixed TXOPs (details about this scheduler can be found in [2] and [8]). This scheduler does not exploit feedback information from mobile stations in order to dynamically assign TXOPs. Thus, it is not well suited for bursty media flows. In the following section, we will design a novel closed-loop control scheme based on feeding back queue levels to guarantee the typical QoS requirements of audio/video applications.

where qi (k) ≥ is the ith queue level at the beginning of the k th CAP; dsi (k) ≥ 0 is the average input rate at the ith queue during the k th interval between CAPs, dCP i (k) ≥ 0 is the amount of data transmitted by the ith queue during the k th CP divided by TCA , and ui (k) ≤ 0 is the average depletion rate of the ith queue (i.e., the bandwidth assigned to drain the ith queue). Eq. (1) may be rewritten as follows: qi (k + 1) = qi (k) + di (k) · TCA + ui (k) · TCA

where di (k) = dsi (k) − dCP i (k). The bandwidth ui (k) is dynamically assigned by the HC for allowing data transmission during the CAPs. On the other hand, di (k) is unpredictable since it depends on the behavior of the source that feeds the ith queue and on the number of packets transmitted during the CPs. From a control theoretic perspective this function can be modelled as a disturbance. Without loss of generality, the following model P+∞ for the disturbance di (k) can be assumed [7]: di (k) = j=0 d0 j · 1(k − tj ), where 1(k) is the unitary step function, d0 j ∈ R, and tj is a time lag. Due to this assumption and to the superposition principle that holds for linear systems, we will design the feedback control law by considering a step disturbance: di (k) = d0 · 1(k). The goal of the control law we want to design is to drive the queuing delay τi experienced by each frame going through the ith queue to a desired target value τiT . The target queuing delay τiT represents the QoS requirement of the AC associated to the ith queue. For that purpose we consider the control scheme in Fig. 2, where both a proportional controller and feedforward disturbance compensation have been exploited. For the time being, the transfer function of the feedback branch H(z), which models feedback delays, will be assumed equal to one, then the impact of a delayed feedback will be analyzed. By considering Fig. di (k )

τ iT

III. T HE C ONTROL S YSTEM In this section the Feedback Based Dynamic Scheduler (FBDS) is developed. It is based on the assumption that the interval between two successive CAPs is kept constant and equal to TCA . The HC is also in charge to assign TXOPs to each AC queue within each station thus also solving the internal contention among ACs. In the sequel, we will refer to a WLAN system made of an Access Point (AP) and a set of quality of service enabled mobile stations (QSTAs).

(2)

TCA

1 ki qiT

– ki

ui (k + 1)

TCA

+

+

+

– H( z ) Fig. 2.

qi (k + 1)

+ z −1

Control scheme of FBDS.

z −1

2, the Z-transforms of ui (k) and qi (k) are: Ui (z) = −

ki · TCA · z + (z − 1) · (1 − ki · z · (z − 1 + ki · TCA )

τiT )

· Di (z) (3)

z + ki · τiT − 1 · Di (z). (4) z · (z − 1 + ki · TCA ) From Eq. (4), the system has a pole at zp = 1 − ki · TCA and it is asymptotically stable if and only if |zp | < 1. The latter condition turns out the following upper bound on the admissible proportional gain ki : Qi (z) = TCA ·

0 < ki < 2/TCA .

(5)

In the sequel, we will always assume that ki satisfies the asymptotic stability condition (5). By applying the final value theorem to Eqs. (3) and (4), z where again Di (z) = d0 · z−1 , the following result turns out: ui (+∞) = −d0 ;

1) Channel saturation: The proposed FBSD algorithm is based on the implicit assumption that the sum of the TXOPs assigned to each queue is smaller than the maximum CAP duration, which is the dot11CAPLimit. When the latter condition is violated, it is necessary to reallocate the TXOPs to avoid exceeding the CAP limit. This task is performed by decreasing each computed T XOPi (k0 ) by an amount ∆T XOPi (k0 ). In particular, the generic amount ∆T XOP PMi (k0 ) is computed as a fraction of the total amount ∆ = i=1 [T XOPi (k0 ) − ∆T XOPi (k0 )] as follows: T XOPi (k0 )Ci ∆T XOPi (k0 ) = PM ∆. i=1 [T XOPi (k0 )Ci ]

Notice that Eq. (9) provides a ∆T XOPi (k0 ) that is proportional to T XOPi (k0 )Ci , thus avoiding to penalize too much multimedia sources transmitting at low rates.

qi (+∞) = d0 · τiT ,

IV. P ERFORMANCE E VALUATION

which implies that the the steady state queueing delay is: τi (+∞) = |qi (+∞)/ui (+∞)| =

τiT .

(6)

The analysis proposed so far is based on the assumption that QSTAs feed back queue lengths qi (k + 1) to the HC at the beginning of each CAP. Actually, this feedback is asynchronous since it is carried by frame headers, as described in Sec. II-A. Thus, if the ith queue length has been fed at the beginning of the previous CAP, then the feedback signal might be delayed up to TCA seconds. For this reason, now we investigate the stability of the proposed control system when in the presence of a delay of one step affecting the feedback branch. In this case H(z) = z −1 and from √Fig. 2 it is easy to i ·TCA derive the system poles, which are zp = 1± 1−4k , which 2 give an asymptotically stable system if and only if |zp | < 1, that is: 0 < ki < 1/TCA . (7) By considering the system reported in Fig. 2, where di (k) = d0 · 1(k), 0 < ki < 1/TCA and H(z) = 1, a necessary and sufficient condition to avoid overshoot (undershoot) of the queue length (assigned bandwidth u) is τiT ≥ TCA . This result can be easily derived by transforming back to time domain z Eqs. (3) and (4), where Di (z) = d0 · z−1 . A. TXOP assignment and channel saturation We have seen in Sec. II-A that every CAP HC allocates TXOPs to mobile stations in order to meet the QoS constraints. This sub-section shows how to transform bandwidth assignments ui into T XOPi . In particular, if the ith queue is drained at data rate Ci , the following relation holds: T XOPi (k) = |ui (k) · TCA |/Ci + O

(9)

(8)

where T XOPi (k) is the TXOP assigned to the ith queue during the k th CAP and O is the overhead due to ACK packets, SIFS and PIFS time intervals (see Fig. 1). O is estimated by the bandwidth allocation algorithm by assuming that all MSDUs have the same nominal size, which is specified into the TSPEC of each traffic stream.

To test the effectiveness of the proposed control scheme, we have implemented the FBDS algorithm using the ns-2 simulator [9] and we have run computer simulations involving audio, video and FTP data transfers. We have considered a WLAN network shared by a mix of audio flows encoded with the G.729 standard [10], video flows encoded with the MPEG-4 [11] or the H.263 standards [12], and FTP best effort flows. Main characteristics of the considered multimedia flows are summarized in Table I. In the ns-2 implementation the Type of flow MPEG-4 HQ H.263 VBR H.263 256kbps G.729 VAD

Nominal (Maximun) MSDU Size 1536 (2304) byte 1536 (2304) byte 1536 (2304) byte 60 (60) byte

Mean Data Rate 770 kbps 450 kbps 256 kbps 8.4 kbps

Target Delay 40 ms 40 ms 40 ms 30 ms

TABLE I M AIN FEATURES OF THE CONSIDERED MULTIMEDIA FLOWS .

TCA is expressed in Time Units (TU), which in the 802.11 standard [3] are equal to 1024µs. We assume a TCA of 29 TU when G.729 flows are present otherwise the TCA is 39 TU. The proportional gain ki is set equal to 1/τiT . In order to investigate the behavior of considered algorithm on each type of multimedia flow, we first consider a simple scenario where only MPEG and best effort FTP flows access the WLAN. Then, we consider more complex scenarios with heterogeneous coexisting flows. A. A Simple Scenario In this simple scenario the FBDS is compared with respect to the simple scheduler and the basic DCF access method. We have considered seven MPEG-4 video flows (i.e., the “Jurassic Park” trace taken from [13]). The 7 MPEG-4 flows share the radio medium of a 802.11b WLAN with seven best-effort FTP flows, the data rate has been assumed equal to 11Mbps for all the mobile stations. During Contention Periods the DCF is used as MAC protocol. Fig. 3 shows

1

0.8

configured to give G.729 voice flows a higher priority than to video MPEG-4 and H.263 flows. Figs. 4 and 5 show average delays and standard deviations obtained for the G.729 audio flows. The EDCA provides the best performance due to the higher priority given to G.729 voice flows. The DCF produces highest average delays and standard deviations. The FBDS algorithm provides a better performance than the simple scheduler. An important point is that the FBDS algorithm is not sensitive to the MAC algorithm used during the CPs, whereas the simple scheduler provides better performance when used with the EDCA method. The reason is that the FBDS is closed loop, so that if during the CP more data are transmitted with the EDCA or DCF access method, then during the CAP a smaller amount of data will be transmitted. On the opposite, the simple scheduler is a static algorithm that transmits always the same amount of data during the CAP. Figs. 6 and 7 show average delays and 1000 FBDS with DCF Simple scheduler with DCF

Average one-way delay (ms)

the CDFs of the 7 video flows. The FBDS guarantees a delay less than τiT + TCA = 80ms1 to all the packets. On the other hand, when the simple scheduler is used, only the 87% of the packets experience a delay less than 80 ms. This result can be explained by noticing that while the FBDS dynamically allocates the WLAN medium using a closed loop control algorithm, the standard algorithm just provides a Constant Bit Rate service, which cannot match the bandwidth requirements of bursty media flows [8]. In order to provide a further insight into the behavior of the considered bandwidth allocation algorithms, we have measured the average fraction of TCA allocated by the HC, which is 55.8% in the case of the proposed algorithm and 74.6% for the simple scheduler. This highlights that the simple scheduler is not able to provide an efficient use of the WLAN medium because it always allocates a constant TXOP to the flows also when they do not require it. Moreover, even if the simple scheduler allocates on average a fraction of TCA larger than that allocated by FBDS, it fails to respect the delay bound of 80 ms. Finally, it is worth noticing that the basic DCF access method cannot support multimedia delivering since 80% of the packets experience a delay larger than 140 ms.

FBDS with DCF Simple Scheduler with DCF DCF only

0.6

100

DCF only EDCA only FBDS with EDCA

10

Simple scheduler with EDCA

1

0.1

CDF

0

2

4

6

8

10

12

14

Load parameter - α 0.4

Fig. 4. Average one-way delays of G.729 voice flows as a function of the load parameter.

0.2

0 0

20

40

60

80

100

120

140

160

180

200

One-way packet delay (ms)

B. A complex scenario with many heterogeneous flows This subsection compares the FBDS algorithm, the simple scheduler, the EDCA, and the DCF access schemes in a broad set of network scenarios. In particular, we have compared the considered access schemes and scheduling algorithms with different network loads. We consider an 802.11a WLAN shared by a traffic mix whit the number of flows expressed as a function of the load parameter α; in particular, we consider α MPEG-4 flows, α H.263 VBR flows, 3α G.729 flows, and α FTP flows. The data rate has been assumed equal to 54Mbps for all the mobile stations. The load parameter has been varied in order to investigate the effect of different network loads on the performance of the considered allocation algorithms. In this case, we have plotted the average delays experienced by the flows of each traffic class and the respective standard deviation. Before we illustrate simulation results, it is worth pointing out that in accordance with [14], the EDCA has been 1 It should be considered that, due to the granularity of the system, the transmission of a packet can be delayed up to τiT + TCA .

Standard deviation of the one-way delay (ms)

Fig. 3. CDFs of the one-way packet delay of seven MPEG multimedia flows sharing the WLAN medium with seven best effort FTP flows.

1000 FBDS with DCF Simple scheduler with DCF DCF only

100

EDCA only FBDS with EDCA Simple scheduler with EDCA

10

1

0.1 0

2

4

6

8

10

12

14

Load parameter - α -

Fig. 5. Standard deviation of one-way delays of G.729 voice flows as a function of the load parameter.

standard deviations obtained for the H.263 flows. In this case the FBDS algorithm provides the best performance whereas the EDCA algorithm behaves worst. This is due to the fact that video flows are treated with a lower priority then audio flows. As a consequence, even the basic DCF access method provides results better than the EDCA. This clearly shows that tuning the EDCA parameters is a key issue to be addressed in order to provide statistical service differentiation and that EDCA can starve flows with a lower priority (see also [15]). Analogous considerations can be derived by looking at Figs. 8 and 9 where average values and standard deviations of the one-way

packet delay of the MPEG-4 flows are reported. It is worth noting that for all video/voice flows, FBDS guarantees the required delay bounds for all flow types and for a broader set of network load with respect to other schemes. As discussed above, only EDCA provides better results for voice flows but at the price of penalizing video flows.

10000 FBDS with DCF

Average one way delay (ms)

Simple scheduler with DCF DCF only

1000

EDCA only FBDS with EDCA Simple scheduler with EDCA

100

10

V. C ONCLUSION

1 0

2

4

6

8

10

12

14

Load parameter - α -

Fig. 6. Average one-way delays of H.263 VBR flows as a function of the load parameter.

Standard deviation of the one-way delay (ms)

10000 FBDS with DCF Simple scheduler with DCF DCF only

1000

EDCA only FBDS with EDCA Simple scheduler with EDCA

100

R EFERENCES

10

1 0

2

4

6 8 Load parameter - α -

10

12

14

Fig. 7. Standard deviation of one-way delays of H.263 VBR flows as a function of the load parameter.

10000 FBDS with DCF

Average one way delay (ms)

Simple scheduler with DCF DCF only

1000

EDCA only FBDS with EDCA Simple scheduler with EDCA

100

10

1 0

2

4

6

8

10

12

14

Load parameter - α -

Fig. 8. Average one-way delays of MPEG flows as a function of the load parameter.

10 Standard deviation of the one-way delay (ms)

In this paper, a novel Feedback Based Dynamic Scheduler has been designed using feedback control theory. The proposed FBDS algorithm has been implemented in the ns-2 simulator and a comparison with respect to the simple scheduler proposed by the IEEE 802.11e working group, the EDCA and the DCF access methods has been developed, in a wide range of traffic and network load conditions. Results have shown that the FBDS allows a more cautious usage of the WLAN bandwidth with respect to the others schemes, giving better results also in the presence of high network load.

FBDS with DCF Simple scheduler with DCF DCF only

1

EDCA only FBDS with EDCA Simple scheduler with EDCA

0.1

0.01

0.001 0

2

4

6 8 Load parameter - α -

10

12

14

Fig. 9. Standard deviation of one-way delays of MPEG flows as a function of the load parameter.

[1] L. Qiu, P. Bahl, and A. Adya, “The effect of first-hop wireless bandwidth allocation on end-to-end network performance,” in NOSSDAV’02, Miami, Florida, May 2002, pp. 85–93. [2] IEEE 802.11 WG, Draft Amendment to Standard for Information Technology - Telecommunications and Information Exchange between Systems - LAN/MAN Specific Requirements - Part 11: Wireless Medium Access Control (MAC) and Physical Layer (PHY) Specifications: Medium Access Control (MAC) Quality of Service (QoS) Enhancements, IEEE 802.11e/D6.0, Nov. 2003. [3] IEEE 802.11, Information Technology Telecommunications and Information Exchange between Systems Local and Metropolitan Area Networks Specific Requirements Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications, 1st ed., ANSI/IEEE Std. 802.11, ISO/IEC 8802-11, 1999. [4] S. Mangold, S. Choi, P. May, O. Klein, G. Hiertz, and L. Stibor, “IEEE 802.11e Wireless LAN for Quality of Service,” in European Wireless Conference 2002, Florence, Italy, Feb. 2002. [5] IEEE, Information Technology Telecommunications and Information Exchange between Systems Local and Metropolitan Area Networks Common Specifications Part 3: Media Access Control (MAC) Bridges, ANSI/IEEE Std 802.1D, ISO/IEC 15802-3:1998, 1998. [6] G. Bianchi and I. Tinniriello, “Analysis of priority mechanisms based on differentiated inter frame spacing in CSMA-CA,” in IEEE 58th Veichular Technology Conference (VTC03), fall, Orlando, October 2003. [7] S. Mascolo, “Congestion control in high-speed communication networks using the smith principle,” Automatica, Special Issue on Control methods for communication networks, vol. 35, pp. 1921–1935, December 1999. [8] A. Grilo, M. Macedo, and M. Nunes, “A scheduling algorithm for QoS support in IEEE 802.11e networks,” IEEE Wireless Communications, pp. 36–43, June 2003. [9] Ns-2, “Network simulator,” available at http://www-mash.cs.berkeley. edu/ns, 2003. [10] International Telecommunication Union (ITU), Coding of Speech at 8 kbit/s using Conjugate-Structure Algebraic-Code-Excited Linear Prediction (CS-ACELP), ITU-T Recommendation G.729, Mar. 1996. [11] MPEG-4 Video Group, “Mpeg-4 overview,” available at http://mpeg. telecomitalialab.com/, Mar. 2002. [12] International Telecommunication Union (ITU), Video coding for low bit rate communication, ITU-T Recommendation H.263, Feb. 1998. [13] “Video trace library,” available at http://www-tkn.ee.tu-berlin.de/ research/trace/trace.html. [14] D. Gu and J. Zhang, “QoS enhancement in IEEE802.11 wireless local area networks,” IEEE Commun. Mag., pp. 120–124, June 2003. [15] A. Lindgren, A. Almquist, and O. Scheln, “Quality of service schemes for IEEE 802.11 wireless LANs - an evaluation,” Mobile Networks and Applications, vol. 8, no. 3, pp. 223–235, June 2003.

Suggest Documents