我想用java对solaris和linux进行基准测试

发布于 2024-09-14 19:02:37 字数 169 浏览 14 评论 0原文

谁能向我指出一个项目,我可以下载并运行它,它会加载/压力测试本身,然后向我提供报告?我希望该项目尽可能大,并尽可能多地涉及 java 中的组件,而且我需要它是免费的......或者在网络上已经取得了一些非常好的结果,我已经可以看一下并且做出决定。谢谢! 基准测试的主要问题是Solaris 和Linux 哪个运行得更快/更好

Can anyone point me out to a project out there that I can download and run it and it would load / stress test itself and then provide me with reports? I want the project to be as big as it can and to involve as many components in java as it can, also i need it free... or to some very good already made results over the web that I can already take a look and get decision. Thanks!
main issue to benchmark is which would run it faster / better, solaris or linux

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

寻梦旅人 2024-09-21 19:02:38

这实际上取决于您想要进行基准测试的使用情况的各个方面。

我为数据库应用程序这样做了,在这个领域 TPC 可能会有所帮助。

我会推荐谷歌: benchmark java numeric|transaction|rendering|olap

根据您的用例的特征。

编辑:关于您对在应用程序服务器上运行的java应用程序的评论,请从后端数据库服务器检查最大吞吐量是多少? TPC,然后编写一个多线程基准客户端来检查业务逻辑性能如何。最后一步是使用 Apache JMeter 来引入 Web 服务器。此过程允许您通过数据库池大小等调整操作系统中的所有相关参数。

It really depends on the aspects of usage you want to benchmark.

I did this for database applications, in this area TPC could be helpful.

I would recommend google: benchmark java numeric|transaction|rendering|olap

Depending on the characteristics of your use case.

Edit: regarding your comment of a java app running on an applicationserver, check from the backend db server whats the maximal throughput? TPC, then write a multithreaded benchmark client to checkout whats the business logics performance. The last step would be to involve webservers using Apache JMeter. This procedure allows you to tune all relevant parameters from OS over DB-Poolsizes etc.

寂寞陪衬 2024-09-21 19:02:37

从您的角度来看,Linux 和 Solaris 没有太大区别,而且我不相信您要求的基准存在。更好的方法是采用您想要运行的应用程序(希望它应该已经是独立于平台的)并部署到您想要测试的体系结构,然后附加 jvisualvm 并应用您的标准测试套件。

这将使您能够很好地了解性能,而不会因大量分析而产生偏差。

我的猜测是,对于相同的配置,您会发现 Linux 比 Solaris 稍好一些,因为可用于磁盘缓存的未使用内存量将强烈影响系统的性能。另请注意,专家系统调整也可以产生很大的影响,但我相信您最感兴趣的是“开箱即用”的性能。

Linux and Solaris are not much different seen from your perspective, and I do not believe that the benchmark you ask for exists. A much better approach is to take the application you want to run - which hopefully should be platform independent already - and deploy to the architectures you want to test and then attach with jvisualvm and apply your standard test suite.

This will give you quite a good look at the performance without skewing with heavy profiling.

My guess is that for identical configurations you will see that Linux is slightly better than Solaris as the amount of unused memory available for disk caching will strongly influence the performance of the system. Also note that expert system tuning can also make a big difference, but that I believe that you are most interested in the "out of the box" performance.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文