Re: [PATCH 3/3] pkt_sched: restore multiqueue prio scheduler
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-08-23 05:12:40
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-08-23 05:12:40
Alexander Duyck [off-list ref] wrote:
That issue led me to the thought of creating a redirect action that would take the packet from one qdisc to the correct qdisc for the transmit queue. That setup has two issues. First, all traffic would need to go to one queue by default to avoid a possible deadlock condition in the event that two queues try to enqueue packets on one another at the same time. That combined with the fact that one packet
That looks like a problem but it isn't. When you're overriding the default queue selection you're breaking CPU affinity. As such cache-line bouncing is clearly not a concern or you wouldn't be doing this (that is, you're doing this for QOS rather than CPU scalability). So having everything go through a single qdisc shouldn't be a problem. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt