Skip to content

IntelliSense indexing is very slow on RHEL & CentOS clusters #7861

Answered by djairao
djairao asked this question in Q&A
Discussion options

You must be logged in to vote

Summary: It was disk I/O that was slowing things down

After much struggle and spending hours trying to strace and analyze the cpptols binary, I ran perf and it hinted hotspots with __libc_lseek64 and sqlite3VdbeExec etc. That led me to think maybe the issue was with the mounts --

  • On the Linux machines where IntelliSense was running fast, the mounts were on local disk (ext4 mounts)
  • On the Linux machines where IntelliSense was running low, the mounts were remote/NAS mounts (nfs4 or gpfs mounts)

That led me to explore the possibility of using a local disk for storing the ~/.vscode-server directory. Unfortunately, there isn't a clean option in the VS-Code UI to specify an install directory …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by djairao
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant