-
In the QNAP help section it mentions limiting CPU usage with cpus: '0.70' being used as 70% for one CPU. My NAS has dual CPUs so would that line still reflect 70% usage on both CPU's or would I have to amend it somehow? (I'll be setting a 40% cap I think anyway to test performance). Am new to Docker / Container Station, and not very tech savvy so apologies for the dumb question. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
No, it would reflect 70% of a single cpu. To reflect 70% on two CPUs you would have to enter Edit: There is also a good answer to that on stackoverflow: https://stackoverflow.com/a/37871814 |
Beta Was this translation helpful? Give feedback.
No, it would reflect 70% of a single cpu. To reflect 70% on two CPUs you would have to enter
1.4
.See: https://docs.docker.com/compose/compose-file/compose-file-v3/#resources
Edit: There is also a good answer to that on stackoverflow: https://stackoverflow.com/a/37871814