OpenVZ Forum


Home » Mailing lists » Devel » Re: [RFC] [PATCH 0/3] Add group fairness to CFS
Re: [RFC] [PATCH 0/3] Add group fairness to CFS [message #18607] Wed, 23 May 2007 19:46 Go to next message
William Lee Irwin III is currently offline  William Lee Irwin III
Messages: 20
Registered: April 2007
Junior Member
* William Lee Irwin III <wli@holomorphy.com> wrote:
>> [...] As an interface it may be poor and worse yet poorly specified, 
>> [...]

On Wed, May 23, 2007 at 09:26:54PM +0200, Ingo Molnar wrote:
> that's the only thing that matters to fundamental design questions like 
> this.

I'm not sure where it comes in as a design question. Tuning whatever's
done for sched_yield() is just one of the drudgery tasks of rounding
out the implementation as I see it. It can be painful depending on
what's being changed, though it's not clear to me precisely how painful
tuning it will be for this change.

If it turns out to be a large enough issue, I can enforce reasonable
semantics for it with no impact on the core scheduling algorithm anyway.


* William Lee Irwin III <wli@holomorphy.com> wrote:
>> The content of my comment was that the patch does something to 
>> sched_yield() semantics, so it raises the question of what will happen 
>> in benchmarks and other performance affairs that are sensitive to 
>> sched_yield() semantics changes.

On Wed, May 23, 2007 at 09:26:54PM +0200, Ingo Molnar wrote:
> the correct aproach to the "sys_sched_yield() is an API that sucks" 
> problem is to simply _not use it_. User-space is figuring that out now, 
> fortunately.

We do need API's to displace it for that to really take off. I think
the yield_to() API's will help there. Sadly, I expect it to be a very
long time for the transition to really happen.


-- wli
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Re: [RFC] [PATCH 0/3] Add group fairness to CFS [message #18631 is a reply to message #18607] Wed, 23 May 2007 19:55 Go to previous message
Ingo Molnar is currently offline  Ingo Molnar
Messages: 51
Registered: December 2005
Member
* William Lee Irwin III <wli@holomorphy.com> wrote:

> * William Lee Irwin III <wli@holomorphy.com> wrote:
> >> [...] As an interface it may be poor and worse yet poorly specified, 
> >> [...]
> 
> On Wed, May 23, 2007 at 09:26:54PM +0200, Ingo Molnar wrote:
> > that's the only thing that matters to fundamental design questions like 
> > this.
> 
> I'm not sure where it comes in as a design question. [...]

uhm, that's my whole point: it does _not_ come in as a design question 
at all. You raised it, and i simply stated the fact that it doesnt 
matter. Ok? :-) This is much ado about nothing i guess.

	Ingo
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
Previous Topic: Re: [RFC] [PATCH 0/3] Add group fairness to CFS
Next Topic: Re: [RFC] [PATCH 0/3] Add group fairness to CFS
Goto Forum:
  


Current Time: Thu Feb 13 16:52:27 GMT 2025

Total time taken to generate the page: 0.06468 seconds