Comments (3)
@MohammadAliAmir Thank you for opening this issue. I've tried the resource restriction on an example pod and a VM, and measured the times for ls /cvmfs/alice.cern.ch
(first call). This is what I obtained:
real 0m0.22s, user 0m0.00s, sys 0m0.00s # csi
real 0m0.283s, user 0m0.002s, sys 0m0.000s # vm
Could you please let me know how I can reproduce the commands you mentioned locally? IIUC, uptime
doesn't seem to be related to CVMFS.
from cvmfs-csi.
Thanks for responding! uptime
is indeed not related to cvmfs, thats why I was so confused that even non-related commands are executed slower. The other command ml
is from Lmod, a little bit more complex to set up and I don't want you to go through this entire setup. I am simply looking for clues that could indicate why this is running slower. In the meantime, I also did compare ls from a container to a vm and I see quite normal response:
real 0m0.002s user 0m0.000s sys 0m0.002s # vm
real 0m0.006s user 0m0.001s sys 0m0.004s # container
After loading my profile for lmod which sets some environment variables correctly to start loading modules it still looks good
real 0m0.005s user 0m0.002s sys 0m0.003s
Whenever I load a module effectively, the ls
of the repo really drops in performance. I've compared them here for a vm and the container
real 0m1.686s user 0m0.013s sys 0m0.077s # container
real 0m0.035s user 0m0.001s sys 0m0.014s # vm
So loading a module sets alot of environment variables, which in this case many will link to a path of the cvmfs repository.
from cvmfs-csi.
I have been monitoring the resources for the pods deployed by the daemonset, apparrently it was CPU throttling with these assigned resources. Increasing the resources (upto a core for the CPU limit) on the relevant containers (automount and automount reconciler) did resolve my slow responsiveness from the CVMFS mount.
What I learned:
Depending on your workload, you will need to set the resources for the containers in the cvmfs-csi plugin accordingly.
from cvmfs-csi.
Related Issues (20)
- docs: add notes on how to get client logs
- Add mount reconciler for automount-runner HOT 3
- Changing chart repo to OCI registry.cern.ch/kubernetes/charts
- automount daemon unable to reconnect HOT 4
- FIX: HELM values file on master branch still points to the old "magnum" registry enpoint HOT 2
- Suggested fixes to kubernetes manifests HOT 4
- Running CVMFS CSI on macOS K8S node HOT 4
- CVMFS CSI tests HOT 1
- failed to create subPath directory for volumeMount "foo" of container "bar" HOT 10
- Helm chart is missing cvmfs-csi-config-d ConfigMap
- Requesting help debugging a default installation HOT 1
- Won't mount repositories HOT 18
- Unable to run Helm chart v2.2.0 on OpenShift
- Fails to access large directories HOT 3
- Fix container labels HOT 1
- CSIDriver `volumeLifecycleModes`? HOT 3
- resource limit recomendations
- prometheus metrics for cvmfs-csi?
- start using `app.kubernetes.io/` labels 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 cvmfs-csi.