Rafael is right. I'm talking about the excplicit limit which with (cpu
cores limit, ram limit) allows limiting account.
E.g.
We have
- low cpu VM offering: 4 cores / 1000 MHz / 4 GB RAM
- high cpu offering: 1 core / 3400 MHz / 2 GB RAM

Without MHz parameter it's impossible enforce an user can create either 1
VM of low cpu with many cores or 1 VM with high cpu and 1 core (in
general).
So, basically, it's missing parameter for VM offering limiter. Quota
service is also enables similar things but it's external service which
should be enabled and configured while it's a native thing.

Setting limits like:

cpu: 4
mhz: 4000
ram: 4096

enables doing that.



2018-01-09 20:11 GMT+07:00 Rafael Weingärtner <rafaelweingart...@gmail.com>:

> I believe he is talking about something different.
>
> The Quota plugin is used to manage users' resources indirectly. Meaning,
> instead of assigning the limit of resource a user can allocate/use, the
> administrator/operator assigns a monetary value to users. Then, the user
> has the freedom to use as much resource as possible with the monetary value
> he/she got (are users also restricted to Account/Domain restrictions when
> the Quota plugin is enabled?). On the other hand, Ivan is talking about a
> new metric to be considered in Account/Domain limits. This Account/Domain
> limit system is another way of managing resources that we have in ACS, and
> it does not require Quota to be enabled.
>
>
> On Tue, Jan 9, 2018 at 11:04 AM, Dag Sonstebo <dag.sonst...@shapeblue.com>
> wrote:
>
> > Ivan,
> >
> > Is the feature you are suggesting not just a slightly different version
> of
> > the quota service – which afaik is already in place?
> >
> > https://cwiki.apache.org/confluence/display/CLOUDSTACK/
> Quota+Service+-+FS
> >
> >
> > Regards,
> > Dag Sonstebo
> > Cloud Architect
> > ShapeBlue
> >
> > On 09/01/2018, 12:58, "Rafael Weingärtner" <rafaelweingart...@gmail.com>
> > wrote:
> >
> >     Very interesting proposal. I even thought it already existed, but it
> > is not
> >     there yet.
> >     +1
> >
> >
> >     On Mon, Jan 8, 2018 at 6:32 AM, Ivan Kudryavtsev <
> > kudryavtsev...@bw-sw.com>
> >     wrote:
> >
> >     > Hello, community.
> >     >
> >     > We are going to implement the feature which enables limiting
> > accounts and
> >     > domains for cumulative MHz available. Thus creating VMs will take
> > that
> >     > limit into account calculating VM MHz as core_count *
> > core_frequency. May
> >     > be some other people wanted a feature like that or have
> > considerations
> >     > about better implementations, so I invite everyone interested to
> >     > participate in the discussion and commenting JIRA
> >     > https://issues.apache.org/jira/browse/CLOUDSTACK-10216 because It
> > helps
> >     > getting better results. Everyone is welcome.
> >     >
> >     >
> >     > --
> >     > With best regards, Ivan Kudryavtsev
> >     > Bitworks Software, Ltd.
> >     > Cell: +7-923-414-1515
> >     > WWW: http://bitworks.software/ <http://bw-sw.com/>
> >     >
> >
> >
> >
> >     --
> >     Rafael Weingärtner
> >
> >
> >
> > dag.sonst...@shapeblue.com
> > www.shapeblue.com
> > 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> > @shapeblue
> >
> >
> >
> >
>
>
> --
> Rafael Weingärtner
>



-- 
With best regards, Ivan Kudryavtsev
Bitworks Software, Ltd.
Cell: +7-923-414-1515
WWW: http://bitworks.software/ <http://bw-sw.com/>

Reply via email to