Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Capacity Scheduler : Preemption of containers in the same queue

avatar
New Member

Hi,

I recently started to use the Capacity Scheduler. Basically I have two main queues : dev and prod. Each of them have a capacity of 50% and a max capacity of 100%. My dev queue is in Fair policy while my prod queue is in FIFO. I also set the user-limit-factor to 2 (so each user could use 100% of the cluster of available). This configuration is now in production and I observed something surprising : even if the dev queue is unused (0%) and the prod queue is below 100 %, there is still preemption of containers in the prod queue.

- Can preemption happen even if the cluster is not 100% used ?

- Can jobs preempt containers from the same queue ?

Now I disabled the preemption of the prod queue because there was too much preemption, but I'm loosing some elasticity between the dev and prod 😞

Thanks for you help

Pierre

1 ACCEPTED SOLUTION

avatar

Hi @Pierre Gunet-Caplain,

Does the prod Queue has child queues? If so, since the prod Queue is configured as FIFO, preemption can happen between the child queues of prod Queue based on the child queue 's capacity.

Preemption can happen even if he cluster is not 100% used for the case where new resource required is more than the available resource.

View solution in original post

1 REPLY 1

avatar

Hi @Pierre Gunet-Caplain,

Does the prod Queue has child queues? If so, since the prod Queue is configured as FIFO, preemption can happen between the child queues of prod Queue based on the child queue 's capacity.

Preemption can happen even if he cluster is not 100% used for the case where new resource required is more than the available resource.