Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-03-04 Thread Sylvain Bauza
Both of you, thanks for your insights. Greatly appreciated. Le 04/03/2016 09:25, Cheng, Yingxin a écrit : Hi, First of all, many delayed thanks to Jay Pipes's benchmarking framework, learnt a lot from it : ) Other comments inline. On Friday, March 4, 2016 8:42 AM Jay Pipes wrote: Hi again,

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-03-04 Thread Cheng, Yingxin
Hi, First of all, many delayed thanks to Jay Pipes's benchmarking framework, learnt a lot from it : ) Other comments inline. On Friday, March 4, 2016 8:42 AM Jay Pipes wrote: > Hi again, Yingxin, sorry for the delayed response... been traveling. > Comments inline :) > > On 03/01/2016 12:34 AM,

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-03-03 Thread Jay Pipes
Hi again, Yingxin, sorry for the delayed response... been traveling. Comments inline :) On 03/01/2016 12:34 AM, Cheng, Yingxin wrote: Hi, I have simulated the distributed resource management with the incremental update model based on Jay's benchmarking framework: https://github.com/cyx1231st/

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-03-02 Thread Sylvain Bauza
Le 02/03/2016 09:15, Cheng, Yingxin a écrit : On Tuesday, March 1, 2016 7:29 PM, John Garbutt wrote On 1 March 2016 at 08:34, Cheng, Yingxin wrote: Hi, I have simulated the distributed resource management with the incremental update model based on Jay's bench

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-03-02 Thread Cheng, Yingxin
On Tuesday, March 1, 2016 7:29 PM, John Garbutt wrote > On 1 March 2016 at 08:34, Cheng, Yingxin wrote: > > Hi, > > > > I have simulated the distributed resource management with the incremental > update model based on Jay's benchmarking framework: > https://github.co

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-03-01 Thread John Garbutt
On 1 March 2016 at 08:34, Cheng, Yingxin wrote: > Hi, > > I have simulated the distributed resource management with the incremental > update model based on Jay's benchmarking framework: > https://github.com/cyx1231st/placement-bench/tree/shared-state-demonstration. > The complete result lies at

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-03-01 Thread Cheng, Yingxin
Hi, I have simulated the distributed resource management with the incremental update model based on Jay's benchmarking framework: https://github.com/cyx1231st/placement-bench/tree/shared-state-demonstration. The complete result lies at http://paste.openstack.org/show/488677/. It's ran by a VM

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-24 Thread Ed Leafe
On 02/24/2016 05:56 AM, Chris Dent wrote: >> I'd actually also be interested if this has a potential to reduce the >> demand on the message bus. I've been investigating this for a while, >> and I >> found that RabbitMQ will happily consume 5 high end CPU cores on a >> single box >> just to serve t

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-24 Thread Cheng, Yingxin
Sorry for the late reply. On 22 February 2016 at 18:45, John Garbutt wrote: > On 21 February 2016 at 13:51, Cheng, Yingxin wrote: > > On 19 February 2016 at 5:58, John Garbutt wrote: > >> On 17 February 2016 at 17:52, Clint Byrum wrote: > >> > Excerpts from Cheng, Yingxin's message of 2016-02-14

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-24 Thread Chris Dent
On Tue, 23 Feb 2016, Clint Byrum wrote: I'd actually also be interested if this has a potential to reduce the demand on the message bus. I've been investigating this for a while, and I found that RabbitMQ will happily consume 5 high end CPU cores on a single box just to serve the needs of 1000 i

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-24 Thread Sylvain Bauza
Le 24/02/2016 01:10, Jay Pipes a écrit : On 02/22/2016 04:23 AM, Sylvain Bauza wrote: I won't argue against performance here. You made a very nice PoC for testing scaling DB writes within a single python process and I trust your findings. While I would be naturally preferring some shared-nothi

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-24 Thread Cheng, Yingxin
ay Pipes [mailto:jaypi...@gmail.com] > Sent: Wednesday, February 24, 2016 8:11 AM > To: Sylvain Bauza ; OpenStack Development Mailing List > (not for usage questions) ; Cheng, Yingxin > > Subject: Re: [openstack-dev] [nova] A prototype implementation towards the > "shared state sched

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-23 Thread Clint Byrum
Excerpts from Jay Pipes's message of 2016-02-23 16:10:46 -0800: > On 02/22/2016 04:23 AM, Sylvain Bauza wrote: > > I won't argue against performance here. You made a very nice PoC for > > testing scaling DB writes within a single python process and I trust > > your findings. While I would be natura

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-23 Thread Jay Pipes
On 02/22/2016 04:23 AM, Sylvain Bauza wrote: I won't argue against performance here. You made a very nice PoC for testing scaling DB writes within a single python process and I trust your findings. While I would be naturally preferring some shared-nothing approach that can horizontally scale, one

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-23 Thread Jay Pipes
On 02/23/2016 06:03 PM, Chris Friesen wrote: On 02/21/2016 01:56 PM, Jay Pipes wrote: Yingxin, sorry for the delay in responding to this thread. My comments inline. On 02/17/2016 12:45 AM, Cheng, Yingxin wrote: To better illustrate the differences between shared-state, resource-provider and le

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-23 Thread Jay Pipes
On 02/23/2016 06:12 PM, Chris Friesen wrote: On 02/22/2016 03:23 AM, Sylvain Bauza wrote: See, I don't think that a compute node unable to start a request is an 'abnormal case'. There are many reasons why a request can't be honored by the compute node : - for example, the scheduler doesn't own

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-23 Thread Chris Friesen
On 02/22/2016 03:23 AM, Sylvain Bauza wrote: See, I don't think that a compute node unable to start a request is an 'abnormal case'. There are many reasons why a request can't be honored by the compute node : - for example, the scheduler doesn't own all the compute resources and thus can miss

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-23 Thread Chris Friesen
On 02/21/2016 01:56 PM, Jay Pipes wrote: Yingxin, sorry for the delay in responding to this thread. My comments inline. On 02/17/2016 12:45 AM, Cheng, Yingxin wrote: To better illustrate the differences between shared-state, resource-provider and legacy scheduler, I’ve drew 3 simplified picture

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-22 Thread John Garbutt
On 21 February 2016 at 13:51, Cheng, Yingxin wrote: > On 19 February 2016 at 5:58, John Garbutt wrote: >> On 17 February 2016 at 17:52, Clint Byrum wrote: >> > Excerpts from Cheng, Yingxin's message of 2016-02-14 21:21:28 -0800: >> Long term, I see a world where there are multiple scheduler Nova

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-22 Thread Sylvain Bauza
oZJWtTumAkw/edit?usp=sharing [2] https://review.openstack.org/#/c/271823/ Regards, -Yingxin *From:*Sylvain Bauza [mailto:sba...@redhat.com] *Sent:* Monday, February 15, 2016 9:48 PM *To:* OpenStack Development Mailing List (not for usage questions) *Subject:* Re: [openstack-dev] [nova] A prototype

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-21 Thread Chris Dent
On Sun, 21 Feb 2016, Jay Pipes wrote: I don't see how the shared-state scheduler is getting the most accurate resource view. It is only in extreme circumstances that the resource-provider scheduler's view of the resources in a system (all of which is stored without caching in the database) wou

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-21 Thread Jay Pipes
qa6oZJWtTumAkw/edit?usp=sharing [2] https://review.openstack.org/#/c/271823/ Regards, -Yingxin *From:*Sylvain Bauza [mailto:sba...@redhat.com] *Sent:* Monday, February 15, 2016 9:48 PM *To:* OpenStack Development Mailing List (not for usage questions) *Subject:* Re: [openstack-dev] [nova] A p

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-21 Thread Cheng, Yingxin
On 19 February 2016 at 5:58, John Garbutt wrote: > On 17 February 2016 at 17:52, Clint Byrum wrote: > > Excerpts from Cheng, Yingxin's message of 2016-02-14 21:21:28 -0800: > >> Hi, > >> > >> I've uploaded a prototype https://review.openstack.org/#/c/280047/ to > >> testify its design goals in acc

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-19 Thread John Garbutt
On 17 February 2016 at 17:52, Clint Byrum wrote: > Excerpts from Cheng, Yingxin's message of 2016-02-14 21:21:28 -0800: >> Hi, >> >> I've uploaded a prototype https://review.openstack.org/#/c/280047/ to >> testify its design goals in accuracy, performance, reliability and >> compatibility improv

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-18 Thread Chris Friesen
On 02/17/2016 06:59 AM, Chris Dent wrote: The advantage of a centralized datastore for that information is that it provides administrative control (e.g. reserving resources for other needs) and visibility. That level of command and control seems to be something people really want (unfortunately)

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-18 Thread Nikola Đipanov
On 02/15/2016 09:27 AM, Sylvain Bauza wrote: > > > Le 15/02/2016 06:21, Cheng, Yingxin a écrit : >> >> Hi, >> >> >> >> I’ve uploaded a prototype https://review.openstack.org/#/c/280047/ >> to testify its design goals >> in accuracy, performance, reliab

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-17 Thread Cheng, Yingxin
> -Original Message- > From: Clint Byrum [mailto:cl...@fewbar.com] > Sent: Thursday, February 18, 2016 1:53 AM > To: openstack-dev > Subject: Re: [openstack-dev] [nova] A prototype implementation towards the > "shared state scheduler" > > Excerpts from C

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-17 Thread Clint Byrum
Excerpts from Cheng, Yingxin's message of 2016-02-14 21:21:28 -0800: > Hi, > > I've uploaded a prototype https://review.openstack.org/#/c/280047/ to testify > its design goals in accuracy, performance, reliability and compatibility > improvements. It will also be an Austin Summit Session if elec

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-17 Thread Cheng, Yingxin
On Wed, 17 February 2016, Sylvain Bauza wrote (sorry, quoting off-context, but I feel it's a side point, not the main discussion) Le 17/02/2016 16:40, Cheng, Yingxin a écrit : IMHO, the authority to allocate resources is not limited by compute nodes, but also include network service, storage se

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-17 Thread Sylvain Bauza
(sorry, quoting off-context, but I feel it's a side point, not the main discussion) Le 17/02/2016 16:40, Cheng, Yingxin a écrit : IMHO, the authority to allocate resources is not limited by compute nodes, but also include network service, storage service or all other services which have the

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-17 Thread Cheng, Yingxin
On Wed, 17 February 2016, Sylvain Bauza wrote Le 17/02/2016 12:59, Chris Dent a écrit : On Wed, 17 Feb 2016, Cheng, Yingxin wrote: To better illustrate the differences between shared-state, resource- provider and legacy scheduler, I've drew 3 simplified pictures [1] in emphasizing the location of

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-17 Thread Sylvain Bauza
Le 17/02/2016 12:59, Chris Dent a écrit : On Wed, 17 Feb 2016, Cheng, Yingxin wrote: To better illustrate the differences between shared-state, resource- provider and legacy scheduler, I've drew 3 simplified pictures [1] in emphasizing the location of resource view, the location of claim and

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-17 Thread Chris Dent
On Wed, 17 Feb 2016, Cheng, Yingxin wrote: To better illustrate the differences between shared-state, resource- provider and legacy scheduler, I've drew 3 simplified pictures [1] in emphasizing the location of resource view, the location of claim and resource consumption, and the resource update

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-16 Thread Cheng, Yingxin
To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler" Le 15/02/2016 10:48, Cheng, Yingxin a écrit : Thanks Sylvain, 1. The below ideas will be extended to a spec ASAP. Ni

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-15 Thread Ed Leafe
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 02/15/2016 03:27 AM, Sylvain Bauza wrote: > - can we have the feature optional for operators One thing that concerns me is the lesson learned from simply having a compute node's instance information sent and persisted in memory. That was resiste

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-15 Thread Sylvain Bauza
tions) *Subject:* Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler" Le 15/02/2016 06:21, Cheng, Yingxin a écrit : Hi, I’ve uploaded a prototype https://review.openstack.org/#/c/280047/ <https://review.openstack.org/#/c/28004

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-15 Thread Cheng, Yingxin
to:sba...@redhat.com] Sent: Monday, February 15, 2016 5:28 PM To: OpenStack Development Mailing List (not for usage questions) Subject: Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler" Le 15/02/2016 06:21, Cheng, Yingxin a écrit : Hi, I&#x

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-15 Thread Sylvain Bauza
Le 15/02/2016 06:21, Cheng, Yingxin a écrit : Hi, I’ve uploaded a prototype https://review.openstack.org/#/c/280047/ to testify its design goals in accuracy, performance, reliability and compatibility improvements. It will also be an Austin Summit

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-14 Thread Boris Pavlovic
@pavlovic.me] > *Sent:* Monday, February 15, 2016 1:59 PM > *To:* OpenStack Development Mailing List (not for usage questions) < > openstack-dev@lists.openstack.org> > *Subject:* Re: [openstack-dev] [nova] A prototype implementation towards > the "shared state scheduler&

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-14 Thread Cheng, Yingxin
prototype implementation towards the "shared state scheduler" Yingxin, This looks quite similar to the work of this bp: https://blueprints.launchpad.net/nova/+spec/no-db-scheduler It's really nice that somebody is still trying to push scheduler refactoring in this way. Thanks. Best

Re: [openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-14 Thread Boris Pavlovic
Yingxin, This looks quite similar to the work of this bp: https://blueprints.launchpad.net/nova/+spec/no-db-scheduler It's really nice that somebody is still trying to push scheduler refactoring in this way. Thanks. Best regards, Boris Pavlovic On Sun, Feb 14, 2016 at 9:21 PM, Cheng, Yingxin w

[openstack-dev] [nova] A prototype implementation towards the "shared state scheduler"

2016-02-14 Thread Cheng, Yingxin
Hi, I've uploaded a prototype https://review.openstack.org/#/c/280047/ to testify its design goals in accuracy, performance, reliability and compatibility improvements. It will also be an Austin Summit Session if elected: https://www.openstack.org/summit/austin-2016/vote-for-speakers/Presentati