[j-nsp] Output queue drops and temporal buffers

david.roy at orange.com david.roy at orange.com
Tue Oct 1 16:46:14 EDT 2013


Hi

We experienced unexpected drops with temporal buffer (which is a static buffer) and iCHIP based cards. It was in junos 11.4. Jtac had found an internal PR that matched our issue. 

Workaround was the using buffer-size in %. 

Which version and cards do you use? 

David

Envoyé de mon iPad

> Le 1 oct. 2013 à 21:13, "John Neiberger" <jneiberger at gmail.com> a écrit :
> 
> I've been troubleshooting an interesting problem off and on the past couple
> of days. We have a 1-gig link that is consistently running around 10%
> utilization, give or take a couple of percent, but we see periods where the
> egress WRED drops for queue 0 spike. It's bizarre because there is no
> corresponding increase in overall utilization. I don't know much about
> queueing on this platform (MX960), but I've been reading up on it today.
> Here is the config for that queue:
> 
> TRAFFIC-CLASS-1-SCHEDULER {
>    transmit-rate percent 20;
>    buffer-size temporal 50k;
>    priority low;
>    drop-profile-map loss-priority low protocol any drop-profile DROP-LOW;
>    drop-profile-map loss-priority high protocol any drop-profile DROP-HIGH;
> 
> As I understand it, the formula to determine available buffer space is this:
> 
> bandwidth * transmit-rate percent * temporal buffer size
> 
> On a 1-gig link, I think that means that queue has a total buffer size of
> 1.25 MB. I'm guessing that means that we must be getting large-ish chunks
> of data big enough to come close to filling that queue but intermittent
> enough that the average rate doesn't go up noticeably.
> 
> My question regarding the config is this: if we are already setting the
> transmit rate percentage, why would we also configure a temporal
> allocation? Isn't a percentage of the available bandwidth sufficient? What
> does adding a temporal allocation buy us? Is the transmit rate percent just
> setting how often that queue is serviced, while the buffer-size configures
> the queue depth?
> 
> Thanks,
> John
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp

_________________________________________________________________________________________________________________________

Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.




More information about the juniper-nsp mailing list