# Nomad scheduling problem

**URL:** <https://discuss.hashicorp.com/t/nomad-scheduling-problem/38803>\
**Category:** Nomad\
**Created:** [April 28, 2022, 4:15am UTC](https://discuss.hashicorp.com/t/nomad-scheduling-problem/38803 "2022-04-28T04:15:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![x602](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/x602/32/27363_2.png) [@x602](https://discuss.hashicorp.com/u/x602)\
**Post date:** [April 28, 2022, 4:15am UTC](https://discuss.hashicorp.com/t/nomad-scheduling-problem/38803/1 "2022-04-28T04:15:03Z")

</div>

Hello, I’m curious about a question. For example, there are three nomad clients,

A runs 5 jobs, occupying 60%

B has run three jobs, occupying 30%

C runs a job, occupying 10%

Why do I run a new job and it will automatically select b instead of selecting the least C like k8s

---

<div class="post-metadata">

**Author:** ![jrasell](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/jrasell/32/5500_2.png) [@jrasell](https://discuss.hashicorp.com/u/jrasell)\
**Post date:** [April 28, 2022, 7:29am UTC](https://discuss.hashicorp.com/t/nomad-scheduling-problem/38803/2 "2022-04-28T07:29:52Z")

</div>

Hi @x602,

Nomad uses a bin-packing scheduling algorithm by default which optimizes the resource utilization and density of applications. You can change this between `spread` and `binpack` via the [update-scheduler-configuration API call](https://www.nomadproject.io/api-docs/operator/scheduler#update-scheduler-configuration).

The [scheduling internals documentation](https://www.nomadproject.io/docs/internals/scheduling/scheduling) has additional information on what can affect allocation placement during the scheduling process.

Thanks,  
jrasell and the Nomad team
