51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2832|回复: 1
打印 上一主题 下一主题

[原创] 如何在一台机器上运行最大量的虚拟用户?

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2005-4-8 17:42:02 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
Segue公司提供的做法如下:
1. Turn of all un-necessary logging options.

The logging options should be set according to how much debugging is still required on your project. If your script has been passed by QA and is ready to be used for load testing, Segue recommend that you enable only the TrueLog on Error option as any other logging options will consume overhead and may influence your results. The setting for the logging options can be found under Settings | Active Profile | Results | Replay |General and TrueLog tabs.

2.Increase the Number of TCP/IP connections per second your system can open.

Use the setting Systems | Configuration Manager | System Tuning | Memory Management | when you have a machine with insufficient memory to run a specific amount of Virtual users. By selecting this option you reduce the amount of memory available for the operating system, thus freeing it for the Virtual Users to use. The downside of this is that the operating system will take a hit and this could have an effect on performance.

Note: Having the memory bar at different scales (low, medium, high) will have negligible effect on pages times or response times.

3.Increase Virtual Users per Process

This setting can be found in Settings | System settings | Workbench | Control - Virtual users

This will allow you to specify the number of virtual users to be run within one system process. Specifying multiple virtual users per process (threaded mode) will reduce the memory needs per virtual users significantly. If you are running a large number of virtual users, set this value to 10 for Web and CORBA application load tests, or to 50 for database load tests. If you want to run a stress test with a low number of virtual users on an agent and want to produce a high volume of load with each of the users, set this value to 1 (process mode).

4.Change computational interval for TSD collection.

If you have enabled TSD option go to Settings > Active Profile >Results > TSD - Change interval to 1 or 5 minutes or higher depending on duration of the test. This setting changes the interval at which data will be written to the TSD file. This setting is used for all time series data generated. Keep in mind that the shorter the interval and the longer the load test, the more data will be generated

5.Optimize network settings to allow for Maximum number of users

As outlined in the following resolution: Network Settings
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏

该用户从未签到

2#
发表于 2005-4-19 16:10:01 | 只看该作者

楼主是否可以提供一个具体方案?

呵呵,最好是中文的
我的理解是性能测试工具,不仅仅是应该发现问题,更需要提供定位问题,或者说协助解决系统瓶颈.
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-24 02:09 , Processed in 0.080684 second(s), 28 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表