Troubleshooting long execution times within DataSphere project cells
Issue description
- When you try to run code from Jupyter notebook cells within a DataSphere project, you get the
Preparing $CONF_NAME instancemessage, where$CONF_NAMEis the name of the DataSphere computing resource configuration you are using. - Allocating a VM with the computing resource configuration selected in the DataSphere project properties takes a long time.
- Code execution within DataSphere project cells takes much longer than expected.
Solution
Here are possible reasons for long execution times within DataSphere project cells:
-
Long execution times in cells may may result from both the number of cells and the amount of code. Loading a full project with many cells can take a considerable amount of time. For projects with hundreds of cells, loading may take more than 10 minutes. If feasible, try to reduce the number of cells in your project or opt for a higher-performance computing configuration.
-
When launching code in project cells for the first time, VMs with the relevant resource configuration are allocated and started. This operation also requires some time. You can use a more efficient configuration of computing resources to accelerate code launch in project cells.
If the issue persists
If the tips we provided did not help you resolve the issue, create a support ticket
- DataSphere project URL (copy it from the address bar of your browser).
- Screenshots of the error and the piece of code that causes the error.
- Approximate date and time when the issue occurred.
- Information about third-party Docker images used in the project.
- Typical project loading time.