IntelliJ creates extreme amount of directory listing requests.

Answered

When opening IntelliJ the application generates 40 IOPS per second, per user on a network storage.
Is there a setting in the software or an other way to reduce this?

0
7 comments
Hi,

The 40 IOPS seems normal. From my checking, most SSD can provide more than 10K IOPS: https://en.wikipedia.org/wiki/IOPS#Solid-state_devices
When using the IDEA, IO is often used in indexing files, checking inspections on the code file, syncing project files.
You could try to disable all options in the `File | Settings | Appearance & Behavior | System Settings | Autosave` and all inspections in `File | Settings | Editor | Inspections` to see if it can help reduce the IO.

Do you store the IntelliJ in network disk,or the project is also saved in network disk too?
If the IntelliJ's configuration/cache folders are also saved in network disk, it may help the performance a lot if you use these files from the local disk.
See here about how to change IDE default directories used for config, plugins, and caches storage https://intellij-support.jetbrains.com/hc/en-us/articles/207240985
0

Hi Lejia,

We have 400 to 550 students accessing projects on their private network drives and saving it there too. This generates a flood of over 20000 IOPS on our network storage, which is a problem. We encountered it first a year ago and hoped this new version wouldn't have that issue. the even older versions used in 2020 only generated 4000 IOPS.
Working locally is a risk if hardware fails.

We will try the solution you provided.

Thank you.

0
Thanks for the info. If you have any way to check what files/folders that the IDEA reads/writes mostly in the network disk, please share the list of them so we can see if we could reduce these IO there.
There is possible that some features added later uses the more IO causing this issue.
0

Virtually all of the IO is generated just by directory listing requests.

0
What directory does it list? Is it a project folder or some other folders?
0

There aren't any other folders on that drive but the application and one project at a time.

0
Thanks for the info. Please let me know if my suggestion above (disable related settings) helps.
0

Please sign in to leave a comment.