71
Adaptive and Resource-Efficient Rural Area Networks Veljko Pejovic Research Fellow University of Birmingham Slides at: www.cs.bham.ac.uk/~pejovicv/cambridge

Adaptive and resource-efficient rural area networks

Embed Size (px)

DESCRIPTION

Talk by Veljko Pejovic at the University of Cambridge Computer Lab, October 2013. Abstract: Internet connectivity represents a key factor in the overall development of any nation. It enables competitive participation in the global economy, serves as a valuable source of education and facilitates democratisation of a society. Unfortunately, connectivity opportunities differ drastically among regions. Consequently, this difference, termed “the digital divide”, creates a gap in many aspects of human development: living standard, education, and health care, among others. The essence of the problem lies in a general lack of understanding of developing area dwellers’ needs, and in the design of information and communication technologies (ICTs) without consideration of peculiarities of these areas. In this talk I will present a holistic approach that aims to improve local and global connectivity of rural, underdeveloped regions. First, we perform an in-depth analysis of the usage of existing technologies in one of the world’s most infrastructure-deprived regions – rural Africa. Our findings show that limitations of current technology severely inhibit higher usage and utility of ICTs in rural areas. We proceed with designing computer networking solutions for rural regions. To cover vast under-populated areas we propose long-range wireless networks based on newly-freed white space spectrum. We develop solutions to physical and MAC layer for white space communication geared towards optimal utilization of limited energy and spectrum resources, and support voice and video, applications that are of primary importance in areas with low population literacy. To avoid over-congested satellite links and reduce unnecessary communication delay we devise a suite of network traffic localization techniques that facilitate local content generation and sharing, enable free local cell phone communication, and improve online social networking in rural areas. We design our solutions after a careful investigation of issues that exist in rural regions and that are relevant to the target population. We strive to go beyond pilots, and, through collaborative work with local stakeholders and researchers, create solutions that will become integral parts of rural lifestyle.

Citation preview

Page 1: Adaptive and resource-efficient rural area networks

Adaptive and Resource-Efficient Rural Area Networks

Veljko PejovicResearch Fellow

University of Birmingham

Slides at: www.cs.bham.ac.uk/~pejovicv/cambridge

Page 2: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Digital Divide

● A division between those who do and those who do not have access to and the capability to use modern information and communication technologies (ICTs)

● The digital divide is tightly connected with the living standard, health care, economy, education, political freedoms

● Observed from different aspects: gender, age, affluence

2

Page 3: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Digital Divide – A Broad View

3

Internet users per regionSource: ITU 2013

Page 4: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Digital Divide – Causes

4

Differences between regions that impact ICT adoption:

● Purchasing power – ICTs cost

● Existing infrastructure – ICTs need reliable power supply

● Level of urbanization – ICTs are designed for cities

● Different cultures – the same ICTs might not be suitable for all societies

Page 5: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Digital Divide – Urbanisation Levels

5

OECDLeast dev.

South KoreaUK

South AfricaZambia

0

20

40

60

80

100

Urbanisation level [%]Source: World Bank

Page 6: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Digital Divide – Rural vs Urban

6

Belarus Brazil Egypt S. Africa S. Korea US0

20

40

60

80

100

Rural

Urban

Population that uses the Internet [%]Source: ITU

Page 7: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Existing Solutions

7

Page 8: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Existing Problems

8

Technical● Poor signal propagation due to vast distances,

terrain configuration, vegetation● Wireless interference, especially in

the case of unlicensed solutions● Lack of reliable electrical energy supply

Socio-economic● Economic infeasibility of wide area coverage● Lack of locally relevant online content● Inability to engage a wider community into the network● Micro digital divides: castes, genders

Page 9: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Our view on why rural area connectivity fails

9

In rural areas a unique set of technical and social

challenges are obstacles to Internet penetration.

The essence of the problem lies in a general lack of

understanding of rural area dwellers’ needs, and in the

development of communication technologies

without consideration of unique nuances of rural areas.

Page 10: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Holistic approach

10

Investigate existing solutionsidentify obstacles and true needs of our users

Develop technical solutionswith experts from target areas

Page 11: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Investigating Technical and Social Challenges in Rural Areas

11

Analysis of existing rural wireless networks in Africa (Macha, Zambia and Dwesa, South Africa):

Why Macha and Dwesa?● Real rural Africa● Community wireless networks● Different social settings● Strong collaboration links

through our partners

Page 12: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Investigating Technical and Social Challenges in Rural Areas

12

Analysis of existing rural wireless networks in Africa (Macha, Zambia and Dwesa, South Africa):

● Lightweight traffic monitoring system:

– Packet headers on the satellite gateway

– Squid proxy logs● Social surveys

– Go beyond just anecdotal evidence - quantifiable data

– Examine Internet usage, legacy communication practices, social aspects of computer networking, quality of service issues

Page 13: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Investigating Technical and Social Challenges – Key Findings

13

● The location of Internet access (home/work/internet café) impacts the type of applications used online:

– Only at-home access allows full-fledged online experience, including active OSN usage, content generation; otherwise deliberate interaction model

● There is a strong locality of interest:

– The majority of voice-over-IP (VoIP) calls and instant messages (IM) are exchanged within the village

● Network performance and user behavior are tightly intertwined:

– people share files via USB drives when the network is congestedMore about rural area network analysis in our WWW'11 paper

Page 14: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Develop Technical Solutions

14

Guidelines:

● Provide at-home Internet access to all

● Support local communication

● Facilitate content generation

● Be resource (electrical energy, satellite bandwidth, wireless spectrum) efficient

Page 15: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageNet

15

Page 16: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageNet

16

VillageCell

Enables free local mobile phone calls via off-the-shelf open-source solutions. It requires no modification to the existing GSM handsets and SIM cards.

● GNUradio● OpenBTS● Asterisk

Evolved into Kwiizya

deployed in Macha, Zambia.

Check: M. Zheleva et al.

"Kwiizya...", MobiSys'13

Page 17: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageNet

17

VillageShare

Improves content generation and sharing in a village via a local file sharing application. Enables extra upload capacityvia time-delayed uploads.

Evolved into Kwaabana

deployed in Macha, Zambiaand rural Eastern Cape

Check: D. Johnson et al.

"Kwaabana...", ACM DEV'13

Page 18: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageNet

18

VillageLink

Connect distant locationsthrough outdoor, non lineof sight wireless links operating on unlicensed frequencies.

Bring connectivity to every individual!

Page 19: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Wide-Area Wireless

19

Low population density:

● Cell phone towers are not economically viable for low income under-populated areas

● WiFi networks have a limited range and require a line of sight

Page 20: Adaptive and resource-efficient rural area networks

Veljko Pejovic

New opportunities for rural area connectivity

20

White spaces:

● Frequency band from roughly50MHz to 800MHz

● Vacant after TV went digital; potentially unlicensed spectrum

● Excellent propagation properties:

– Long range (path loss ~ f2)

– Not absorbed by vegetation

– Signal can bend around obstacles

Page 21: Adaptive and resource-efficient rural area networks

Veljko Pejovic

White Spaces – Issues

21

● White spaces encompass a few hundreds of MHz of spectrum

● Dynamic range in white spaces:

Technology fL (MHz) f

U (MHz) D (dB)

802.11 (2.4GHz) 2412 2484 0.26

802.11 (5 GHz) 5170 5700 0.85

GSM 900 935 960 0.23

White spaces 43.25 797.25 25.31

Page 22: Adaptive and resource-efficient rural area networks

Veljko Pejovic

White Spaces – Issues

22

● White spaces encompass a few hundreds of MHz of spectrum

● Dynamic range in white spaces:

Results from a 3 km long outdoor link in South Africa

Signal strength can be tens of dB different

across the band.

Page 23: Adaptive and resource-efficient rural area networks

Veljko Pejovic

White Spaces – Issues

23

● White spaces encompass a few hundreds of MHz of spectrum

● Dynamic range in white spaces:

Performance across the frequency band

cannot be described

solely by the propagation theory

Antenna properties and the environment

determine signal strength at different channels

Why is this a problem?

Page 24: Adaptive and resource-efficient rural area networks

Veljko Pejovic

White Spaces – Channel Allocation

24

● We have a limited pool of vacant white space channels

● Network capacity depends on the useful signal strength and the interference (plus noise) strength

How to allocate wireless channels to network nodes so that

the network capacity is maximized?

Page 25: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Conventional Network – Channel Allocation

25

● Signal strength is equal at all frequencies. Channels allocation strives to minimize interference.

Access points with associated clients

Page 26: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Conventional Network – Channel Allocation

26

● Signal strength is equal at all frequencies. Channels allocation strives to minimize interference.

● Graph coloring – assign colors (channels) so that no two nodes that share a link in the interference graph are assigned the same color.

Interference graph among access points

Page 27: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Conventional Network – Channel Allocation

27

● Signal strength is equal at all frequencies. Channels allocation strives to minimize interference.

● Graph coloring – assign colors (channels) so that no two nodes that share a link in the interference graph are assigned the same color.

Page 28: Adaptive and resource-efficient rural area networks

Veljko Pejovic

White Space Network – Channel Allocation

28

● In white spaces signal strength varies over channels, moreover the variation may be different for different pairs of nodes.

Page 29: Adaptive and resource-efficient rural area networks

Veljko Pejovic

White Space Network – Channel Allocation

29

● In white spaces signal strength varies over channels, moreover the variation may be different for different pairs of nodes.

● Minimizing interference with graph coloring does not work anymore. The graph depends on channel selection.

Page 30: Adaptive and resource-efficient rural area networks

Veljko Pejovic

White Space Network – Channel Allocation

30

● In white spaces signal strength varies over channels, moreover the variation may be different for different pairs of nodes.

● Minimizing interference with graph coloring does not work anymore. The graph depends on channel selection.

Page 31: Adaptive and resource-efficient rural area networks

Veljko Pejovic

White Space Network – Channel Allocation

31

Propagation diversity over a wide white space bandis highly varying and unpredictable

Even if we were to know propagation over all frequencies for all links,

the problem would be intractable

Page 32: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Probing and Medium Access

32

● Consider a network of base stations (BSs) with multiple associated clients (CPEs)

● BSs select their operating channels and CPS switch to a channel selected by the BS they are associated with

BSCPE

CPE

CPE

CPE

CPE

BS

● Selection of the operating channel impacts the signal strength from a BS to a CPE and the interference from one BS to another.

Page 33: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Probing and Medium Access

33

● We extend the 802.22 protocol with inter-BS and BS-CPE probing.

● A probe is a packet whose content is known to the receiver. By comparing the received probe with the sent one, we can estimate the channel quality. A probe is sent at each available channel.

BS

CPE

CPE

BS

● After the probing is completed each BS knows channel quality between itself and each of its CPEs and the

interference level between itself and each of the neighboring Bss.

● The information is also propagated to the neighboring BSs.

Page 34: Adaptive and resource-efficient rural area networks

Veljko Pejovic

White Space Network – Channel Allocation

34

Propagation diversity over a wide white space bandis highly varying and unpredictable

Even if we were to know propagation over all frequencies for all links,

the problem would be intractable

Page 35: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

35

● Gibbs sampling – obtain samples from a hard-to-sample multivariate distribution

● Draws samples from a multivariate probability distribution:

● Sample each of the variables (xi) in turn from a

conditional probability distribution: Do this for each sample j = 1..k

● In the end we have k samples from the joint distribution€

p( x1, ..., x N )

p( x i | x1j ,..., x i−1

j , x i +1j ,..., x N

j )

How is Gibbs sampling connected with

channel allocation?

Page 36: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

36

1) Probability distribution is related to overall network performance

2) Probability distribution depends on channels allocated to BSs

3) Probability distribution favors states that lead to maximum performance

4) Conditional probability distribution isolates the impact of each of the nodes on the total optimization function

5) Conditional probability distribution can be calculated independently at each of the base stations

If the above conditions hold, Gibbs sampling of the performance distribution

(over channels at different BSs) will lead to the optimal channel allocation

Page 37: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

37

● Network performance metric:

– Total network capacity C, under a certain channel allocation c independently at each of the base stations:

C(c) = Ci(c i)i

∑ = W log(1+ SINRi(c i))∑

Sum of the capacity of each BS-CPE

SINR (signal to interference-plus-noise ratio) is different at different channels

for different BS-CPEs due to high variability of propagation in white spaces

● Remember one of the conditions to use Gibbs sampling: Conditional probability distribution isolates the impact of each of the nodes on the total optimization function

● SINR: a single BSs decision on the operating channel affects interference at other BSs, yet we cannot isolate

the effect as it is “hidden” behind a log function

Page 38: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

38

● Network performance metric, take two:

– Cumulative interference-plus-noise to signal ratio (CINSR):

ch(i,j) is 1 if BS i and BS j operate on the same channel€

CINSR(c) =1

SINRi(c i)=

N0W + ch(i, j)PH ji(c i)j ≠ i

∑PHi(c i)i

∑i

Noise Interference

Useful signal

Page 39: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

39

● Network performance metric, take two:

– Cumulative interference-plus-noise to signal ratio (CINSR)

● Easy to isolate the impact of a single decision on the total metric

CINSRi(c) =N0W

PHi(c i)+ ch(i, j)

PH ji(ci)

PHi(c i)+

PHij(ci)

PH j (ci)

j ≠ i

Impact of a local decision on own

CINSR

Impact of a local decision on others CINSR

All the information can be calculated locally!

Page 40: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

40

● Connect the network performance metric with a probability distribution:

– The Gibbs distribution:

– Local Gibbs distribution:

π(c) =e

−CINSR (c )

T

e−

CINSR ( ′ c )

T

′ c ∈c N

∑Favors low CINSR states especially at a low temperature (T)

π i(c) =e

−CINSR i (ci ,(c j ) j≠i )

T

e−

CINSR i (c i ,(c j ) j≠i )

T

′ c ∈c N

Page 41: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

41

● Connect the network performance metric with a probability distribution:

– The Gibbs distribution:

– Local Gibbs distribution:

π(c) =e

−CINSR (c )

T

e−

CINSR ( ′ c )

T

′ c ∈c N

∑Favors low CINSR states especially at a low temperature (T)

π i(c) =e

−CINSR i (ci ,(c j ) j≠i )

T

e−

CINSR i (c i ,(c j ) j≠i )

T

′ c ∈c N

Page 42: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

42

● Each BS samples its local Gibbs distribution to obtain a preferred channel selection

2

3

1

4

Available channels:

Page 43: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

43

● Each BS samples its local Gibbs distribution to obtain a preferred channel selection

2

3

1

4

Available channels:

Page 44: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

44

● Each BS samples its local Gibbs distribution to obtain a preferred channel selection

2

3

1

4

Available channels:

Page 45: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

45

● Each BS samples its local Gibbs distribution to obtain a preferred channel selection

2

3

1

4

Available channels:

Page 46: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

46

● Each BS samples its local Gibbs distribution to obtain a preferred channel selection

2

3

1

4

Available channels:

Page 47: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

47

● Each BS samples its local Gibbs distribution to obtain a preferred channel selection

2

3

1

4

Available channels:

Page 48: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

48

● Each BS samples its local Gibbs distribution to obtain a preferred channel selection

2

3

1

4

Available channels:

Is this channel allocationoptimal?

Page 49: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Channel Allocation Method

49

● The distribution might be such that many states have low energy, and the sampler might get stuck in a channel selection which is good, but not optimal

● Annealed sampler – change the temperature (T) as the process progresses allows the exploration of a wider solution space:

● Depending on the temperature change schedule we get different results

● Inspiration from annealing in metallurgy

Page 50: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageLink Algorithm

50

● Distributed channel allocation algorithm (at each node):

– While time t < tend

● Calculate temperature T at time t (temperature decreases over time)

● Calculate local CINSRi for each possible channel decision

● Calculate and sample local Gibbs distribution● Pick a channel according to the channel sampled from

the Gibbs distribution and disseminate that information to neighbors

● Listen to information about the channel selection of neighbors

– Switch the wireless interface to the last selected channel

π i(c)

Channel switching does not occur in the loop!

Page 51: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageLink Algorithm

51

● Properties of the algorithm

– Distributed algorithm - uses only local computations.

– Uses propagation profiling results from channel probing.

– Only the information on the channel that resulted from the sampling process is used in each iteration. True channel switching happens only once at the end of the process.

– For certain cooling schedules converges towards the globally minimal CINSR. However, there is no guarantee on the number of iterations needed.

Page 52: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageLink – Evaluation

52

● Simulation setup

– Propagation in white spaces is influenced by the free space loss, antenna patterns and the environment

● Propagation calculation takes into account transmission power, antenna gain and the distance between the nodes

● We closely model antenna irradiation patterns, frequency selectivity and antenna orientation

– We experiment with a varying number of base stations and available channels

– We model a wide area with a few TV stations that create varying spectrum availability over the area

Page 53: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageLink – Evaluation

53

● Is CINSR a good metric?

– Comparison to the minimal interference metric

Over-provisioned channelsa lot of vacant channels, few BSs

Under provisioned channels a lot of BSs, few channels

Channel allocation in a rural network is important even when

interference is not a problem

Minimizing interference is a good approach if the interference

limits the capacity

Page 54: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageLink – Evaluation

54

● Alternatives to VillageLink

– Least congested channel search (LCCS) – selects the least used channel locally

– Preferred intra-cell channel allocation (PICA) – selects the channel for which the BS experiences the highest channel gain towards its clients

– VillageLink minimizes CINSR (cumulative interference plus noise to signal ratio), thus taking into account both preferred channels and interference

Page 55: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageLink – Evaluation

55

● Total network capacity:

Ten available channels Fifteen available channels Twenty available channels

Page 56: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageLink – Evaluation

56

● Fairness (Jain fairness index, the closer the value is to 1 the better)

Ten available channels Fifteen available channels Twenty available channels

Page 57: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageLink – Conclusion

57

● White space channel allocation algorithm that jointly minimizes interference and maximizes BS-CPE capacity

● A practical solution that requires the minimal number of channel switching events

● VillageLink is an integral part of VillageNet, a set of networking solutions we developed for rural areas that includes our previous work VillageCell and VillageShare

Page 58: Adaptive and resource-efficient rural area networks

Veljko Pejovic

VillageLink – Future

58

● System Implementation

– From simulator to Software Defined Radio● Deployment

– Use case for VillageLink● Licensing

– White spaces are still a grey zone when it comes to licensing, especially in our target areas

Page 59: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Collaborators

59

Mariya Zheleva, UCSB David Johnson, CSIR, South Africa

Gertjan van Stam, SIRDC, Zimbabwe

Elizabeth Belding, UCSB

Albert Lysko, CSIR, South Africa

Also:● Meraka Institute, South

Africa ● LinkNet, Macha, Zambia

Page 60: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Thank you!

60

Veljko [email protected]

More at: http://www.cs.bham.ac.uk/~pejovicv/publications.php

Page 61: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Digital Divide – Rethinking the definition

61

● A gap between those who do and those who do not have access to ICTs

Page 62: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Digital Divide – Rethinking the definition

62

● A variety of inequalities among people’s access to ICTs, ability to use ICTs and benefits from using ICTs.

Page 63: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Measuring Success

63

● This is an over simplified view of the divide

Page 64: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Measuring Success

64

● A complex metric is necessary

– Conventional metrics of access do not capture differences in access quality

Page 65: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Measuring Success

65

● Example – Connectivity Speed

International Internet bandwidth (bit/s per user), by region

Source: ITU

Page 66: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Measuring Success

66

● Example – Connectivity Speed

International Internet bandwidth by region

The average web page size grew about 50 times in 15 years

Is the access in the developing world effectively getting worse?

Source: ITU

Page 67: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Measuring Success

67

● Example – Location of Access

Source: ITU

Page 68: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Measuring Success

68

● Example – Location of Access

– Location of access is important:● Distance:

– At home or a long walk to a terminal● Availability hours:

– Any time or business hours only● Pre-determining online behavior:

– Browse the web or prepare emails before the access happens

● Types of applications used:– Some applications are more suited for leisurely

at-home access - Facebook

Page 69: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Measuring Success

69

● Example – Cost of Access

Source: ITU

Page 70: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Measuring Success

70

● Cultural and socio-economic affordances of connectivity:

– Content in local languages

– Availability of e-Government services

– e-Commerce

– Supporting infrastructure: roads, banking (credit cards)

– Social affordances: connectivity with local and global population; online social networks; networked individualism

Page 71: Adaptive and resource-efficient rural area networks

Veljko Pejovic

Holistic approach

71

Investigate existing solutionsidentify obstacles and true needs of our users

Develop technical solutionswith experts from target areas

Evaluate success!