The basic approach would be to write flows that match on TOS and use that to set the queue to be used.
On Wed, Nov 07, 2012 at 02:15:45AM +0800, Robin Wang wrote: > Still interested and curious about the OF solution you mentioned. Any > advice would be appreciated, (docs/examples) about where to start the > investigation myself, on that interesting solution. Thanks very much. > > Best, > Robin > > 2012/11/7 Ben Pfaff <[email protected]> > > > It sounds like you're already comfortable doing all of this with tc. > > If so, I'm not sure of the advantage of doing it another way. > > > > On Wed, Nov 07, 2012 at 01:58:31AM +0800, Robin Wang wrote: > > > Sorry for missing the mail list. Add it in loop. Thanks. > > > > > > Best, > > > Robin > > > > > > 发件人: Robin Wang > > > 发送时间: 2012-11-07 01:57 > > > 收件人: Ben Pfaff > > > 主题: Re: Re: [ovs-discuss] Extra config through tc/netfilter needed for > > TOS? > > > Thanks for your response, Ben! > > > > > > Yeah, I tried configuring qdisc through ovs-vsctl by manipulating > > Qos/Queue. It works fine on OVS supported qdisc HTB/HFSC. > > > > > > For TOS thing I've mentioned in previous mail, one convenient way is to > > use u32 selector in tc filter, or use netfilter to get packets go into > > certain queue. I think that should work fine, too. But the disadvantage is > > that , this part of configuration is not tracked by OVSDB. Seen from > > management plane, there're two separate operations to achieve this goal > > through different management interfaces. > > > > > > So I wonder it there's a better method, a consolidated one. You > > mentioned that writing OF rules may help. Would you like to give me some > > hints on how to achieve that? Thanks very much. > > > > > > Best, > > > Robin > > > > > > > > > From: Ben Pfaff > > > Date: 2012-11-07 01:44 > > > To: Robin Wang > > > CC: > > > Subject: Re: [ovs-discuss] Extra config through tc/netfilter needed for > > TOS? > > > On Mon, Nov 05, 2012 at 11:51:37PM +0800, Robin Wang wrote: > > > > Since OVS QoS is based on linux policing and qdisc, to achieve QoS per > > Type > > > > of Service, say 100Mbps for web server(port 80), 10M for SMTP(port > > 25), is > > > > it achievable just through OVS configuration? or I still need to do > > extra > > > > config through tc filter/netfilter? > > > > > > You should be able to achieve the qdisc configuration through OVS > > > configuration of the QoS and Queue tables. > > > > > > I'm not sure whether you can tie TOS to queue without writing OpenFlow > > > rules. > > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
