Re: [RFC] libcg: design and plans

From: Xpl++
Date: Wed Mar 05 2008 - 14:31:03 EST


Hi Dhaval,

Dhaval Giani ??????:
Imagine having a shared/joint household savings account with your wife, and taking money from it without your wife knowing and vice versa .. then at some point when you thought that you have some $5K to buy the new super duper laptop you dreamt about your entire life - surprise - no enough resources :)
This is somewhat the equivalent of multiple independent resourse managers :) It won't end well :)
Should they be expected to be adequate in doing their job, they cannot be independent since they manage a shared resource.


I don't quite agree with your analogy here. The point here is that each
resource manager operates in its own area, and has already been assigned
some resources which it cannot change. Its more like you can take $x at
the most from the account and your wife $y with x+y<=total money.
Ok .. so imagine that your kid got sick and you need more than $x, while you wife does not need any money at that particular moment?
Would you:

a) take a loan (buy more hardware/resources, just because we can), despite the fact you already have them in you account, and since we're talking about your child it's in the interest of both you and your wife (tha family, 'the whole' so to speak) to cure the illness

b) notify your wife there is an emergency and you will need some extra money which has to come from her $y quota, take the money, make the kid happy, and just continue business as usual? (that is - being smart and dynamic in resource allocation)

With the proposed libcg, answer a) seems to be the only option .. and my company is not like M$ so I don't have extra resources to waste just because I was told resources cannot be managed dynamicaly :)
Why would one need to manage node resources dynamicaly: in our real-life production system we have to manage resources dynamicaly, because any other solution would require at least twice as much hardware, which will also inevitably lead to a necessity to hire more qualified admins, which is once again not so wise for small/medium business .. and not to mention the extra CO2 caused by the few more dozens of servers :)

Regards,
Peter.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/