Datalore 2024.5 Help

Use background computation

Enable background computation in Datalore to keep your computations running even if the browser tab is closed. This is particularly important when you expect cell executions to take a long time.

Keep in mind that working with background computation turned on can significantly increase your resource consumption. Therefore, by default, this mode is disabled.

You can select one of the following options when enabling background computation:

  • Turn off after 30 min of inactivity to enable background computation and set the machine to shut down after the kernel is in idle state for 30 minutes.

  • Turn off after 2 hours of inactivity to enable background computation and set the machine to shut down after the kernel is in idle state for 2 hours.

  • Turn off after 24 hours of inactivity to enable background computation and set the machine to shut down after the kernel is in idle state for 24 hours.

  • Never turn off to enable the mode without time restrictions. The machine keeps running even after the computation is finished or an error occurs.

Set up background computation for the currently opened notebook

Use the Run menu or the Computation tool.

  1. Go to Main menu | Run.

  2. Hover over Background computation to expand the list of options.

  3. Select the required option.

Background computation, Run menu
  • Open Computation on the left-hand sidebar.

  • Under Background computation, click the arrow icon to expand the list of options.

  • Select the required option.

Background computation, Computation tool

    Set up background computation for a new notebook

    You can set up background computation when creating a notebook.

    1. On the Home page, click the New notebook button in the lower left corner of the screen.

    2. In the New notebook dialog, click the arrow icon under Background computation to expand the list of options.

    3. Select the required option.

    4. Proceed with the notebook creating procedure.

    Background computation, new notebook

    Set up default background computation for all notebooks

    Use the user settings for your account to set up default background computations for all existing and new notebooks. By default, the mode is disabled.

    1. Click the avatar icon in the upper right corner of the screen to open the User settings tab of the Account settings menu.

    2. Under Preferences, click the arrow icon to expand the Default background computation list of options.

    3. Select the required option.

    4. Close the Account settings menu.

    Manage background computation settings in Datalore On-Premises

    As a Datalore On-Premises admin, you can set up background computation for all existing and new notebooks within the Datalore instance. This setting will provide a range of background computation options with one of them selected as default.

    Select a default background computation option

    Use this procedure to preset a default background computation option for all existing and new notebooks within your Datalore instance.

    1. Click the avatar in the upper right corner of the screen.

    2. Select Admin panel from the expanded list.

    3. On the Admin panel, select Background computation.

    4. In the Computations menu, switch to the Background computation tab. On the selected tab, you can view the list of the preset options with one selected as default.

    5. To set a new default option, select the radio button in the Default selection column for the required list item.

    Default background computation

    Add a new background computation option

    To add a custom time interval as a new background computation option, perform the following steps on the Background computation tab of the Computations menu of the Admin panel.

    1. Click the Add option at the bottom of the list background computation options. This will open the Add background computation option dialog.

      Add background computation option
    2. In the Amount of time field, provide an integer value.

    3. To select the time unit, click the Unit field to expand the list and select the required option (minutes, hours, or days).

    4. Click the Add value button to finish the procedure.

    The new option is added to the list on the Background computation tab.

    Keywords

    long-term computation, continuous computation, background execution, long-term execution

    Last modified: 03 October 2024