Performance Tuning with proe

Dear Hongli Liu,

I am sorry to say that the problem with your PDM system,From PTC support i setting the parameters in server as follow step:
#


-----------------Server--------------------

db.properties

 wt.pom.maxDbConnections=10
 wt.pom.minDbConnections=10
 wt.pom.paging.snapshotQueryLimit=3000
 wt.pom.QueryLimit=25000

wt.proeprties

 wt.cache.size.WTPrincipalCache=20000
 wt.manager.pingTimeout=600
 wt.manager.stopTimeout=600
 wt.method.rmi.objID=0
 
 #Keep 4 method servers
 wt.method.loadbalance.activeContext=5
 wt.method.loadbalance.maxRedirects=2
 
 #Configure Folder view #Folders and Contents as one level.
 wt.folder.oneLevel=true
 
 wt.manager.cmd.MethodServer.nonibm.java.args=-XX\:PermSize\=32m -XX\:MaxPermSize\=96m
 CHANGE TO:
 wt.manager.cmd.MethodServer.nonibm.java.args=-XX\:PermSize\=32m -XX\:MaxPermSize\=192m

Oracle:

 1: Change propperties as below
 DB_FILE_MULTIBLOCK_READ_COUNT=4
 OPTIMIZER_INDEX_CACHING=90
 PTIMIZER_INDEX_COST_ADJ=10


 2: Gather statistics – replace WindchillOracleUser as your wt.pom.dbUser in db.properties
 Sql> execute dbms_stats.gather_schema_stats(ownname => 'wind80', cascade=>true);
 
Tomcat:

 Configure wttomcat_start as below:
  -Xms1224M -Xmx1224M -XX:PermSize=32m -XX:MaxPermSize=192m

Statistics.bat in this file write like follow:
# User specific environment and startup programs

# Oracle specific environment settings
set ORACLE_BASE=D:\oracle
set ORACLE_HOME=D:\oracle\ora92
set ORACLE_SID=wind

# Oracle Online Full Backup
sqlplus system/XXX @d:\statistics.sql

#and in the sql file write like follow:
set serveroutput on;
set echo on;
begin dbms_stats.gather_schema_stats(ownname => 'dbuser',cascade => TRUE); end;
/
exit;

 

-----------------client--------------------

1. Please check the Pro/Engineer version once more,Pro/Engineer Wildfire3.0 datecode should be M140+ to be supported with Windchill 8.0 M050.

2. as PTC step,i should open some log port,And set below environment variables, reproduce problem and gather client logs(in Pro/Engineer working directory), method server log, error screen picture and note the test time.

**But this step i have not done,because if do that ,the system will produce more logs and should make the PDM system run slow.**
such as:
setenv UWGM_PRINT_XML_FILES yes
setenv UWGM_LOG_ACTIONS yes
setenv UWGM_LOG_TASK_QUEUES yes
setenv UWGM_LOG_DOWNLOAD yes
setenv UWGM_PERSIST_LOG_DEBUG yes
setenv UWGM_LOG file
setenv BSC_LOG_FILE_NAME bsc.log

3. Please check the Internet Explorer version,6 or 7?

4. in pro/E client config,modulate the vaule like follow ;
m_http_compression_level
dm_network_retries
dm_network_threads

how to set the vaule,as follow:

Attention Please:
1. if all the client company upload very slow?
2. if Upload finish,how the Check in speed?
3. PRO/ENGINEER version?
And then,we setting the parameters,if we could make the system get better:

1. please change the PRO/ENGINEER config.pro file as follow:
dm_network_threads =6
dm_http_compression_level = 3
dm_network_retries = 100
2. https:/-/-www.-ptc.-com/-appserver/-cs/-view/-solution.-jsp?n=111330 open the 3GB switch on client server:
with cmd(command line) run the command as follow:
BOOTCFG /Raw "/3GB" /A /ID 1

3. and the end redo the operation,tell me the result.

Ths!


1. Modify the boot.ini on the workstation to include the /3GB switch using BOOTCFG

Windows XP has added a tool called BOOTCFG that can be used to edit the boot.ini file (rather than manually editing the boot.ini file). For more information on BOOTCFG, see:

"A discussion about the Bootcfg command and its uses"
http:/-/-support.-microsoft.-com/-default.-aspx?scid=kb;en-us;Q291980

The following technique can be used to add the /3GB switch to the boot.ini file. From a command prompt, enter the following to add the 3GB switch to the end of the first line of the operating system entry in the boot.ini file (requires administrative privileges):

BOOTCFG /Raw "/3GB" /A /ID 1

Where:

/Raw Specifies the OS options for the boot entry. The previous OS options will be modified.
"/3GB" The 3GB switch
/A Specifies that the OS options entered with the /Raw switch will be appended to the existing OS options.
/ID The boot id. It specifies the boot entry id in the OS Load Options section of the boot.ini file to add the OS options to. The boot entry ID number can be obtained from performing the command: BOOTCFG /Query (this displays the contents of the boot.ini file) at the command prompt.

A reboot is required after editing the boot.ini file. Verify after reboot that the /3GB switch has been added to the boot.ini file. The computer's total virtual memory must then be increased to at least 3 GB in order to enable the switch.

______________________________________________________________________

2. Install Pro/ENGINEER locally and patch using IMAGECFG

NOTE: This step is no longer required starting with Pro/E Wildfire 2.0.

Perform. a local Pro/ENGINEER installation of Release 2001, datecode 2001360 or later. Make sure you create a backup copy of //obj/xtop.exe before patching so you can restore normal operation should the file become unusable.

Next, patch //obj/xtop.exe using IMAGECFG.

As of Release 2001, build 2001440 or later of Pro/ENGINEER, IMAGECFG can be found in: //obj directory. Imagecfg is also available in the Windows 2000 Resource Kit. For example, to modify the target file xtop.exe:

Imagecfg -l xtop.exe

At this point, the process is complete. Pro/ENGINEER should be able to access more than 2GB of memory. To check if the xtop.exe has been configured properly, run the following command:

imagecfg xtop.exe

This should return a line similar to the following:

Image can handle large (>2GB) addresses

NOTE: As of Pro/ENGINEER Wildfire 2.0, there is no need to run the imagecfg command. Wildfire 2.0 will be able to use the large address by default.

______________________________________________________________________


3.Removing the /3GB switch

If you wish to undo steps 1 and 2 above, follow this procedure:

Select Start, Control Panel, and double click on the System icon. Select the Advanced tab, and the Settings button in the "Startup and Recovery" section. Select the Edit button from the "System Startup" section. The boot.ini file will launch in an editor. Remove the "/3GB" from the end of the appropriate boot entry line under the [operating systems] section. Save and close the file. Select OK from the "Startup and Recovery" section. Select the Start button, select Run, and enter "msconfig" and select OK. Select the BOOT.INI tab and verify that the change to the boot.ini file was made. Reboot the computer.

Restore your original version of xtop.exe (prior to the IMAGECFG).

 


Microsoft Support:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q328269

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24106960/viewspace-667915/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/24106960/viewspace-667915/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值