# Can I take more computer resources in Tryton?

**URL:** <https://discuss.tryton.org/t/can-i-take-more-computer-resources-in-tryton/5639>\
**Category:** Developer\
**Created:** [October 26, 2022, 3:30pm UTC](https://discuss.tryton.org/t/can-i-take-more-computer-resources-in-tryton/5639 "2022-10-26T15:30:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![EnergyDeveloper](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/energydeveloper/32/2030_2.png) [@EnergyDeveloper](https://discuss.tryton.org/u/EnergyDeveloper)\
**Post date:** [October 26, 2022, 3:30pm UTC](https://discuss.tryton.org/t/can-i-take-more-computer-resources-in-tryton/5639/1 "2022-10-26T15:30:20Z")

</div>

Hello everyone !  
Today I’ve a specific situation:

I’ve a virtual machine with 16GB Ram, CPU 16 cores, and SSD 250 GB, Postgres 14 and Tryton running 16GB my Ubuntu Server 22.04

When I try to generate payrolls , it takes a long time. When I review the performance of my server, it only takes 2 cores. It must take all the cores and the 100% capacity of the CPU. How should it be configured to achieve it?

Thanks !

---

<div class="post-metadata">

**Author:** ![pokoli](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/pokoli/32/22_2.png) [@pokoli](https://discuss.tryton.org/u/pokoli)\
**Post date:** [October 26, 2022, 4:10pm UTC](https://discuss.tryton.org/t/can-i-take-more-computer-resources-in-tryton/5639/2 "2022-10-26T16:10:12Z")

</div>

> [@EnergyDeveloper](#):
>
> When I try to generate payrolls , it takes a long time.

You should try to find the bootleneck. We do not have any module to generate payrolls so for me the first step will be to audit the code. If code is not optimitzed you can have a lot of hardware but it won’t be used by the system.

> [@EnergyDeveloper](#):
>
> It must take all the cores and the 100% capacity of the CPU. How should it be configured to achieve it?

Normally a single request is used by a single core so I do not think you will be able to get more performance.

If you are dealing with a lot of records you may increase some of the cache values. This will allow tryton to use more RAM from the system. Here is the related documentation:

> **[Configuration file — Tryton server](https://docs.tryton.org/latest/server/topics/configuration.html)**

You should also consider optimizing PostgreSQL to be more performant.

Hope it helps!

---

<div class="post-metadata">

**Author:** ![system](https://discuss-cdn.tryton.org/uploads/default/original/1X/c6f8ec0a40525cdcd50058c734283450a4b3d38b.png) [@system](https://discuss.tryton.org/u/system)\
**Post date:** [November 25, 2022, 4:10pm UTC](https://discuss.tryton.org/t/can-i-take-more-computer-resources-in-tryton/5639/3 "2022-11-25T16:10:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
