[architettura 2] Clicca QUI per vedere il messaggio nel forum |
cato |
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. |
|
|
|