eclipse 如何加速 IBM Rational Application Developer/Rational Software Architect
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/8130496/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to Speed Up IBM Rational Application Developer/Rational Software Architect
提问by Nomad
I want to know how can I speed up RSA 7.5( which is an IDE by IBM having eclipse under the hood with websphere server runtimes) mainly server start. The first time I start it after computer reboot it loads after, but after that it takes for ever to start/stop the server. The debug mode for server takes for ever to start.
我想知道如何加速 RSA 7.5(这是 IBM 的 IDE,在后台有 Eclipse 和 websphere 服务器运行时)主要是服务器启动。我第一次在计算机重新启动后启动它后会加载它,但在那之后它需要永远启动/停止服务器。服务器的调试模式需要永远启动。
I am using server 7 run time for IBM RSA 7.5.
我正在为 IBM RSA 7.5 使用服务器 7 运行时。
So bascially RAD/RSA has websphere run times which allows to configure the server runtime start/stop within RAD/RSA. The run time allows you to develop webapps and test time on the server on deploy it on the websphere run time.
因此,基本上 RAD/RSA 具有 websphere 运行时,允许在 RAD/RSA 中配置服务器运行时启动/停止。运行时允许您在服务器上开发 web 应用程序和测试时间,将其部署到 websphere 运行时。
The problem I am facing is with the websphere runtime which works fine after computer reboot but is very slow after several deployments/publishing of the same web app.
我面临的问题是 websphere 运行时在计算机重新启动后工作正常,但在多次部署/发布同一个 Web 应用程序后速度非常慢。
I would be grateful you give performance tips for speed up RSA server start/shutdown and overall performance tips. I have plenty of memory like 12 GB with i7 Core 6 cores on Win7.
我将不胜感激您提供加速 RSA 服务器启动/关闭的性能提示和整体性能提示。我有足够的内存,比如 12 GB,在 Win7 上有 i7 Core 6 核。
采纳答案by sonar
Of course of your are running the server in debug mode it's going to be a lot slower, but you have a few options like putting the server in development mode or doing some fine tuning as to which applications should start. Take a look at these articles:
当然,您在调试模式下运行服务器会慢很多,但是您有一些选择,例如将服务器置于开发模式或对应该启动哪些应用程序进行一些微调。看看这些文章:
- Rational Application Developer Performance Tips- Case study: Tuning WebSphere Application Server V7 and V8 for performance
- Performance tuning WebSphere Application Server 7 on AIX 6.1
- WebSphere tuning for the impatient: How to get 80% of the performance improvement with 20% of the effort
- WebSphere Performance Monitoring & Tuning
- Rational Application Developer 性能技巧-案例研究:为性能调优 WebSphere Application Server V7 和 V8
- AIX 6.1 上的性能调优 WebSphere Application Server 7
- 不耐烦的 WebSphere 调优:如何用 20% 的努力获得 80% 的性能提升
- WebSphere 性能监控和调优
Some of these are a bit dated but they have some good information that may still be relevent to your issues; especially the first one.
其中一些有点过时,但它们有一些很好的信息,可能仍然与您的问题相关;尤其是第一个。
回答by KarlP
Make sure that the workspaces are stored on a local disk.
确保工作区存储在本地磁盘上。
edit - forgot this: buy a SSD disk. It makes a huge difference when developing.
编辑 - 忘了这一点:买一个 SSD 磁盘。它在开发时会产生巨大的差异。
If you have a virus scanner, disable on-access scan in the SDP installation directory including the server plugin, and in all your workspaces.
如果您有病毒扫描程序,请在 SDP 安装目录(包括服务器插件)和所有工作区中禁用按访问扫描。
Uninstall any applications (ears) you are not using - the more you have installed the longer the server takes to startup. If your server is taking too long to start, RAD/RSA will assume it has timed out and stop it before it finishes starting - if this happens then increase the start timeout limit by double-clicking your server in the Serverstab and modifying the values in the Timeoutssection.
卸载您不使用的任何应用程序(耳朵) - 安装的越多,服务器启动所需的时间就越长。如果您的服务器启动时间过长,RAD/RSA 将假定它已超时并在完成启动之前停止它 - 如果发生这种情况,则通过在“服务器”选项卡中双击您的服务器并修改值来增加启动超时限制在超时部分。
Oh, and If you have a lot of datasources defined, and autostarting connection pools with alot of connections, it may also take a while to start the pools.
哦,如果你定义了很多数据源,并且自动启动连接池有很多连接,启动连接池也可能需要一段时间。
But that can't explain it all... I haven't tested, but since WAS and RSA seems to spend a lot of time doing absolutely nothing, I am starting to suspect it's trying to download schemas or something. If you have the time, you could try to trace and see if you find something like that...
但这并不能解释这一切......我没有测试过,但由于 WAS 和 RSA 似乎花了很多时间什么都不做,我开始怀疑它正在尝试下载模式或其他东西。如果你有时间,你可以试着追踪一下,看看你是否找到了类似的东西......
回答by Zack Macomber
I came across this post while trying to troubleshoot my RSA performance. I figured I would update it with a recommendation for improving performance on RSA 8.0.4.
我在尝试对我的 RSA 性能进行故障排除时遇到了这篇文章。我想我会用提高 RSA 8.0.4 性能的建议来更新它。
http://publib.boulder.ibm.com/infocenter/radhelp/v8/index.jsp?topic=/com.ibm.performance.doc/topics/cperformance.htmlhas some excellent tips on improving performance in the "Performance Tips" section. After implementing just some of the "Always" tips I've found my memory reducing significantly and performance being much faster.
http://publib.boulder.ibm.com/infocenter/radhelp/v8/index.jsp?topic=/com.ibm.performance.doc/topics/cperformance.html在“性能技巧“ 部分。在实施了一些“始终”提示后,我发现我的内存显着减少并且性能更快。
You should start with the "Always" tips and then move to the "Sometimes" and "Rarely" ones for finer tuning.
您应该从“始终”提示开始,然后转到“有时”和“很少”提示以进行更好的调整。