# Better scheduling among hosts

**URL:** <https://forums.suse.com/t/better-scheduling-among-hosts/6619>\
**Category:** Rancher 1.x\
**Created:** [June 13, 2017, 5:02pm UTC](https://forums.suse.com/t/better-scheduling-among-hosts/6619 "2017-06-13T17:02:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimaek](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/jimaek/32/2499_2.png) [@jimaek](https://forums.suse.com/u/jimaek)\
**Post date:** [June 13, 2017, 5:02pm UTC](https://forums.suse.com/t/better-scheduling-among-hosts/6619/1 "2017-06-13T17:02:37Z")

</div>

I have 2 hosts and I am using cattle. Both hosts are almost the same. Same RAM, same number of cores, different CPUs, different SSD size.

I created 4 services with 2 containers each. I expected Rancher to be smart enough to at least have the same amount of containers per host.

But at this moment it runs 6 containers on host1, and 2 containers on host2. And I think I’ve seen it run 7-1 too.

What logic does it use to deploy containers? Why it didn’t decide to run 4-4 containers between the 2 hosts?
