RUBiS的rubis.properties配置

#####  服务器节点信息  #####

# HTTP服务器主机及端口
httpd_hostname = 192.168.0.1 
httpd_port = 80
 

# HTTP端使用的版本,可选PHP, Servlets, EJB
httpd_use_version = PHP


#各个版本对应的路径
#虽然选择了PHP版本,但是Servlets和EJB版本的脚本路径还是要配置,不然会报错。
cjdbc_hostname = 192.168.0.1
ejb_server = 192.168.0.1
ejb_html_path = /ejb_rubis_web
ejb_script_path = /ejb_rubis_web/servlet
servlets_server = 192.168.0.1
servlets_html_path = /Servlet_HTML
servlets_script_path = /servlet
 

#PHP版本的脚本路径
php_html_path = /PHP
php_script_path = /PHP
 

#####  负载的配置  #####

# 在使用make emulator启动模拟器对应用进行性能测试的时候,所需要的规则配置。

# 远程client信息
# 远程节点主机名或者ip,使用逗号分隔开。空白说明只有主client。
workload_remote_client_nodes = 
# 调用远程节点的命令
workload_remote_client_command = /usr/local/java/jdk1.3.1/bin/java -classpath RUBiS edu.rice.rubis.client.ClientEmulator
# 每个节点的客户端数量
workload_number_of_clients_per_node = 240

# 负载量
workload_transition_table = /users/margueri/RUBiS/workload/transitions.txt
workload_number_of_columns = 27
workload_number_of_rows = 29
workload_maximum_number_of_transitions = 1000
workload_number_of_items_per_page = 20
workload_use_tpcw_think_time = yes
workload_up_ramp_time_in_ms = 120000
workload_up_ramp_slowdown_factor = 2
workload_session_run_time_in_ms = 900000
workload_down_ramp_time_in_ms = 60000
workload_down_ramp_slowdown_factor = 3


#####  数据库相关  #####

# 执行make initDB初始化数据库的时候需要的规则。

# 数据库主机
database_server = 192.168.0.3

# 用户
database_number_of_users = 1000000

# Region & Category definition files
database_regions_file = /users/margueri/RUBiS/database/ebay_regions.txt
database_categories_file = /users/margueri/RUBiS/database/ebay_simple_categories.txt

# 产品
database_number_of_old_items = 1000000
database_percentage_of_unique_items = 80
database_percentage_of_items_with_reserve_price = 40
database_percentage_of_buy_now_items = 10
database_max_quantity_for_multiple_items = 10
database_item_description_length = 1024

# 标价
# 每个物品可标价最大数
database_max_bids_per_item = 20

# 评论
# 每个用户可评论最大值
database_max_comments_per_user = 20
# 每条评论长度最大值
database_comment_max_length = 2048


#####   监控信息  #####
# 监控的等级:0 不监控;1 只监控error;2 error和html;3 所有信息
monitoring_debug_level = 0

# 监控程序
monitoring_program = /usr/bin/sar
monitoring_options = -n DEV -n SOCK -rubcw

# 监控采样频率
monitoring_sampling_in_seconds = 1

# 远程命令
monitoring_rsh = /usr/bin/ssh
monitoring_scp = /usr/bin/scp

# gnuplot生成图片的格式
monitoring_gnuplot_terminal = jpeg

posted on 2012-03-11 16:29 DamnChris 阅读(...) 评论(...) 编辑 收藏

导航