|
cato |
Wild boys always shine
Registered: Nov 2001
Posts: 5608 (0.66 al dì)
Location: lecco
Corso: F28
Anno: dottore
Time Online: 38 Days, 5:41:55 [...]
Status: Offline
Edit | Report | IP: Logged |
[architettura 2]
8) Si consideri un burst di 20 Mbyte/sec che ha durata di 50 msec.. Come
viene profilato questo burst da un token bucket di 500 Kbyte e flusso di
uscita a 2 Mbyte/sec che alimenta un leaky bucket da 10 Mbyte/sec ?
Brust 20*0.05=1Mbyte
tocken buket
output a 20Mbyte/sec 0,5/20-2=0,028sec 560Kbyte
output a 2Mbyte/sec 0,44/2=0,22 sec 440Kbyte
come si porsegue l'esercizio???
--
soluzione che non capisco
Il burst considerato e' pari a 1 Mbyte. Applicando la formula S = C/(M-ro)
si ottiene che il token bucket puo' produrre in output un flusso a
20Mbyte/sec per 28 msec. (arrotondando per eccesso) seguito da un flusso a
2Mbyte/sec per 220 msec. Questo profilo produce all'uscita del leaky bucket
un flusso a 10Mbyte/sec per 62 msec. che consente di smaltire 620 Kbyte.
Per smaltire i rimanenti 380 Kbyte a 2Mbyte/sec. servono 190 msec.
|