Comments (4)
I think we need expose the count of encoder to Helm values, allow users set it. If user dose not set it , the default value is cpu count.
from kubevela.
Thanks for the detailed report, we need to investigate potential fixes.
from kubevela.
Thanks for the report and solution. Yes, I think simply importing _ "go.uber.org/automaxprocs"
should fix this problem. The concurrent encoders will be set correctly according to CPU quota instead of the CPU count on the node. As a bonus, performance should increase a bit because of reduced context switching.
TLDR
Cause: the zstd encoder uses concurrent encoders to maximize performance. The number of concurrent encoders is the number of CPUs on the node (which can be very large, and much larger than container CPU quota), thus taking up significant memory on momory-limited containers and provide no performance improvement on CPU-limited containers.
Fix: Reducing the number of concurrent encoders should reduce memory usage. Setting it to container CPU quota should achieve the best performance (improved concurrency compared to lower numbers and minimized context switches compared to higher numbers).
from kubevela.
https://github.com/kubevela/pkg/releases/tag/v1.9.0 I've released the new version with bugfix PR merged. Can someone help upgrade the pkg version for kubevela?
from kubevela.
Related Issues (20)
- Passing data from component to trait
- Unable to start a Kubevela app with local helm chart or git helm chart.
- [Feature] Allow specifying cloud credentials for Crossplane integration via a secret
- [bug] The app reconcile key will always be in the queue
- [bug] The app reconcile key will always be in requeue
- list application records can not return the recods
- Unable to update workloads in v1.9.10 which were deployed in <=v1.9.9 due to resourcetracker controller guid HOT 3
- Unable to run Kubevela in Kubernetes v1.29 HOT 9
- [Bug] vela cli print useless log about cpu quota HOT 1
- Support Input validation for Kubevela Application manifests
- [BUG] Trait patch fails on patchKey field with default value depending on syntax used
- A potential risk in kubevela-master that could lead to takeover of the cluster
- 2024.4.29 execute install.sh will become error HOT 1
- Version 1.9.11 is not updating deployments with a new image HOT 1
- Report the use of components with vulnerabilities in kubevela
- [Feature]kubevela 的ci webhook HOT 1
- Send a notification if the component status is abnormal after the application has been deployed
- kubevela.io domain is down? HOT 4
- Cannot install new version of vela with kubevela.net HOT 5
- Kubevela helm repository inaccessible HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kubevela.