This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 250080 - org.netbeans.modules.remote.impl.fs.server.FSSTransport.stat_or_lstat: LowPerformance took 35891 ms.
Summary: org.netbeans.modules.remote.impl.fs.server.FSSTransport.stat_or_lstat: LowPer...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2015-01-28 19:37 UTC by Vladimir Kvashin
Modified: 2017-06-15 12:00 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215061


Attachments
nps snapshot (68.07 KB, application/nps)
2015-01-28 19:37 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2015-01-28 19:37:16 UTC
This issue was reported manually by vkvashin.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20150128-8a10de61cfcf)
VM: OpenJDK 64-Bit Server VM, 24.65-b04, OpenJDK Runtime Environment, 1.7.0_65-b32
OS: Linux

User Comments:
vkvashin: I expanded a folder on a remote host, selected several files and right clicked. UI was frozen for 35 seconds.



Maximum slowness yet reported was 35891 ms, average is 35891
Comment 1 Vladimir Kvashin 2015-01-28 19:37:18 UTC
Created attachment 151716 [details]
nps snapshot
Comment 2 Alexander Simon 2015-03-06 10:40:09 UTC
P2 because UI freeze 600 seconds
Comment 3 Vladimir Kvashin 2015-03-11 09:28:22 UTC
Snapshot shows that the reason is in o.n.m.versioning.core.VersioningAnnotationProvider.actions()
which calls 
o.n.m.versioning.core.VersioningAnnotationProvider.getOwner()
in the UI thread.

It's obvious that getOwner() can be slow on remote file system (as well as on local slow slow file system, such as /net/...)

In particular, it calls VCSFileProxy.exists() and VCSFileProxy.isDirectory() several times.
Comment 4 Vladimir Kvashin 2015-06-23 15:06:46 UTC
The possible slowdown decreased multiple times after fixing of issue 248243 (Remote file system goes into directories it should not) and issue 251007 (Remote FS hangs for 5 minites on /ws/emu-patch if /ws/...)