Руководство По Проектированию для Cisco Cisco Nexus 5010 Switch

Скачать
Страница из 119
 
 
© 2015 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information. 
Page 70 of 119 
In most deployments, the most important aspects of QoS on the Cisco Nexus 2148T apply to the N2H direction 
because of the disparity in speed toward the 1 Gigabit Ethernet interfaces from, potentially, a multiple-Gigabit 
source. 
The ASIC of interest for this design has a 384-KB buffer for the N2H direction. This buffer is shared by four HIFs. 
Every four front-panel ports on the Cisco Nexus 2148T share one buffer pool, so if you want to increase the buffer 
space available to host ports, you can spread them over as many ASICs as possible. 
Some buffer space is allocated for control-plane traffic. Therefore, a single server receiving traffic from the fabric 
links could use all 320 KB. If four servers are connected per memory pool, then the maximum buffer space that 
each server could potentially use (assuming that they are receiving traffic) is 80 KB. 
If you define at least one no-drop traffic class, the available amount of shared buffer space becomes 160 KB for 
every four ports. 
For the H2N direction, the ASIC of interest is the one connecting the lower ASICs (that are shared by four ports) 
with the fabric links. Just as for the N2H traffic, you have 320 KB of usable buffer space shared by 24 front-panel 
ports. All traffic shares the same drop queue, and if the queue fills up, the fabric extender asserts a Pause (IEEE 
802.3X) toward the server ports as previously described. 
Cisco Nexus 2248TP Buffer Allocation 
The Cisco Nexus 2248TP provides 800 KB of buffer space per ASIC. This ASIC is shared by eight HIF ports. Each 
NIF port can access each one of these ASICs, and can use a maximum of 320 KB. Thus, for the Cisco Nexus 
2248TP (in contrast to the Cisco Nexus 2148T), the more fabric links there are, the more buffer space is available. 
With four NIF uplinks, the traffic can write to the full 800 KB of buffer space, which is shared by eight HIFs. 
Note:   Adding more fabric links to the connection between the Cisco Nexus 2000 Series and the upstream Cisco 
Nexus 5000 Series is often useful to gain more buffering capacity. You gain capacity because even if buffers are 
shared, there is a maximum limit on the amount of buffer space that a given NIF can use in case of congestion. For 
instance, in the case of the Cisco Nexus 2248TP, a single NIF cannot use more than 320 KB out of the 800 KB 
shared among the eight HIFs. If you connect all four NIFs, all 800 KB shared among all eight HIFs become 
available. 
Note:   This discussion does not apply to the Cisco Nexus 2248TP-E; on the Cisco Nexus 2248TP-E, a single 
fabric link can access the full shared memory buffer. 
By default, there is a queue tail-drop threshold of 64 KB for the N2H direction, which can be removed with the no 
fex queue-limit command. Figure 31 illustrates the architecture of a Cisco Nexus 2248TP with particular focus on 
one of the six ASICs (each ASIC handles eight ports). 
For the H2N direction, each group of eight ports shares a 480-KB buffer. 
The Cisco Nexus 2248TP provides six different queues for the data traffic (two queues are used by control-plane 
traffic just as on the Cisco Nexus 5000 Series Switches).