PLM之家PLMHome-工业软件践行者

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

  [复制链接]

2018-2-24 11:18:50 11732 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 4 M; Z; J7 Y. G' D
http://www.plmworld.org/p/bl/et/blogid=43&blogaid=218
3 h2 V8 @" i# ]/ T) n4 whttps://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf% b2 B% g# a& z# K; W2 U& I- e
: c  A1 L$ H" A) T
Teamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation
% _' [, z/ ]: S- z ' O4 ?  d: r/ j. a7 N) \
Larry Carpenter
6 T9 G. H$ E0 g' o1 w+ A& LAt 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=09 c" ?# b# m6 q0 p
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:
+ Y. ]& |8 e4 W8 A' H' xWhy Performance Matters6 ^; n2 I/ P4 y2 L0 ~
• Productivity – doing more work with less
: B$ {$ T; J! ho Improve end user productivity8 e2 I  _. P0 p2 u: x' R
o Improves administrator productivity0 j. \( O9 L2 b5 a' d
 fewer help desk calls responding to or fixing preventable problems
5 p+ E" y0 x% J2 s( `5 U/ d• Reliability
; J( r) ^3 B3 m4 M) Eo A well tuned Teamcenter environment also improves system stability and uptime.
. t; W7 b2 `# a1 vo Less opportunity for data corruption- {( r# M- ~9 f: n& W+ U' r0 q
o Fewer operational errors/problems, Q  i  ~# X, `$ Y8 H: i* c
• Cost Savings( @; h# m4 k+ d' q7 m9 s
o Less waiting means less time wasted.
6 T! Q* j: Y7 ?Quick Case Study: Company ‘S’
+ B( W7 H5 l: \# A  ?! }Performance 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.
  J) h( B/ K2 s: {See my March 2012 article on PLM World’s website for details:0 ?) B" M- {* g/ n" p
Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152# D4 H- d( [# o6 z
Common Performance Bottleneck Causes
9 R) B3 N( D% \3 M, l8 K5 FUsing OOTB settings — OOTB settings are intended for development environments; not production environments.
/ E1 Q7 z. x% V# E  y! z2 AOverloaded servers — Putting too much on a single server.2 j( C; m% u# n( `, g; g
Operating system settings — Network settings most common (e.g. TCP parameters).
3 |" L3 H4 r# O! D2 |& b2 WLack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.
5 j* x- o& `# Z4 Y, ^Databases – The Most Likely Culprit0 S3 D% I! F: ?! m  v
• Database performance is highly sensitive to hardware, software, and DB configuration.2 T- Y- I1 r2 K# X- i- I& D
• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.9 P! {3 w" p- b& \& t
• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.
* L( T5 Z; r; q  t: VMitigating Database Server Bottlenecks
, Q4 o& x6 u6 J% G& g7 ?/ q9 L• Must use dedicated DB server8 Q' _( @3 Y& k2 h
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.$ ], |+ \# o& ~. X: K* L
• Must have fast dedicated storage for DB files3 M' L# ?  j' b- Q( t. g
o Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.
/ ^! p9 ]4 \- s( k2 Po Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.
4 w2 a" y  L3 |' @% N8 L1 to Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.
* h6 q! n) J* So Use disk controllers with a battery/flash backed cache." Z( X! V; d5 B* ^) j) C
o Use multiple disk controllers if possible.6 P2 K1 Q8 k' s0 T
• Cram the RAM& ~$ r: W* H3 `. n0 R
o Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.; G% p$ z+ I4 A5 B& [
• Use 64-bit OS & DB software
; F, w, T! j' o$ 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.1 ~+ ~2 J5 ]' O, E$ n7 Q, `
• Use a good quality network adapter(s)
7 D( M3 I) F9 I5 s0 Oo Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.
# ?9 G  q( _8 ^/ X9 v( V1 w• DB maintenance tasks% J# r7 y, P) H2 A& k6 W0 h
o Update statistics and rebuild indexes regularly.& X6 g& A0 \. X5 N% S
Common Teamcenter Server Bottleneck Causes
1 w+ r' r' ]. k• Overloaded Tc Servers/ o( J) b1 K" p
• Poor Web Tier Configuration* z2 S: _( o+ {* o7 Z
• Poor FMS Configuration
1 n( I% f) p, v• Debugging Turned ON
/ e! J5 E' B4 W- o5 ^0 N• Rich Client using OOTB settings$ q4 `/ R' L* \* ~  q6 G+ ~
‘Unload’ Overloaded Teamcenter Servers
; r1 l0 S" d) K8 y4 H- T2 I! ~• Put Dispatcher modules on separate computers away from other Tc Servers.
; o' ^4 i, L6 s, L: o  L• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.
& @5 h$ U* n. S4 b! U. J• Use load balancing for Middle Tier & FMS:
8 m$ |# t1 x3 {o 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.).
# G6 s5 E$ r3 B' C4 w( Qo Set up multiple FSC cache servers to take load off busy volume servers/storage.
# Q( }# X( O$ DWeb Tier Configuration$ _5 U6 N/ @# I/ B! s) S# i
• Do not use port 80 or 8080/ Q3 y& H! r1 \% P0 v/ `' s
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.
9 Z3 @/ n: `4 p• Enable http compression if not using WAN acceleration
3 k. t+ Q% I0 G. K/ Go Must be done on both web server and on clients to take effect.  z: U9 Q- p1 q4 R
• Change/tune OOTB settings for Web Server/App
2 h$ k2 @% [1 ~o E.g. timeout values, max # of threads, Java memory, etc.
  d2 ~6 I& l1 F2 l; p4 To Read tuning guides specific to your chosen web server/app5 U4 g$ F% C* @; S
• Scale it up or sideways
0 m3 \$ M( W* ^9 }" M9 o/ P+ a. ho Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).  n3 X( d- B6 R" a+ ~/ F, J  Z  V9 m
Common FMS Bottleneck Causes  I& L+ l: Y) j$ m: G' _
• Data improperly routed
3 D" ]8 w; y7 W1 h0 @4 No 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.0 w3 e, Z1 P9 V5 B/ t: r
• Using OOTB settings
7 S4 D- d* Y# `" |o For development purposes only, remember?
' K5 r: s. [8 J7 B• Missing client IP address subnets
4 h- g* ^" c3 }. U7 ^! e, D" R4 w5 C• No load balancing
  B7 _! N# o+ r+ D• Not using remote cache servers for WAN users% h7 l# O6 I4 i1 r0 z1 X# t1 P2 @
• Not using remote volume servers for WAN users2 j1 P1 {& }7 p: |4 f+ j* k# w
FMS Configuration: f, V& @5 |- C. z9 ~
• Ensure routing is correct$ Q- t3 ]  x& D
o Between multiple FSC groups via entry/exit/link parameters2 Q; Z! n% x. |2 Q3 m' u% `
o Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.
0 R1 G+ \1 n9 `/ _* u+ ~8 J3 Oo Use correct transport algorithms for LAN and WAN users.; n! s$ ~% ]. J) k& t
• Tune FSC/FCC cache settings1 Y4 [& p+ @' V4 {5 a
o Simply picking a total read/write cache size is not enough.0 \  F. F2 t: P! V3 S6 H
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
( Q; e4 n3 f5 B0 T  ~! e3 w• Ensure correct client maps* q- q4 q; \$ B
o Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.
/ ^# @7 I/ L" l& G' @o Place client maps in the closest FSC group to their location.& z) |- Q, M( G$ O9 \( |
• Use multiple FSCs for load balancing
( ^1 @. t1 n. a5 M3 J1 Z4 Z2 T: o( @# n9 Yo Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)
* H- H$ l; K: l- u7 Fo Use redundant FSC cache servers to load balance each other. Also provides fail-over.
8 \1 ~, n* k+ t• Place FSC cache servers close to users
& _) T$ l- c5 J5 t0 S  Uo Greatly improves read performance (load time) over a WAN for groups consuming shared data.7 s5 Z4 v, F0 `
• Place Volume servers close to users- m+ n, L. k" O) ?% t
o Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)6 i+ N$ V$ `# ?8 I, H: r
o Greatly improve write performance (save time) over a WAN especially for CAD data.9 C  P4 X+ K% B6 Y' g
• Prepopulate FSC caches
8 y0 x0 Q; q& `/ q. j. M& Lo Run a nightly script to prepopulate shared data across FSC caches.
% O$ C" \8 d- @2 V7 x3 NMisc Teamcenter Changes
, `) r: f0 o/ {' A• Disable logging and other debugging tools.  Turn them on only when needed. Examples,7 W# A6 z& ?$ ?  M* _8 b/ C) M
o TC_SECURITY_LOGGING=OFF
2 s7 M" w, k: ]4 x' ko TC_APPLICATION_LOGGING=OFF& t3 A; |! X2 U- v- ~5 f6 s
o TC_SLOW_SQL=-1$ Y8 g# S$ k+ S% k- F: w
• Rich Client ‘Teamcenter.ini’ configuration:
3 N3 {+ s4 {% }! G4 n. Ho Modify Teamcenter.ini file to increase Java Memory and other settings. Will improve performance/stability when perform large operations (CAD, PSE expansion, large Workflows)., R4 P/ p5 z' b
• Enable FCC File Warming5 [" F0 `# _9 r% D. e
o Improve startup time by having FCC and Tc files pre-loaded at OS login.( S) v  J/ R, p2 m) T" H4 f1 N
Network Performance
# M6 R- h8 x, v' t* ?$ _& E6 [4 K  E• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.1 w$ K8 G+ z, `, I. u1 Y; R
o If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)
4 W4 E8 a$ d7 d5 P5 f+ {$ i• Optimize OS network settings
! y0 e" M! w7 o0 g  p" no OOTB settings are insufficient
. Y$ w! V  Q, Y% S& x) |) eo Applies to both servers and clients
9 b# U  d9 {$ To Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling
! h9 T3 k: Z" ORecommended Server Changes (Windows)
0 W# q9 n' s' }6 Y+ C& gSee Presentation.
0 a  R2 t, n* O4 fRecommended Client Changes (Windows)8 d+ ?/ n, n/ V
See Presentation.; Z; i& s6 C; s( N
Performance Monitoring Tools$ q! ]) ]" c% J2 D# _/ e
• Some useful performance monitoring tools:
* x2 O* P2 [% Y; ]+ ^4 Q7 J• Performance Monitor (comes with Windows)/ P  k. M/ \/ M& M/ @
• Used to monitor OS, Teamcenter, and SQL use of resources
1 E# r* m+ x- v# X• Wireshark (freeware network packet sniffer)- b' o, P) |- a; V' a7 h( }( k
• Used to help identify network TCP performance between computers.
2 u2 \3 X& q* ~+ @% Y• Available at http://www.wireshark.org/
# t$ D" y7 l8 E% x% W5 S  L/ z• Sysinternals Suite (free from Microsoft web site), R2 z9 @+ Z* |# ?$ n1 \( l5 i2 M
http://technet.microsoft.com/en-us/sysinternals/bb842062% b3 B8 X' V: r
Reference Materials
! c8 e$ h4 X: O; S% D+ E4 O* y• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/
: s$ h8 G6 [1 E/ |' Q+ @) ?6 |; Bo Teamcenter Deployment Guide
' u4 j! V: g2 k+ O9 _6 {( Qo Teamcenter Network Performance Tuning9 e4 M: e6 l, h6 T9 |0 q
o JBoss 4.2.2 Installation & Tuning Guide4 S: J) t( v3 |9 |1 N
o Optimizing Teamcenter Client Performance# J& R& i, I1 y( _1 F
o Teamcenter System Performance Analysis
, K2 s6 K  `% N0 z) B• Oracle documentation & web sites1 x% O% o2 }, z) s" K. ~
• MS SQL Server documentation in addition to:
4 P& Z' b6 u. W! }o Best Practices for Running Siemens Teamcenter on SQL Server. T3 u9 B7 w0 R1 L$ |
http://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf
2 j3 r% T* x$ Ko Siemens Blog on Technet; y; _: I' v4 V; H2 c3 z
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/6 g' e  J5 j4 {8 ^; |4 O
o Siemens-Teamcenter-SQL-Resource-Page. c; N% t; y+ T! h+ r4 r
http://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx( d& x% S2 X- U: ?+ P' F
• Past PLM World Conference Presentations available at www.plmworld.org,3 [6 D) v+ L. ?9 w- Q
o Teamcenter 4-Tier Deployment – Best Practices/ P* F4 Y+ S. Q
o Teamcenter – Database Performance
6 H; @5 m* B) M1 F( ^/ no JBoss Optimization for Teamcenter: Z3 h$ S& Y9 Z* z
o Optimizing Teamcenter Client Performance
/ T- f) B8 [# S2 f5 Ro Teamcenter Database Server Configuration & Tuning
4 B6 @8 a& H" T  M! CContact Information
& k! M4 \4 n. W5 u9 l# ^/ s* SLarry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org! w# G2 O8 E/ F: `$ n9 S9 G
Teamcenter UA SIG:  http://www.plmworld.org/TC_UA
3 A- W2 W6 U* B% \" z- d3 NLinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa
) h" Q* \) t$ N4 l8 ^$ R( eAlternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com
, ~$ x7 J/ F2 e1 L
0 a9 F  w4 D5 F0 i% P' {
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 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二次开发专题模块培训报名开始啦

    我知道了