Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VS Code guidance #511

Open
2 tasks
felker opened this issue Oct 31, 2024 · 2 comments
Open
2 tasks

Add VS Code guidance #511

felker opened this issue Oct 31, 2024 · 2 comments

Comments

@felker
Copy link
Member

felker commented Oct 31, 2024

Anecdotally, it seems like a majority of our users are using The Visual Studio Code Remote - SSH extension as their editor-of-choice on our production machines these days. Unfortunately, as an Electron app, it is quite wasteful with resources, even when running remotely. I believe it installs a separate VS Code server installation for every user that connects to each machine with this extension (in $HOME? in /tmp?). It has forced ALCF Ops to change tmpfs file system settings on Polaris to prevent VS Code from eating up memory and storage space on the login nodes and taking them down. Things like IntelliSense caching settings, and installing many VS Code extensions can make the problem worse.

We should see if there any VS Code settings that can make the editor better for both parties on our machines and document known issues, what to do if the editor locks up, gets OOM, etc. Advise disabling most extensions, etc.

  • @adscovel I forgot the details of where VS Code was specifically dumping files / how large / how many?

  • Document "ALCF officially-supported" editors both internally in the ALCF Software Committee Confluence, and somewhere in https://docs.alcf.anl.gov/. Warn that other editors will not be installed by default on Aurora/Polaris/etc., but that users can open tickets to record the request for future consideration. Possible list:

  • nano

  • micro

  • emacs

  • vi/vim

  • vscode remote SSH extension

@adscovel
Copy link

adscovel commented Nov 1, 2024 via email

@kaushikvelusamy
Copy link
Contributor

On aurora, its on the home hidden folder.

kaushikvelusamy@aurora-uan-0009:~> du -sh .vscode-server/
2.5G	.vscode-server/
kaushikvelusamy@aurora-uan-0009:~> pwd
/home/kaushikvelusamy
kaushikvelusamy@aurora-uan-0009:~> 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants