performance local hosted version

At our office we are trying to get a local server setup for a a couple of devs to use. We are however having a lot of performance issues when we are trying to run our development environment. When using npm run dev our performance is not acceptable. We are suspecting it might be because of the cpu's single thread performance. Does coder have any recommended CPU's or other hardware requirements to run the workloads smoothly? Thank you in advance.
Solution:
It's only specifically an issue when running npm run dev. After further investigation we saw our CPU is bad at single threaded workloads which the npm run dev is. When testing it on a system with a different cpu with higher single thread performance
Jump to solution
8 Replies
Codercord
Codercord6d ago
<#1361669156881305803>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Atif
Atif6d ago
What are the specs of the server? CPU. Memory and Disk. Where are workspaces being created? What is your Coder Template? Is it Docker?
Calico
CalicoOP5d ago
Hey thanks for the quick reply, Our server is setup using proxmox with the following specs: 2 x Intel Xeon E5- 2697 V4 - 18-Core 36-Threads 2.30GHz (3.60GHz Boost, 45MB Cache,145W TDP) 8 x 32GB - DDR4 2400MHz (PC4- 19200, 2Rx4) 2 x 400GB - SAS (12G) SSD - Enterprise the workspaces are created locally on the same server with docker, using the default docker coder template Hope this helps.
Atif
Atif5d ago
Nice It does not look like a specs issue then can you share the difference between performance on the server and when running in a workspace? Some benchmarks for build times can help
Solution
Calico
Calico5d ago
It's only specifically an issue when running npm run dev. After further investigation we saw our CPU is bad at single threaded workloads which the npm run dev is. When testing it on a system with a different cpu with higher single thread performance
Calico
CalicoOP5d ago
On the server the compilation times were between 10-12 seconds while running it on the other system it got down to 1.5 We don't think it's an issue specifically with coder however we were wondering if you had any other reports about people struggling with nodejs based workloads on self hosted instances
Atif
Atif5d ago
Good to know the root cause. We do not have any such reports that I am aware of. We use similar Docker based workspace for dogfooding Coder but we use pnpm instead of npm
Codercord
Codercord4d ago
@Phorcys closed the thread.

Did you find this page helpful?