From: Thomas Graf <tgraf@suug.ch>
To: Wang Jian <lark@linux.net.cn>
Cc: jamal <hadi@cyberus.ca>, netdev <netdev@oss.sgi.com>
Subject: Re: [RFC] QoS: frg queue (was [RFC] QoS: new per flow queue)
Date: Fri, 22 Apr 2005 13:11:00 +0200 [thread overview]
Message-ID: <20050422111100.GN577@postel.suug.ch> (raw)
In-Reply-To: <20050422115230.03E0.LARK@linux.net.cn>
> > I understand all of your arguments but I would like to, if possible,
> > avoid to add yet another quite specific qdisc which could have been
> > implemented in a generic way for everyone to use. Your FRG basically
> > does what the alloctor + classifier + action + qdiscs can do but it
> > is orientied at one specific use case.
>
> Agree. I will maintain my code out of kernel tree, in case someone feels
> my frg is usefull for his/her special case.
Definitely, I think your work is very valuable and if the generic
approach doesn't work out I'll be all for including your work. Well,
maybe move the flow id generation into an action but leave the class
allocation in frg.
> The other disadvantage is that the dynamic classid used is not predicted
> by user space, it is very tricky for user space to handle the classid
> allocation then (I mean for the management system like web management).
> That is what I try to avoid so far.
Good point, we can make the handle of the allocated classes/qdiscs
be derived from the flow id we get and additionaly broadcast any
change in the qdisc/class management to userspace for it to keep
track. Let me develop some more thoughts on this and get back to you.
> I agree to this. But I must iterate one thing: the design should be
> friendly to user space management for a heavy usage.
Agreed.
I had another look at your code and noticed the GFP_KERNEL masked
kmalloc call in perflow_new_flow() called from perflow_enqueue(),
you must change that to GFP_ATOMIC due to softirq context.
next prev parent reply other threads:[~2005-04-22 11:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-05 15:25 [RFC] QoS: new per flow queue Wang Jian
2005-04-05 17:57 ` jamal
2005-04-06 5:12 ` Wang Jian
2005-04-06 12:12 ` jamal
2005-04-06 13:45 ` Wang Jian
2005-04-07 11:06 ` jamal
2005-04-07 13:14 ` Wang Jian
2005-04-08 12:43 ` jamal
2005-04-13 5:45 ` [RFC] QoS: frg queue (was [RFC] QoS: new per flow queue) Wang Jian
2005-04-18 13:14 ` jamal
2005-04-18 14:50 ` Thomas Graf
2005-04-18 18:01 ` Wang Jian
2005-04-18 18:40 ` Thomas Graf
2005-04-22 4:11 ` Wang Jian
2005-04-22 11:11 ` Thomas Graf [this message]
2005-04-22 12:04 ` Wang Jian
2005-04-18 16:01 ` Wang Jian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050422111100.GN577@postel.suug.ch \
--to=tgraf@suug.ch \
--cc=hadi@cyberus.ca \
--cc=lark@linux.net.cn \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).