cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
570
Views
4
Helpful
2
Replies

WFQ dynamic queues question

mstreet
Level 1
Level 1

Hi everybody,

Can anybody tell me what happens if WFQ runs out of queues on an interface? Let's say you have 64 queues setup on an interface and there are 100 flows? How does WFQ deal with this?

Thanks

Mike

1 Accepted Solution

Accepted Solutions

mheusinger
Level 10
Level 10

Hi,

A flow is sorted into an existing queue because of a hash value calculated from the header. The hashing algorithm is selecting one existing queue, so it will never "run out of queues". If 100 flows and only 64 queues exist, then many flows end up with other flows in the same queue.

Therefore it is recommended to configure the number of dynamic queues much higher than the number of concurrent flows.

Regards, Martin

View solution in original post

2 Replies 2

mheusinger
Level 10
Level 10

Hi,

A flow is sorted into an existing queue because of a hash value calculated from the header. The hashing algorithm is selecting one existing queue, so it will never "run out of queues". If 100 flows and only 64 queues exist, then many flows end up with other flows in the same queue.

Therefore it is recommended to configure the number of dynamic queues much higher than the number of concurrent flows.

Regards, Martin

Awesome. That explains it and makes perfect sense. Thanks very much for clearing that up for me.

Mike

Review Cisco Networking for a $25 gift card