11_30_ Throughput

11_30_ Throughput - Segmentation fault when you try to...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Keep track of the departure time, when the first packet arrives, when any packet arrives, well take the current time add d seconds to it which is the best candidate departure time, can possible be later than that b/c look at last time of departure so keep track of that as a variable, hold the time stamp, variable packets, size of the packet. Can calculate a candidate for the next departure time, larger of the possible candidates, shove that on the queue. Modification of the server, instead of throwing away the packet, calculate the departure time, store it somewhere, somewhere bound, throw that packet onto the queue then you’ll be done. Manage the departure from the queue. UDP, fire and forget, no provision if it is actually received TCP, is a reliable, example of go back n protocol, designed to move byte streams from one place to another IP- not reliable, 9. E is not true, no error code
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Segmentation fault when you try to access a portion of memory when youre not allowed to. Not allow to touch other ppls process. instantaneous throughput at time t is w(t)/RTT, almost assuming RTT is infinitesimal If TCP is working the window size can normally increase by one full size packet for every RTT. MTU- maximum transmission unit, size of the max packet of the network TCP: When theres a loss the window size goes to 1/2, actually goes to 0 but exponentially increases so say its What determines your throughput when you do a file transfer. Function of throughput Can say there is some average window size W T=avg throughput = W / RTT Rate at which w increases = rate at which W decreases MTU/RTT rate at which it increases = (W / 2 ) x (T/MTU) x p = (W /2) * (W / RTT) *(1/MTU)*p W = sqrt(2/p) T=(MTU/RTT) * sqrt(2/p)...
View Full Document

Page1 / 2

11_30_ Throughput - Segmentation fault when you try to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online