| Summary: | Massive performance issues in PDT 2.2 RC-1 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Silvio Ginter <silvio.ginter> | ||||||||||
| Component: | PDT | Assignee: | PHP UI <php.ui-inbox> | ||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||
| Severity: | critical | ||||||||||||
| Priority: | P2 | CC: | dmc, jacek.pospychala, jeffdafoe, oskar.hasinski, silviya, zhaozhongwei | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows 7 | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
Created attachment 171077 [details]
Error Log of the installation
Hi Is the php file on remote server? (In reply to comment #2) > Hi > > Is the php file on remote server? Yes it is, but it is accessible via Windows Network Share (Samba) - mounted network drive. Eclipse Gallileo with PDT 2.1.3 does not show this issue. Bye (In reply to comment #3) > (In reply to comment #2) > > Hi > > > > Is the php file on remote server? > > Yes it is, but it is accessible via Windows Network Share (Samba) - mounted > network drive. Eclipse Gallileo with PDT 2.1.3 does not show this issue. > > > Bye Thanks for your reply.I will checkout it as soon as possible,is there any more special things you want to mention about this issue? (In reply to comment #4) > Thanks for your reply.I will checkout it as soon as possible,is there any more > special things you want to mention about this issue? No not really. Thanks for the fast reply. Please let me know, if you need more information. BTW,I only have one pc which is winxp with vmvare insatlled,so can I use Samba. And it is better if you give me a short description to do this,including how to use pdt to connect to Samba. I am trying to do this now by searching the internet:) (In reply to comment #6) > BTW,I only have one pc which is winxp with vmvare insatlled,so can I use Samba. > > And it is better if you give me a short description to do this,including how to > use pdt to connect to Samba. > > I am trying to do this now by searching the internet:) Hi, not pdt itself is connected to samba but windows is. We use OpenSUSE 11.x as development environment. Every developer has his own virtual host, so there is only one Apache server installation. Samba is configured to share everyones home directory, where the sources resist. Further we use Subversion as VCS and me personally Subversive to connect against it in Eclipse. The developer's home directory is simply mounted as Windows network share, so that for Eclipse this is an physical drive. I also tried, to connect via RSE directly in Eclipse. Unfortunately the way described in the RSE wiki does not work for us, due to the current project structure and that virtual folders cannot be used with Subversive, or I couldn't find, how to configure it properly. If you need the samba configuration file, let me know. But I can attach it only from monday, cause it's in the company and it's weekend. ;-) Bye Sorry,I set up my machine on last Friday and last weekend,but I failed to setup the environment:( And I am sorry for that,it make me headache,and we hope you use rse instead of samba,but I also do not know how to fix your problem with rse:( Created attachment 171401 [details] Samba configuration file for VMWare OpenSUSE 11.x (In reply to comment #8) > Sorry,I set up my machine on last Friday and last weekend,but I failed to setup > the environment:( > > And I am sorry for that,it make me headache,and we hope you use rse instead of > samba,but I also do not know how to fix your problem with rse:( Hello, to set up such an environment, made me headache too. So don't worry. I added my private smb.conf file, which is used in my VMWare OpenSUSE 11.x. All you have to do, is just install OpenSUSE with Apache and PHP and of course Samba. Just add an linux user, which you want to use and last but not least add this user to the samba environment (i always forgot this) via "smbpasswd". The username must be the same, as the linux user and for really simple use, the same as your Windows user. Normally you should now be able to connect to your home directory in the Windows Explorer and mount it as Windows Network Share. If you also need some Apache and PHP configuration files, please let me know. RSE is definitely no option to us. First, it doesn't connect reliable and second, it is not usable with Subversive nor it is with Subclipse. As i mentioned before, PDT 2.1.3 does not show this issue. Something must have been changed in this release. The performance lags are equivalent to these, PDT 2.0 showed in it's early milestone releases. Bye (In reply to comment #9) > Created an attachment (id=171401) [details] > Samba configuration file for VMWare OpenSUSE 11.x > > (In reply to comment #8) > > Sorry,I set up my machine on last Friday and last weekend,but I failed to setup > > the environment:( > > > > And I am sorry for that,it make me headache,and we hope you use rse instead of > > samba,but I also do not know how to fix your problem with rse:( > > Hello, > > to set up such an environment, made me headache too. So don't worry. > I added my private smb.conf file, which is used in my VMWare OpenSUSE 11.x. > All you have to do, is just install OpenSUSE with Apache and PHP and of course > Samba. > > Just add an linux user, which you want to use and last but not least add this > user to the samba environment (i always forgot this) via "smbpasswd". The > username must be the same, as the linux user and for really simple use, the > same as your Windows user. > > Normally you should now be able to connect to your home directory in the > Windows Explorer and mount it as Windows Network Share. > > If you also need some Apache and PHP configuration files, please let me know. > > RSE is definitely no option to us. First, it doesn't connect reliable and > second, it is not usable with Subversive nor it is with Subclipse. > > As i mentioned before, PDT 2.1.3 does not show this issue. Something must have > been changed in this release. The performance lags are equivalent to these, PDT > 2.0 showed in it's early milestone releases. > > > Bye I think I do exact thing as you did except that I use ubuntu instead of OpenSUSE. I follow http://www.howtoforge.com/ubuntu-9.10-samba-standalone-server-with-tdbsam-backend But finally I could not login to my home directory in the Windows Explorer with username tom and password tom,and I do not know what is wrong!And I think I did not miss anything in that page... After consulting with QA, we need to continue the deep performance auditing to complete the fixes for these issues. Also we need others to help us out with reproduction, obviously there are performance bugs that can't be simulated very easily. Hi, im also heaving heavy CPU usage when sybtax soloring is ON. OS: OSX 10.6.4 MacBook Intel c2d 3.06GHz /w 8 GB ram Eclipse config: -startup ../../../plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar --launcher.library ../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1.R36x_v20100810 -product org.eclipse.epp.package.php.product --launcher.defaultAction openFile -showsplash org.eclipse.platform --launcher.XXMaxPermSize 1024m --launcher.defaultAction openFile -vmargs -Dosgi.requiredJavaVersion=1.5 -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -XX:MaxPermSize=1024m -Xms256m -Xmx768m -Xdock:icon=../Resources/Eclipse.icns -XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts When code folding and syntax coloring is off, pdt is usable. Im working on project files till 10.000 lines, so that can be the problem. Its only CPU oriented not memory, as HEAP is in most cases till50% filled. is there anything u need to help in development? With regards, Oskar Created attachment 180013 [details]
patch
I had very similar issues with PDT through Samba, but this was the only service that was able to transport files without errors. It's just slow with big amount of small files. Moreover using SVN will slow down most of operations, when I sniffed network I saw milions of requests and directory read. I needed to reconsider this dev-schema and I found much better solution to this problem. First of all it's not worth to keep code remotely, this is just slow, I know that there are win and linux differences but we can live with this. The best solution I have is to set up filesync builder that will copy every file on save. This will greatly improve network traffic and with samba it's very fast (but You need to set up this builder as first). I think switching to git will help because it's not so much files-distributed. Filesync help much better. Of course eclipse should be improved with work over network, but I don't think that this is critical problem right now. I'm going to mark this issue as resolved, because since opening this issue we've had release 3.0 and there's been no activity on this bug for 2 years, so to me it has stopped showing up. btw. please reopen if you're still having critical performance issues with latest PDT. We do appreciate all your help and bug reports. Closing Ilina Stefanova |
Created attachment 171076 [details] Configuration of Eclipse Helios PDT 2.2 RC-1 Hello, i am evaluating the latest PDT 2.2 RC-1 build and i am experiencing massive performance issues. Eclipse sometimes freezes for several minutes and typing in PHP editor, especially content assist and syntax coloring, consume a huge amount of CPU performance (peaks of 100% when opening a file and writing some code). Hope you can fix this till June the 23rd. Keep up the good work guys. Thanks