A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

54
A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet G.Sarigiannidis, G.I.Papadimitriou, and A.S.Pomport Department of Informatics, Aristotle University Thessaloniki, Greece

description

A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet. P.G.Sarigiannidis, G.I.Papadimitriou, and A.S.Pomportsis Department of Informatics, Aristotle University Thessaloniki, Greece. Some keywords for the presentation are:. Optical networks WDM technology - PowerPoint PPT Presentation

Transcript of A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Page 1: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

A High Performance Channel Sorting Scheduling Algorithm

Based On Largest Packet

P.G.Sarigiannidis, G.I.Papadimitriou, and A.S.Pomportsis

Department of Informatics, Aristotle University

Thessaloniki, Greece

Page 2: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Some keywords for the presentation are:

• Optical networks• WDM technology• Broadcast and select star topology• Reservation phase• Transmission phase• Scheduling algorithm• Channel service• Traffic prediction

Page 3: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Optical technology offers:

• Huge bandwidth

• Protocol transparency

• Enhanced reliability

• In some cases easy and simple protocol functionality

Page 4: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Wavelength Division Multiplexing (WDM) offers:

• Excellent way of exploiting the huge bandwidth of optical fibers

• Concurrency among multiple users transmitting at feasible rates

• Gigabit-per-second data rates in independent channels, which transmit concurrently data flows to a single or multiple users

Page 5: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

This algorithm focuses on broadcast and select LAN:

• Local area network

• Broadcast and Select topology

• N nodes

• W channels (wavelengths)

• A passive star connects all nodes

• A TT-FR system (a tunable transmitter and a fixed receiver per node)

Page 6: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet
Page 7: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Medium Access Control (MAC) Protocols are:

• Common policies for–Which node will transmit

–On which channel will transmit

–During which time the transmission will be executed

Page 8: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

MAC protocols are classified into:

• Pre-transmission coordination based– They designate at least one wavelength for

coordination-control reasons

• Pre-allocation based– The available channels are used only for data

sending and receiving

• In a special category of pre-transmission coordination based the protocols are using control packets instead of a control channel

Page 9: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

The coordination process entails two steps:

– The algorithm accepts initially the demands of all nodes and organizes them in transmission frames• The demands are stored in a demand

matrix D=[di,j]

– Each transmission frame stores for every node the number of timeslots required for transmission to a specific channel• Time is divided in timeslots

Page 10: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Two very important prior scheduling algorithms are:

• Online Interval Scheduling Algorithm (OIS)– K. M. Sivalingam, J. Wang, J. Wu and M. Mishra, An interval-based

scheduling algorithm for optical WDM star networks, Photonic Network

Communications, vol. 4, no. 1, (January 2002), pp. 73-87.

• Predictive online Scheduling Algorithm (POSA)– E. Johnson, M. Mishra, and K. M. Sivalingam, Scheduling in optical

WDM networks using hidden Markov chain based traffic prediction, Photonic Network Communications, vol. 3, no. 3, (July 2001), pp. 271-286.

Page 11: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

OIS has the following characteristics:

– Begins the construction of the schedule just after reading the requests of the first node (online algorithm)

– Each node needs to maintain a list of time intervals that are available on every data channel

– For each node whose request is being processed nodes maintain one additional list of intervals that have not yet been assigned to the specific node for transmission

Page 12: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

POSA functions as follows:

– POSA attempts to reduce the duration of the schedule computation process by predicting the nodes’ requests for the next frame

– The predictor uses two different algorithms, the learning algorithm and the prediction algorithm• The learning algorithm is responsible for

informing and updating the data of the history queue

• The prediction algorithm is responsible for predicting the demand matrix as accurately as possible

Page 13: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

The new proposed protocol is called First Max Predictive Online

Scheduling Algorithm (FM-POSA)

– It tries to reduce the idle timeslots of the final schedule by changing the service order of the nodes

– Concurrently it adopts the prediction mechanism of POSA in order to reduce the computation time of the schedule

Page 14: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

The algorithm operates in three independent phases:

• The learning phase– During the first phase the FM-POSA monitors the

traffic of the network and fills the history queues with the actual traffic demands.

• The shifting phase– FM-POSA stops to construct the schedule based on

the actual requests and it enters the prediction phase.• The prediction phase

– In the last and most important phase the algorithm predicts the nodes’ requests for the next frame based on its learning phase. In addition the algorithm performs the forwarding of packets to their destinations.

Page 15: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

The new element that is introduced by FM-POSA is the order in which

the nodes’ requests are processed.

• FM-POSA searches for the largest packet and sorts nodes according to this.

• The first node that is served is the one with the largest packet following by the one with the second largest packet and ending with the one with the smallest packet.

• If two nodes have packets of equal size the node that will be served first is randomly selected.

Page 16: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

It would be useful to see an example of the processing of a

demand matrix in order to understand the operation of the

proposed algorithm:

2 2 1

2 3 3

6 4 1

D =Let us consider the demand matrix D.

Page 17: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Firstly FM-POSA acts as follows:

• Action 1: Search and locate the largest packet from the requests of the nodes and save it in a vector called MAX.

2

3

6

2 2 1

2 3 3

6 4 1D = = MAX

Page 18: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Next FM-POSA performs:

• Action 2: Reorder the elements in MAX in descending order.

2

3

6

MAX =6

3

2

= S_MAX

Page 19: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

The reordering of vector MAX means that the processing of

requests in order to produce the scheduling matrix is dictated by

the final vector S_MAX.

6

3

2

S_MAX =Firstly, Node 2 will be processed

Secondly, Node 1 will be processed

Thirdly, Node 0 will be processed

Page 20: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

For the specific demand matrix D OIS/POSA will construct the following

final schedule: timeslots

0 1 2 3 4 5 6 7 8 9 10

N0 N2Wo

W1

N0 N1

N0

N1

N0 N1

N2 N2 N2 N2 N2

N1

N2

idle

idle

idle

idle

W2 N2 idleidle N0

N1idle

N1

N1 N1

idle

idle

idleidle

idle

11

N2

idle

idle

N2

idle

idle

12 13

N2

idle

idle

Page 21: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

For the specific demand matrix D FM-POSA will construct the following final

schedule:timeslots

0 1 2 3 4 5 6 7 8 9 10

N2

N1

N1Wo

W1

N2 N2

N1 N1

N2

N0 N0

N2 N2 N1 N0 N0

N2

N2

idle

idleidle

idle

W2 N0 idleidle N1 N1 idle

N2 N2 N2

idle

idle

N1

Page 22: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

For the specific example:

• OIS/POSA wastes:

• FM-POSA wastes:

43.0...3*......14

......18

channelstimeslotsoverall

tssubtimesloidle

27.0...3*......11

......9

channelstimeslotsoverall

tssubtimesloidle

Page 23: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the simulation results we consider:

• Two network models. The first consists of 4 channels and a row of nodes (10, 20, 30, 40, and 50). The second consists of 8 channels and a row of nodes (10, 20, 30, 40, and 50).

• N symbols the number of nodes, W symbols the number of channels, K is the maximum value for incoming packets.

Page 24: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Also we consider:

• The speed of the line has been defined at 2.4 Gbps per channel.

• The tuning latency is considered to be equal to zero for simplicity reasons.

• A 10% of the simulated frames belongs to the learning phase.

• The two algorithms (FM-POSA and POSA) are compared under uniform traffic.

Page 25: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the channel utilization for 4 channelsFM-POSA is better than POSA

Channel Utilization (W=4)

70%

75%

80%

85%

90%

95%

10 20 30 40 50

Nodes

Uti

liza

tion

(%

)

POSA FM-POSA

Page 26: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the network throughput for 4 channelsFM-POSA is better than POSA

Network Throughput (W=4)

7.0

7.2

7.4

7.6

7.8

8.0

8.2

8.4

8.6

8.8

9.0

10 20 30 40 50

Nodes

Thr

ough

put (

Gbp

s)

POSA FM-POSA

Page 27: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the relation throughput-delay FM-POSA reduces a little the mean waiting time of the

packets for 4 channelsThroughput vs. Delay (W=4)

0

100

200

300

400

500

600

700

800

7.0 7.2 7.4 7.6 7.8 8.0 8.2 8.4 8.6 8.8 9.0

Throughput (Gpbs)

Mea

n T

ime

Del

ay (

tim

eslo

ts)

POSA FM-POSA

Page 28: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

FM-POSA remains better than POSA in channel utilization for 8 channels

Channel Utilization (W=8)

55%

60%

65%

70%

75%

80%

85%

10 20 30 40 50

Nodes

Uti

liza

tion

POSA FM-POSA

Page 29: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the network throughput for 8 channelsFM-POSA is better than POSA

Network Throughput (W=8)

11

12

13

14

15

16

17

10 20 30 40 50

Nodes

Thr

ough

put (

Gbp

s)

POSA FM-POSA

Page 30: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Again in the relation throughput-delay FM-POSA remains better than POSA for 8 channels

Throughput vs. Delay (W=8)

0

100

200

300

400

500

600

700

800

11 12 13 14 15 16 17

Throughput (Gbps)

Mea

n T

ime

Del

ay (

tim

eslo

ts)

POSA FM-POSA

Page 31: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Conclusions

• We introduced a new scheduling algorithm for collision free WDM star networks.

• The new scheme offers a better utilization of the available channels of the network.

• Also, it brings an improvement in channel utilization and network throughput by changing the order of the processing of each node based on the largest request.

Page 32: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Thank you for your attention!!!

Page 33: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

A New Channel Priority Scheduling Technique for WDM

Star Networks

P.G.Sarigiannidis, G.I.Papadimitriou, and A.S.Pomportsis

Department of Informatics, Aristotle University

Thessaloniki, Greece

Page 34: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

This algorithm focuses on broadcast and select LAN:

• Local area network

• Broadcast and Select topology

• N nodes

• W channels (wavelengths)

• A passive star connects all nodes

• A TT-FR system (a tunable transmitter and a fixed receiver per node)

Page 35: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Three prior scheduling algorithms are:

• Online Interval Scheduling Algorithm (OIS)– K. M. Sivalingam, J. Wang, J. Wu and M. Mishra, An interval-based scheduling

algorithm for optical WDM star networks, Photonic Network Communications, vol.

4, no. 1, (January 2002), pp. 73-87.

• Predictive online Scheduling Algorithm (POSA)– E. Johnson, M. Mishra, and K. M. Sivalingam, Scheduling in optical WDM

networks using hidden Markov chain based traffic prediction, Photonic Network Communications, vol. 3, no. 3, (July 2001), pp. 271-286.

• Check and sort-predictive online scheduling algorithm (CS-POSA)– P. G. Sarigiannidis, G. I. Papadimitriou, A. S. Pomportsis, CS-POSA A high

performance scheduling algorithm for WDM star networks”, Photonic Network

Communication, vol 11, no 3 (2006), pp. 209-225.

Page 36: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

The new proposed protocol is called Load Eclectic Navigated

Algorithm (LENA)

– The algorithm begins the manufacture of scheduling matrix with the channel that contains the most requests. That means that the algorithm does not chooses the channels from the first one to the last one, but selects each time the channel with the most time requests for the specific node.

– Concurrently it adopts the prediction mechanism of POSA in order to reduce the computation time of the schedule

Page 37: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

It would be useful to see an example of the processing of a

demand matrix in order to understand the operation of the

proposed algorithm:

3 2 2

1 2 3

2 2 4

D =Let us consider the demand matrix D.

Page 38: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Firstly LENA acts as follows:

• Step 1: First of all LENA adds each row of the traffic matrix D in a new vector S that will register the total amount of requests by each node:

2+2+1=5

2+3+3=8

6+4+1=11

2 2 1

2 3 3

6 4 1D = = S

Page 39: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Next LENA performs:

• Step 2: Then LENA grades vector S in a declining order:

5

8

11

S =11

8

5

= S’

Page 40: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

• It is examined in which channel have been requested most demands.

• In the particular example we observe that in channel W2 have been assembled most requests for node N2 and the transmission time for them are equal to four timeslots.

• Then are examined the other two channels and we observe that their demands are equal with 2 timeslots, so the selection is random.

2 2 4

Wo W1 W2

N2

first choicesecond choicethird choice

Page 41: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

• LENA continues with the set of demands, which belongs to node N0. Hence, the channel W0 will be selected (three timeslots), channel W1 could be follow (two timeslots), and LENA could be finish with node N0, by selecting the demands of W0 (two timeslot).

3 2 2

Wo W1 W2

N0

third choicesecond choicefirst choice

Page 42: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

• Finally, LENA finishes the construction of the scheduling matrix, by servicing the requests of Node N1. Again, channel W2 (three timeslots) will be selected first, channel W1 (two timeslots) will follow and the last selection will be the channel W0 (one timeslot).

1 2 3

Wo W1 W2

N1

first choicesecond choicethird choice

Page 43: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

For the specific demand matrix D OIS/POSA will construct the following

final schedule: timeslots

0 1 2 3 4 5

N1

N2

N0

W2

Wo

W1

6 7 8 9

frame

N1

N2

N0

N2

N0

N0

N2

N1

N0

N2

N0

N2

N2

N0

N2

N1 N1 N1

--- --- --- ---

--- --- --- ---

---

Page 44: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

For the specific demand matrix D LENA will construct the following final

schedule:timeslots

0 1 2 3 4 5

N1

N2

N0

W2

Wo

W1

6 7 8

frame

N1

N2

N0

N2

N0

---

N1 ---

N0

---

N0

N1 N1

---

------

N0N2

N2 N2

N2

N0

N1

N2

Page 45: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the simulation results we consider:

• Two network models. The first consists of 8 channels and a row of nodes (10, 20, 30, 40, and 50). The second consists of 16 channels and a row of nodes (10, 20, 30, 40, and 50).

• N symbols the number of nodes, W symbols the number of channels, K is the maximum value for incoming packets.

Page 46: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Also we consider:

• The speed of the line has been defined at 2.4 Gbps per channel.

• The tuning latency is considered to be equal to zero for simplicity reasons.

• A 10% of the simulated frames belongs to the learning phase.

• The three algorithms (LENA, CS-POSA, and POSA) are compared under uniform traffic

Page 47: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the channel utilization for 8 channelsLENA is better than POSA and CS-POSA

55%

60%

65%

70%

75%

80%

85%

90%

10 20 30 40 50

Nodes

Cha

nnel

Uti

liza

tion

POSACS-POSALENA

Page 48: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the network throughput for 8 channelsLENA is better than POSA and CS-POSA

11

12

13

14

15

16

17

10 20 30 40 50

Nodes

Net

wor

k T

hrou

ghpu

t (in

Gbp

s)

POSACS-POSALENA

Page 49: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the relation throughput-delay LENA improves the network throughput and meanwhile reduces a

little the mean time delay for 8 channels.

0

50

100

150

200

250

300

350

400

450

500

11 12 13 14 15 16 17

Network Throughput (in Gbps)

Del

ay (

in ti

mes

lots

)

POSACS-POSALENA

Page 50: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the channel utilization for 16 channelsLENA is better than POSA and CS-POSA

40%

45%

50%

55%

60%

65%

70%

75%

80%

85%

10 20 30 40 50

Nodes

Cha

nnel

Uti

liza

tion

POSACS-POSALENA

Page 51: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the network throughput for 16 channelsLENA is better than POSA and CS-POSA

15

17

19

21

23

25

27

29

31

33

10 20 30 40 50

Nodes

Net

wor

k T

hrou

ghpu

t (in

Gbp

s)

POSACS-POSALENA

Page 52: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

In the relation throughput-delay LENA improves the network throughput and meanwhile reduces a

little the mean time delay for 16 channels.

0

100

200

300

400

500

600

700

800

900

1000

15 17 19 21 23 25 27 29 31 33

Network Throughput (in Gbps)

Del

ay (

in ti

mes

lots

)

POSACS-POSALENA

Page 53: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Conclusions

• We presented another novel technique for scheduling in WDM star networks.

• This method changes the way of processing of each channel.

• It leads to an improvement, in terms of channel utilization, network throughput and mean time delay, which is proved by simulation results.

Page 54: A High Performance Channel Sorting Scheduling Algorithm Based On Largest Packet

Thank you AGAIN for your attention!!!