# Increase local PHP performance

**URL:** https://community.kinsta.com/t/increase-local-php-performance/1051
**Category:** Application Support
**Created:** [October 20, 2021, 4:15am UTC](https://community.kinsta.com/t/increase-local-php-performance/1051 "2021-10-20T04:15:46Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![sonicviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/sonicviz/32/391_2.png) [@sonicviz](https://community.kinsta.com/u/sonicviz)
#### Post date: [October 20, 2021, 4:15am UTC](https://community.kinsta.com/t/increase-local-php-performance/1051/1 "2021-10-20T04:15:46Z")

</div>

Is there any way of increasing the performance of DevKinsta for intensive tasks such as Woocommerce export/import?

I’m working on a site with thousands of products and it is painfully slow doing exports and even slower doing imports (both with post\_meta data). It’s noticebly faster on a live staging site with two php workers, and surely to be faster on a live site with 4 php workers. How can I scale Devkinsta locally to perform better in situations like this? (and no, WP-CLI is not the answer I’m looking for;-)

I’m developing some migration process and need to manipulate and test a lot of product data, and this is too slow to be productive.

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [October 20, 2021, 2:29pm UTC](https://community.kinsta.com/t/increase-local-php-performance/1051/2 "2021-10-20T14:29:56Z")

</div>

Hi @sonicviz ! You’re right that it should be significantly faster. That should already be the case here. There’s been a few reports on performance issues across various operating systems and configurations. I’ll link here a couple threads where users found solutions to this:

1. [Website Interactivity is Slow - #49 by michael](https://community.kinsta.com/t/website-interactivity-is-slow/293/49)
2. [Insane VMMEM usage - #5 by michael](https://community.kinsta.com/t/insane-vmmem-usage/848/5)

What operating system are you currently on?

Let me know if any of those threads help here.

---

<div class="post-metadata">

### Author: ![sonicviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/sonicviz/32/391_2.png) [@sonicviz](https://community.kinsta.com/u/sonicviz)
#### Post date: [October 21, 2021, 12:26am UTC](https://community.kinsta.com/t/increase-local-php-performance/1051/3 "2021-10-21T00:26:07Z")

</div>

Win 11 Pro x64. Using Docker for Desktop, Hyper-V (not using WSL for other reasons atm).  
Will check out the links, thanks.

Are you sure it’s multi-threading properly?  
My docker has 4 CPU’s / 8GB Ram, yet it’s hitting 80%+ CPU with just 2 sites loading pages.

 ![Screenshot 2021-10-21 094614](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/e6ec2e97340538bd2f1a811cf5d80f332e71514c.jpeg)

---

<div class="post-metadata">

### Author: ![sonicviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/sonicviz/32/391_2.png) [@sonicviz](https://community.kinsta.com/u/sonicviz)
#### Post date: [October 22, 2021, 2:30am UTC](https://community.kinsta.com/t/increase-local-php-performance/1051/4 "2021-10-22T02:30:43Z")

</div>

Looking further into all the container’s performance, it does appear to be overloading the devkinsta.fpm container with very high CPU when you load a page, especially on a large site. The db container isn’t show abnormally high CPU.

Is it possible to increase the local performance of PHP at all?

See also:

> [@How to improve the performance](https://community.kinsta.com/t/how-to-improve-the-performance/518):
>
> I’m using DevKinsta on my Windows 10 machine. It’s a great tool but so far I’m slightly less enthusiastic about the performance, more specifically the page load times for the website that I’m developing locally. It’s a very basic website which loads lightning fast on Kinsta hosting so it’s not the website itself that is causing the load delays. And of course I understand that it’s hard to get the same page load times on a local development machine when comparing to Kinsta hosting. However, pag…

> [@Website Interactivity is Slow](https://community.kinsta.com/t/website-interactivity-is-slow/293/33):
>
> Hi @Eileen. I’m very sorry for the trouble there. I’ve merged your topic with a reported bug here that others are experiencing. We’re still looking into this.

> [@Slow/Performance Issues with DevKinsta](https://community.kinsta.com/t/slow-performance-issues-with-devkinsta/759):
>
> Hi, My DevKinsta is very slow. I have 64-bit Windows 10 with 8GB RAM. Docker and DevKinsta are installed on SSD drive C. The sites themselves are on regular drive D. Is there a way to improve performance? Will adding 8GB to the RAM help? Thank You! hadas

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [October 22, 2021, 2:34pm UTC](https://community.kinsta.com/t/increase-local-php-performance/1051/5 "2021-10-22T14:34:08Z")

</div>

> [@sonicviz](#):
>
> Is it possible to increase the local performance of PHP at all?

You could edit the PHP configuration, though it requires a bit of work for that. We do plan on releasing hopefully soon a way to edit this much easier. [This thread here covers how to edit that](https://community.kinsta.com/t/how-to-edit-post-max-size-in-php-configuration/266/4). I’ll post an update here once we have more information on the ability to edit the PHP configuration easier.

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [November 10, 2021, 2:45pm UTC](https://community.kinsta.com/t/increase-local-php-performance/1051/6 "2021-11-10T14:45:25Z")

</div>

We just released [DevKinsta 2.3.0](https://devkinsta.com) which gives you the ability to edit the PHP.ini file if you’d like to try that out.

---

<div class="post-metadata">

### Author: ![sonicviz](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/sonicviz/32/391_2.png) [@sonicviz](https://community.kinsta.com/u/sonicviz)
#### Post date: [November 12, 2021, 4:39am UTC](https://community.kinsta.com/t/increase-local-php-performance/1051/7 "2021-11-12T04:39:21Z")

</div>

Thanks! I’ll check it out asap.
