PLM之家PLMHome-国产软件践行者

[TC问题解决方案] 138. 解决teamcenter性能差的建议----值得学习!!!!

  [复制链接]

2018-2-24 11:18:50 11567 2

admin 发表于 2017-5-12 16:17:54 |阅读模式

admin 楼主

2017-5-12 16:17:54

请使用QQ关联注册PLM之家,学习更多关于内容,更多精彩原创视频供你学习!

您需要 登录 才可以下载或查看,没有账号?注册

x
http://www-cad.fnal.gov/PLMWorld2008/Teamcenter%20Unified/The%2520Network%2520is%2520Slow!.pdf
* ^1 [- i$ m' ]9 D$ ^- v! m7 `+ Ohttp://www.plmworld.org/p/bl/et/blogid=43&blogaid=218
  {0 J4 U/ U7 Uhttps://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf- k( M/ |2 `; a( ~! H' O

' G) e! I  F/ B3 w) c: vTeamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation
( r1 O5 O6 L9 P0 r* @ 6 {- k  `8 _! ~( x
Larry Carpenter8 e! H+ y$ b  `/ T
At the Chicago-Wisconsin RUG Fall Conference in October 2012, I gave a presentation on common Teamcenter performance issues and solutions along with listing, in one place, many other past Teamcenter performance presentations and white papers. It was very well received by a standing room crowd, so I thought I'd share it with the rest of the PLM World community. Here is a link to the presentation (you must be a TCUA SIG member to view it):  http://www.plmworld.org/p/do/sd/sid=3758&type=0: l% ^* w6 ?. a7 v( R
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:
& c9 j* v& h# VWhy Performance Matters$ P# D' r5 \% ?) w' g3 w/ K- o8 _: I
• Productivity – doing more work with less
8 o8 Y' x- {& P, a; Zo Improve end user productivity
: e: o% {1 T9 m2 oo Improves administrator productivity
6 N9 c% O. {( k' R) V fewer help desk calls responding to or fixing preventable problems0 P/ m' S% X9 Q' E- V: \
• Reliability
& k8 G0 u  D, N; Po A well tuned Teamcenter environment also improves system stability and uptime.
- O  |0 x! M5 j/ ~# Z/ O. Oo Less opportunity for data corruption$ k* @2 D4 o+ f7 W) `: R- ^! A
o Fewer operational errors/problems
% k( [8 {+ }( \• Cost Savings# a7 M  R+ v: B; d. @# N
o Less waiting means less time wasted.! Y, B- L4 ^; Y' U* o, p) B
Quick Case Study: Company ‘S’
3 [3 w# B+ B1 u: aPerformance was so bad that something which used to take 10 minutes was taking 2 hours to do.Did pretty much everything wrong, performance-wise, at first but ultimately fixed every major problem. What took 2 hours now only takes 2 minutes.
& g6 d* D1 ~' }* WSee my March 2012 article on PLM World’s website for details:" ~1 B% I2 B2 e5 r0 J" M+ Z$ r
Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152: K( R  n) I4 {8 [. u! |
Common Performance Bottleneck Causes
6 Y, p9 v! T3 \7 u3 BUsing OOTB settings — OOTB settings are intended for development environments; not production environments.2 G0 m: J, [) E$ X
Overloaded servers — Putting too much on a single server.2 a4 d6 @+ G! u& @$ W# p9 z
Operating system settings — Network settings most common (e.g. TCP parameters).# n. Y# Y1 u' ?8 U5 N" \  \3 P
Lack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.
5 H0 y9 n( A9 C( FDatabases – The Most Likely Culprit
! J& C* @4 }  N• Database performance is highly sensitive to hardware, software, and DB configuration.$ A! r/ v5 l) o3 ]" U6 }) |9 J
• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.: ~2 `( O; o) u3 j
• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.
( g" m: U! ?0 m2 u/ IMitigating Database Server Bottlenecks" q) e% ?+ g6 _3 h" |( Q
• Must use dedicated DB server: ~& {" z0 P+ r& a
o Do not use your DB server for anything other than your Teamcenter production database. This includes not serving additional databases from the same server.
$ T! I! l* M* J' ?• Must have fast dedicated storage for DB files5 m0 S" _: e7 u6 b* [" K) }4 M
o Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.* _% J  R  L5 j$ W' ]" N. e
o Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.
$ }. v: ?* p  z3 Go Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.! C2 W8 m6 ]$ |6 @- g1 B4 ~* f
o Use disk controllers with a battery/flash backed cache.
3 X9 W7 r) d4 h+ U) H' Uo Use multiple disk controllers if possible.
9 l; }# V/ S9 R; m. d0 h7 e$ `" E• Cram the RAM; r; w; r1 A- T1 U3 j
o Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.4 t- p$ w+ [1 ~8 [0 i( S: J4 K& Y
• Use 64-bit OS & DB software
, T% O2 ?: L( P. U& g+ S% Ro 32-bit software has severe limitations regardless of whether you use “/3G”, AWE, or PAE settings to access memory beyond 3-4G. It’s still a bottleneck.
( n1 |; r- C: P• Use a good quality network adapter(s)# b5 M! I9 ]8 r+ J* P% I1 {8 i
o Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.
4 m" F9 ^* \+ T# t3 \$ f* A  h• DB maintenance tasks# p# k$ T6 A" O. L# X" }* x3 p
o Update statistics and rebuild indexes regularly.
; D  [9 d* E( LCommon Teamcenter Server Bottleneck Causes
8 A1 ^& {7 \2 Q, g) l( e• Overloaded Tc Servers
, E2 C7 |8 o6 F• Poor Web Tier Configuration+ x& T- d$ H  P3 i" u. {2 }
• Poor FMS Configuration
  E0 Q- A" I5 I  x$ F2 r$ i• Debugging Turned ON; {, G1 r7 _9 ~1 X% h; V( S: ]6 p
• Rich Client using OOTB settings; J# @$ L+ H+ z0 r  }7 s# I5 h+ P
‘Unload’ Overloaded Teamcenter Servers
, y1 N5 l) z" ~/ w• Put Dispatcher modules on separate computers away from other Tc Servers.
. A3 q$ K/ \. [/ P# U/ w9 m% k• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.; d2 @) J* O' A; L& C; I  w+ ^; n6 L
• Use load balancing for Middle Tier & FMS:
+ |: w9 ?/ s. i* ?6 n" l7 xo Use multiple Web/Enterprise Tier servers to open up potential hardware resource bottlenecks (e.g. CPU, RAM, network adapter I/O, disk I/O, MB bus, etc.).
" k6 w$ ~) |. |& ro Set up multiple FSC cache servers to take load off busy volume servers/storage.
+ F& K; B3 ~# l3 k$ ~0 N" dWeb Tier Configuration
2 [% y4 v5 A  p4 e9 g• Do not use port 80 or 8080. v* O  M" ?4 G) P6 C& U* l
o HTTP traffic on those ports is considered web browsing traffic and is therefore given lowest priority on any network. Can also cause randomly dropped connections.
6 a& C0 [/ T1 S  a• Enable http compression if not using WAN acceleration
0 S! A% i, n( K, ?0 W1 W- ro Must be done on both web server and on clients to take effect.
( j- v  S, Q6 K9 ~2 ^! l2 \1 v• Change/tune OOTB settings for Web Server/App: \0 o' R! g  W$ N& a
o E.g. timeout values, max # of threads, Java memory, etc.
3 p* v  n$ c# D, m- bo Read tuning guides specific to your chosen web server/app
0 h! F4 t4 w' j) k• Scale it up or sideways7 ]3 t: Z9 b' z0 V# Z
o Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).
0 i' @9 Y8 ^9 v% S- `: Y, dCommon FMS Bottleneck Causes% r& H9 V( S7 A2 X, X2 O/ Z* X
• Data improperly routed
+ I4 x2 s: R4 K6 a; Y% F; |o E.g. Forcing data to go through a remote FSC server over a WAN and back again over the same WAN instead of simply pulling it directly from a nearby Volume/cache server.7 v3 S4 E8 l' ~/ \8 P
• Using OOTB settings  q2 x9 S3 a8 s  s+ U
o For development purposes only, remember?
" Z0 z2 r' x9 x+ j/ h% k• Missing client IP address subnets9 J( M) n& m% s# Y
• No load balancing+ F! v9 o+ m, N3 }' ?
• Not using remote cache servers for WAN users
  \: O2 ?! ^5 q% ?+ {+ e) x• Not using remote volume servers for WAN users
. @+ \7 X! N) `, {$ p% w+ z% F, VFMS Configuration
" e/ j' v" m5 h' C( u( {• Ensure routing is correct
8 r/ @4 ~/ }/ x% {o Between multiple FSC groups via entry/exit/link parameters/ e# v- H/ ^" e+ R
o Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.' @- ]! w, n" l8 ?7 k. w+ g  e
o Use correct transport algorithms for LAN and WAN users.& {7 c& n1 h3 f5 Q2 Z; {
• Tune FSC/FCC cache settings
6 q5 Z, M9 `8 A' \8 c. x4 c+ c8 lo Simply picking a total read/write cache size is not enough.) V- }" i6 e# {$ u3 U* V* m
o Read “Sizing the FMS fast cache” in the Teamcenter help documentation. There is also a FMS cache sizing tool available from the GTAC web site. Link to FMS Calculator; h! j7 V9 m! X! z# x, `) `- f
• Ensure correct client maps' g# ?  k% g7 Z; y, O
o Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.
8 B" K0 ]4 H& p% ~o Place client maps in the closest FSC group to their location./ ?$ Y- X) p5 M3 f  a0 o2 f
• Use multiple FSCs for load balancing4 k; D" n, s. B, E- g3 d0 X$ J
o Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)
) L* P) Y6 d, [) ?" xo Use redundant FSC cache servers to load balance each other. Also provides fail-over.( L  N+ [/ @5 g0 b! J6 c0 K
• Place FSC cache servers close to users2 ?  m0 Q3 n# e) C! J
o Greatly improves read performance (load time) over a WAN for groups consuming shared data.
/ U* X1 T4 U8 z% `3 V6 P+ f• Place Volume servers close to users2 `! D& y0 b7 h$ H. v
o Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)+ D- q1 |- f! W5 A& K
o Greatly improve write performance (save time) over a WAN especially for CAD data.0 V  w+ g# [% B0 ]
• Prepopulate FSC caches
/ O9 t1 R& i" [; O" O. R) e4 Y- [o Run a nightly script to prepopulate shared data across FSC caches.7 J; b' G, z: p0 ]6 {& t1 o# b
Misc Teamcenter Changes
  d- c. ?8 J. Z6 F' _• Disable logging and other debugging tools.  Turn them on only when needed. Examples,
+ Y: i8 M9 }* a. po TC_SECURITY_LOGGING=OFF
$ e1 B1 ?7 R, ^5 @o TC_APPLICATION_LOGGING=OFF: p' v8 x) k' v' e& v$ L
o TC_SLOW_SQL=-19 J. L  ]7 l' U3 ~' @7 M% _
• Rich Client ‘Teamcenter.ini’ configuration:
, i; e5 K0 I; y4 l) y1 jo Modify Teamcenter.ini file to increase Java Memory and other settings. Will improve performance/stability when perform large operations (CAD, PSE expansion, large Workflows).
  q7 \) [+ r7 x! S) D• Enable FCC File Warming
6 e' s7 S# n. I2 ?; F% Go Improve startup time by having FCC and Tc files pre-loaded at OS login.  L6 u# f+ P3 x' G; @
Network Performance% V9 y$ }2 z" ~- g
• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.
! u+ p4 W& t. d6 |) }% i% ^o If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)
% v7 C3 v3 W* L* v- h4 \• Optimize OS network settings0 }( M9 V9 m+ N
o OOTB settings are insufficient
% _; }0 X5 X9 Oo Applies to both servers and clients
+ k, [, B- u/ ro Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling; H% Y! x7 ]; G9 s
Recommended Server Changes (Windows)1 n# V; Z. c0 A( O: Y
See Presentation.
0 B! c% \6 f  u' j. o% U8 aRecommended Client Changes (Windows)' N% _# c, Y0 D. Y2 O1 C4 I# \
See Presentation.
2 n) r) w- j9 @. `* w3 _% gPerformance Monitoring Tools8 I' V- ?* t& w3 q- a2 F# {! g
• Some useful performance monitoring tools:  d# O5 u4 i( d- j' Q' |# M7 c" s3 j& x
• Performance Monitor (comes with Windows)
& t# ]8 ^3 f+ g8 f9 q• Used to monitor OS, Teamcenter, and SQL use of resources
' h4 J' U8 b$ J+ G& n• Wireshark (freeware network packet sniffer)
4 t/ J8 L7 p- B• Used to help identify network TCP performance between computers.5 N2 v  a$ y- \/ Y, Y* f/ R1 ?
• Available at http://www.wireshark.org/) u9 k/ @! F4 L5 `- J
• Sysinternals Suite (free from Microsoft web site)$ c! P8 ^5 j) A$ Z( f
http://technet.microsoft.com/en-us/sysinternals/bb842062
5 p  K% X) \) X2 m" m1 {Reference Materials% g2 W6 [+ H  O
• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/" v: M" P% v6 u
o Teamcenter Deployment Guide9 x# q2 _) m0 ~0 p5 O
o Teamcenter Network Performance Tuning, G: }; l* a. J& l
o JBoss 4.2.2 Installation & Tuning Guide/ w2 i4 i' v* _8 K& ^
o Optimizing Teamcenter Client Performance
  s  d9 C8 ]9 g$ Y( ao Teamcenter System Performance Analysis
8 s9 s) o# c9 N9 x5 W• Oracle documentation & web sites
8 K3 H/ w/ d& n1 o: B  Z  V• MS SQL Server documentation in addition to:2 H8 l' o# D' A2 ~* H( `
o Best Practices for Running Siemens Teamcenter on SQL Server! E# g$ [7 Y$ P. l
http://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf
% M2 A0 X6 q. t& vo Siemens Blog on Technet
4 q' |7 k. x5 A5 q4 z6 Xhttp://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/
( _8 m1 X5 U& d3 q/ M- `- T+ B/ uo Siemens-Teamcenter-SQL-Resource-Page
4 T& @( [5 H, V9 c/ V  qhttp://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx, |4 X& }/ j3 D/ t7 K7 J
• Past PLM World Conference Presentations available at www.plmworld.org,
* O/ z+ O$ a4 z( w) \2 j" to Teamcenter 4-Tier Deployment – Best Practices
) R- }0 G4 L( F; l% Wo Teamcenter – Database Performance, |4 _- |9 x4 H' ^
o JBoss Optimization for Teamcenter& M" }& x& }/ M" t8 w6 N
o Optimizing Teamcenter Client Performance
( U) t0 d- ^  {# b& Y+ f+ M+ Vo Teamcenter Database Server Configuration & Tuning
. C) F  R; i. T7 R$ A9 }Contact Information0 C3 S4 w& F" ]+ w7 n" q
Larry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org
4 _$ ?+ x7 X) N6 _8 Q8 C- jTeamcenter UA SIG:  http://www.plmworld.org/TC_UA; t- o- h* P" L* f2 g
LinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa
& D3 F) H7 n2 J2 Y* j  RAlternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com
5 z' o; t" w  U" l2 H7 K$ |& s  r) _# s
# x' `  W2 E, u1 j/ p5 k
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.diantuankj.com/ doTeam.tech
回复

使用道具 举报

全部回复2

xiefeixiang 发表于 2018-1-10 16:28:46

xiefeixiang 沙发

2018-1-10 16:28:46

调优厉害啊
该会员没有填写今日想说内容.
回复 支持 反对

使用道具 举报

a150159 发表于 2018-2-24 11:18:50

a150159 板凳

2018-2-24 11:18:50

总结全面,我们也是类似情况,找了西门子的团队过来优化的
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.diantuankj.com/ doTeam.tech
回复 支持 反对

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 注册

返回列表 本版积分规则

  • 发布新帖

  • 在线客服

  • 微信

  • 客户端

  • 返回顶部

  • x
    温馨提示

    本网站(plmhome.com)为PLM之家工业软件学习官网站

    展示的视频材料全部免费,需要高清和特殊技术支持请联系 QQ: 939801026

    PLM之家NX CAM二次开发专题模块培训报名开始啦

    我知道了