THINK FIRST·CODE LATER

← Operating Systems
Chapter 13 · Week 14

Edge Computing and Computation Offloading

Answered 0/30 Correct 0
Sign in to save progress across devices
Q1

Which is not a main motivation for edge computing?

Q2

A task needs 0.2 Gcycles; the phone runs at 2 GHz. How long does local execution take?

Q3

Using Shannon's formula, what is the uplink rate with a bandwidth of 20 MHz and an SNR of 10 dB?

Q4

Uploading 200 KB (1.6 Mb) at 69.2 Mb/s takes about:

Q5

Task: 0.2 Gcycles, 1.6 Mb input. Edge: 20 GHz, RTT 5 ms, upload 23.1 ms. What is the total edge execution time?

Q6

In the model of this chapter, what energy does the phone spend when it offloads a task?

Q7

Same task (C = 0.2 Gcycles, D = 1.6 Mb, local 100 ms); edge 20 GHz with RTT 5 ms. Above which uplink rate is offloading to the edge faster than local execution?

Q8

A task needs 0.05 Gcycles but has a 2 MB input. The phone computes it in 25 ms. The edge is 20 GHz away with RTT 5 ms. Why is the break-even rate so high (≈ 914 Mb/s)?

Q9

Offloading to a cloud 60 ms away can never be faster than local execution when:

Q10

With DVFS, dynamic energy per task is E = κ C f². If a phone halves its CPU frequency, what happens to the task's time and energy?

Q11

Why can the optimal DNN split point change while the user walks across campus?

Q12

Why is it often good to split a DNN after a pooling layer?

Q13

Six identical users could each offload to a shared edge server. Individually, offloading is better while the server is shared by at most 5 users. What is the Nash equilibrium?

Q14

In the same example, if all 6 users offloaded, each would wait 105 ms, while computing locally takes 100 ms. What does this illustrate?

Q15

An edge server (M/M/1) serves μ = 100 tasks/s. What is the average time in the system when λ = 80 tasks/s?

Q16

An edge server is close to saturation and AR requests keep arriving. Which reaction is not reasonable?

Q17

In the placement policy "EDF order + cheapest resource that meets the deadline", why may placing a hopeless task anyway be harmful?

Q18

Offloading a workflow DAG across device, edge and cloud is closest to which problem from earlier chapters?

Q19

A student using CampusAR walks from building A to building B. Their service runs on A's edge server. What are the options, and what is the trade-off?

Q20

Which technique is designed for making good offloading decisions over the long term under random arrivals and channel conditions, while keeping queues stable?

Q21

Why is deep reinforcement learning used in recent offloading research?

Q22

What is federated learning, in placement terms?

Q23

Which orchestrators are designed for small edge nodes with unreliable links?

Q24

Six identical users share an edge server; with k offloaders each gets 45 + 10k ms remotely, while local execution takes 100 ms. Which number of offloaders minimizes the average latency of all six users?

Q25

Converting an SNR of 3 dB to a linear ratio gives approximately:

Q26

AR applications need roughly 20 ms motion-to-photon latency. Why does this practically exclude a cloud region 60 ms away for per-frame processing?

Q27

Which kind of task is the best candidate for offloading?

Q28 Short answer

Compute, for a CampusAR frame (C = 0.2 Gcycles, D = 200 KB, phone 2 GHz, P_compute = 0.9 W, P_tx = 1.3 W), the time and phone energy of local, edge (20 GHz, RTT 5 ms) and cloud (50 GHz, RTT 60 ms) execution with (a) good Wi-Fi: 20 MHz, 10 dB; (b) weak Wi-Fi: 5 MHz, 3 dB. Which option would you choose in each case, and what are the break-even rates?

Q29 Short answer

Explain the best-response dynamics for 6 identical users sharing a 20 GHz edge server (C = 0.2 Gcycles each, local time 100 ms, upload 40 ms, RTT 5 ms, capacity shared equally among offloaders). Give each user's remote time as users join, the equilibrium, the average latency, and compare with "all offload" and "none offload". Suggest one mechanism to improve the outcome.

Q30 Short answer

Formulate, in words and symbols, a research problem for EdgeCampus: N phones generate tasks (C_i, D_i, deadline d_i); there are M edge servers (speeds f_j, capacities) and a cloud (speed f_c, price p per Gcycle). Define the decision variables, the objective and the constraints, say why the problem is hard, and propose one heuristic and one evaluation plan.