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 225009 - Full remote project ignores "Access project files" option
Summary: Full remote project ignores "Access project files" option
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.3
Hardware: All All
: P2 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-01-17 07:46 UTC by Alexander Simon
Modified: 2013-01-17 10:21 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2013-01-17 07:46:57 UTC
Step to reproduce:
- add remote host
- make sure that "Access project file via" is set to "System level file sharing"
- open full remote project on the location that visible from the local host 
- make sure that path mapper contains right map for the project
Expected behavior:
- remote file system read file objects from shared file system
Actual behavior:
- remote file system read file objects by using jsch and remote execution.
As result:
- parsing speed is lower in 5 times (on a project like mozilla browser)
- file reading speed is lower in 20 times
Comment 1 Alexander Simon 2013-01-17 08:07:44 UTC
P2 because too huge performance impact
Comment 2 Leonid Lenyashin 2013-01-17 10:21:52 UTC
It was always that way by design. So this is request to add new functionality.
It is unclear why if the sources and [assuming] the project files are available on a mounted FS, it is accessed through remote FS.
At best, we can check at project opening time if the host has "System" sharing as preference and if the project can be accessed through a mount point. If so we can warn user or implicitly open the project through the alternative mechanism.

Still it might be worth filing a different bug: yes it is understood that Full Remote is slower than NFS/SMB, but the factors are totally unreasonable (5x, 20x)! May be worth looking into.