From d8a7af62e78c664b667cb30c8430a1b56e412500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 5 Oct 2021 18:23:50 +0200 Subject: [PATCH] Increase the default stack for dirty io threads (cuda requires it) (#585) Closes #579. --- lib/livebook/runtime/standalone_init.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/livebook/runtime/standalone_init.ex b/lib/livebook/runtime/standalone_init.ex index c689886c3..74b6ae785 100644 --- a/lib/livebook/runtime/standalone_init.ex +++ b/lib/livebook/runtime/standalone_init.ex @@ -38,10 +38,11 @@ defmodule Livebook.Runtime.StandaloneInit do "--erl", # Minimize schedulers busy wait threshold, # so that they go to sleep immediately after evaluation. + # Increase the default stack for dirty io threads (cuda requires it). # Enable ANSI escape codes as we handle them with HTML. # Disable stdin, so that the system process never tries to read # any input from the terminal. - "+sbwt none +sbwtdcpu none +sbwtdio none -elixir ansi_enabled true -noinput", + "+sbwt none +sbwtdcpu none +sbwtdio none +sssdio 128 -elixir ansi_enabled true -noinput", # Make the node hidden, so it doesn't automatically join the cluster "--hidden", # Use the cookie in Livebook