Re: sched_userret priority adjustment patch for sched_4bsd
From: John Baldwin (jhb_at_FreeBSD.org)
Date: 09/29/04
- Previous message: idontknowmyself_at_gmx.net: "freebsd on mvme147"
- In reply to: Stephan Uphoff: "Re: sched_userret priority adjustment patch for sched_4bsd"
- Next in thread: Julian Elischer: "Re: sched_userret priority adjustment patch for sched_4bsd"
- Reply: Julian Elischer: "Re: sched_userret priority adjustment patch for sched_4bsd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-arch@FreeBSD.org Date: Wed, 29 Sep 2004 10:55:47 -0400
On Wednesday 29 September 2004 10:38 am, Stephan Uphoff wrote:
> On Tue, 2004-09-28 at 10:56, John Baldwin wrote:
> > If A has a priority boost from tsleep() this is intentional, however.
> > The priroity boosts from tsleep() are _supposed_ to do this so as to
> > favor interactive tasks. Note that if you add the code to always raise
> > td_priority while in the kernel as below you may end up defeating this
> > well-known feature of the 4BSD scheduler.
>
> OK - you and Julian convinced me that this is a feature that I should
> have known about. Without test cases or interactivity benchmarks
> discussions if this is still a desirable feature are probably useless.
> I will revisit the this once test cases materialize or I have time to
> think about a benchmark (Not likely anytime soon).
That's ok. This discussion has been very fruitful on my end at least as
talking this out has helped me get a much better grasp on how this stuff
works on 4.x and should be done in 5.x to obtain at least somewhat similar
behavior.
-- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: idontknowmyself_at_gmx.net: "freebsd on mvme147"
- In reply to: Stephan Uphoff: "Re: sched_userret priority adjustment patch for sched_4bsd"
- Next in thread: Julian Elischer: "Re: sched_userret priority adjustment patch for sched_4bsd"
- Reply: Julian Elischer: "Re: sched_userret priority adjustment patch for sched_4bsd"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]