PDA

View Full Version : Một chút thắc mắc về flow control trong Frame Relay!!!



Hajime
12-08-2004, 04:49 PM
There will generally be several PVCs operating on the access link with each VC having dedicated bandwidth availability specified as the Committed Information Rate (CIR). The CIR is the rate at which the service provider agrees to accept bits on the VC.
Individual CIRs are normally less than the port speed. However, the sum of the CIRs will normally be greater than the port speed, possibly by a factor of 2 or 3. This statistical multiplexing accomodates the bursty nature of computer communications since channels are unlikely to be at their maximum data rate simultaneously.
While a frame is being transmitted, each bit will be sent at the port speed. For this reason, there must be a gap between frames on a VC if the average bit rate is to be the CIR.
Committed burst(Bc) – This is the maximum number of bits that the switch agrees to tranfer during any committed rate measurement interval.

Excess burst(Be) – This is the maximum number of uncommitted bits that the FR switch attempts to transfer beyond the CIR. Excess burst depends on the service offerings that the vendor has available, but it is typically limited to the port speed of the local access loop. This data (Be) generally is delivered with a lower probability than Bc. The network treats Be data as discard eligible.

DE – The DE bit is set on the oversubscribed traffic ( that is, the traffic that was received after the CIR was met )
The switch maintains a bit counter for each VC. An incoming frame is marked DE if it puts the counter over Bc. An incoming frame is discarded if it pushes the counter over Bc + Be. At the end of each Tc seconds the counter is reduced by Bc. The counter may not be negative, so idle time can not be saved up.

Theo như Hajime hiểu thì CIR là tốc độ mà nhà cung cấp đồng ý cấp cho mình trên mỗi VC ( hợp đồng giữa mình và nhà cung cấp ). Nhưng tại sao tổng các CIR của các PVC mà mình có lại có thể lớn hơn port speed… Có phải là do dung lượng của đường truyền còn dư hay không? ( Nhà cung cấp chưa bán đường truyền đó cho ai ).
Khi gói tin được truyền đi thì sẽ được truyền theo tốc độ port, sẽ có một khoảng thời gian (gap) giữa hai lần truyền nhưng if the average bit rate is to be the CIR là sao?
Còn Bc và Be là làm sao? Mình nghĩ Bc là tốc độ bit mà truyền được trên thực tế, còn Be là tốc độ bit truyền quá tốc độ đã ký trên hợp đồng với nhà cung cấp( ở một mức nào đó ). Khi truyền quá tốc độ “đã ký” thì các packet đó sẽ được đánh dấu bằng một DE bit (sẽ được ưu tiên drop khi có congestion), nhưng nếu truyền quá tốc độ Bc+Be ( “làm tới” luôn ) thì packet đó sẽ bị drop.
Mình hiểu thế có đúng chưa? Mình còn hơi mơ hồ chỗ này lắm? Xin các bạn chỉ giúp.. Cho ví dụ cho dễ hiểu…! :)
Xin cám ơn,

changchancuucodon
15-08-2004, 12:53 AM
CIR: tốc độ truyền dữ liệu trung bình mà một nhà SP cam kết truyền cho một thuê bao

Bc: lượng dữ liệu được truyền trong một chu kỳ

Tc= 0.125 ms là một chu kỳ

Be = Số bit vượt quá mức ngưỡng (mức bùng nổ ) của một PVC

Nếu vượt quá mức Bc + Be, các frame có bit DE = 1 sẽ bị drop trước.

emThuy
15-08-2004, 12:34 PM
CCNA 4 v3 Cisco Networking Academy Program Book -- page 415

no all the VCs will have their maximun deman simultareously, the capacity of the leased-line can be small than the sum of the individual VCs.

Nếu có thắc mắc gì sao anh không gọi support của nhà cung cấp dịch vu.