# Cannot Use all Cores When Running Jobs

**URL:** <https://community.dremio.com/t/cannot-use-all-cores-when-running-jobs/2068>\
**Category:** Uncategorized\
**Created:** [October 22, 2018, 8:06am UTC](https://community.dremio.com/t/cannot-use-all-cores-when-running-jobs/2068 "2018-10-22T08:06:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott\_Arbeitman](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Scott\_Arbeitman](https://community.dremio.com/u/Scott_Arbeitman)\
**Post date:** [October 22, 2018, 8:06am UTC](https://community.dremio.com/t/cannot-use-all-cores-when-running-jobs/2068/1 "2018-10-22T08:06:30Z")

</div>

Hi, new to Dremio. I have set up a standalone cluster on EC2 on AWS. Even for heavy usage, it seems that the CPU on the box will go to 12%, and there are 8 cores. I am assuming that Dremio is only making use of one core, though I’m not sure. When I scale the instance from 8 cores to 24, I see a very similar pattern using a single core.

I see this usage in the Web UI.

Any tips or tricks to get Dremio to use more of the CPU?

Thanks!

---

<div class="post-metadata">

**Author:** ![anthony](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/anthony/32/670_2.png) [@anthony](https://community.dremio.com/u/anthony)\
**Post date:** [October 22, 2018, 1:14pm UTC](https://community.dremio.com/t/cannot-use-all-cores-when-running-jobs/2068/2 "2018-10-22T13:14:48Z")

</div>

What is Dremio doing when monitoring CPU usage? Can you [share a query profile](https://www.dremio.com/tutorials/share-query-profile-dremio/) of a “heavy usage” job?

---

<div class="post-metadata">

**Author:** ![Scott\_Arbeitman](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Scott\_Arbeitman](https://community.dremio.com/u/Scott_Arbeitman)\
**Post date:** [October 23, 2018, 5:45am UTC](https://community.dremio.com/t/cannot-use-all-cores-when-running-jobs/2068/3 "2018-10-23T05:45:42Z")

</div>

When I try to export, I receive this error: `Something went wrong /tmp/dremio-support/5be6e12d-836f-4b62-b7a6-a2cab1587121.zip (Permission denied)`

It looks like the permissions on the exported file belong to `ec2-user` instead of `dremio`.

---

<div class="post-metadata">

**Author:** ![Scott\_Arbeitman](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@Scott\_Arbeitman](https://community.dremio.com/u/Scott_Arbeitman)\
**Post date:** [October 23, 2018, 6:02am UTC](https://community.dremio.com/t/cannot-use-all-cores-when-running-jobs/2068/4 "2018-10-23T06:02:51Z")

</div>

Also, that file is 300MB. What is in it and is it safe to post? Thanks!

---

<div class="post-metadata">

**Author:** ![jacques](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/jacques/32/32_2.png) [@jacques](https://community.dremio.com/u/jacques)\
**Post date:** [October 28, 2018, 1:56am UTC](https://community.dremio.com/t/cannot-use-all-cores-when-running-jobs/2068/5 "2018-10-28T01:56:25Z")

</div>

Hey Scott, you should be able to either add write access to /tmp/dremio-support for the dremio user or change the support path by changing this system property: -Dsupport.temp=/a\_path\_that\_dremio\_can\_write\_to/

You can also inspect the zip file so you understand what it includes to make sure you comfortable sharing. Generally it includes the query, telemetry about the query, as well as potentially logging that happened during the query.
