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

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

  [复制链接]

2018-2-24 11:18:50 11571 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
% s- W& |, E# Ihttp://www.plmworld.org/p/bl/et/blogid=43&blogaid=218
% J& t' V1 U8 s2 Z3 Q$ J  S0 B; chttps://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf
/ L$ M$ m( k; l# X6 a% S( }: f: x4 X# m
Teamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation
$ O/ C6 ~+ u, [
5 ~% }7 N! z+ R8 w' l9 kLarry Carpenter
' I% o- C& A0 C$ e- @: OAt 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! I4 }2 P- r9 m# M! [1 K/ z
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:; ^3 ]) D5 P  T! T1 D2 f
Why Performance Matters) D3 h) M1 W) p) Q
• Productivity – doing more work with less4 ~2 V) B4 @5 C/ G
o Improve end user productivity
5 v7 ?; a% B, ~# r! b; b* uo Improves administrator productivity2 b; H+ H3 ?& k: P
 fewer help desk calls responding to or fixing preventable problems- D4 H1 C% L$ P0 }1 ]: h
• Reliability2 e. w- K  ?, G. \/ O$ y- t
o A well tuned Teamcenter environment also improves system stability and uptime.
2 T# A+ @- J5 Jo Less opportunity for data corruption. _% i" o, q- c- M# B3 I. Y
o Fewer operational errors/problems
8 {/ u- k5 w  u9 L; i5 Y• Cost Savings7 B8 |" |7 k& o$ M1 n0 ^
o Less waiting means less time wasted.  h* B) Z. M* }, H) }6 H# N$ H
Quick Case Study: Company ‘S’
: y) ]: ~8 k" z2 w$ ?8 wPerformance 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.+ g5 w2 z! ^) o+ c6 Y# S
See my March 2012 article on PLM World’s website for details:9 U0 c0 m, s$ D/ E* |% |( o9 O
Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152& G" M( ]; k* @+ T
Common Performance Bottleneck Causes4 p1 _7 [& s2 _9 Q4 a2 q5 A
Using OOTB settings — OOTB settings are intended for development environments; not production environments.
8 R3 I3 x7 [4 b" }8 o6 POverloaded servers — Putting too much on a single server.
5 d  v( V$ o3 C5 k# G; pOperating system settings — Network settings most common (e.g. TCP parameters).' O$ m6 n( C& ]
Lack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.# G- j- s  W6 j3 Q% v
Databases – The Most Likely Culprit
( r( \* ?2 ?9 q7 H; D• Database performance is highly sensitive to hardware, software, and DB configuration.
" f' l1 D9 O( b$ w, f• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.
4 T$ @  d6 W1 W! H' P7 u. j• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.6 d) A- ~# r9 n4 o: _" ^( c9 P
Mitigating Database Server Bottlenecks
1 R, s$ w0 L/ b( c4 k! L• Must use dedicated DB server. {6 @! O- T' F7 P" Z( I. c0 v
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.* O2 W" o: |/ n$ H% r; x: _
• Must have fast dedicated storage for DB files. Z: @2 k! b4 Q2 ?/ K3 S
o Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.
. T' J6 b3 e, W: c6 J# ]. p; to Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.# D, T/ P- r: X) z4 z, \. c
o Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.
3 _. B! Y+ ~% s2 g9 Mo Use disk controllers with a battery/flash backed cache.
8 t# U; A; H1 I9 N; }6 Wo Use multiple disk controllers if possible.* ~) s8 H# |1 m: ^" S4 i4 U! |
• Cram the RAM5 `9 ~' X8 n4 D  l9 X
o Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.
$ V5 v( ?- q0 T' @- ]2 Y• Use 64-bit OS & DB software
* `8 _! U7 {; l5 mo 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.
& q/ {+ ^- P' R. o• Use a good quality network adapter(s)4 ^5 S5 B& m  H  p6 @/ |
o Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.
9 _+ P6 d4 U, B  B* L• DB maintenance tasks. o" B/ t% u% d. h3 u
o Update statistics and rebuild indexes regularly.
9 L5 `" K3 F( \) g8 aCommon Teamcenter Server Bottleneck Causes
- }* c1 |0 y& o* W• Overloaded Tc Servers
8 h* I2 q9 M. O# i, U0 n# h# f, O$ [• Poor Web Tier Configuration
! o2 t; S7 ~" t; Z• Poor FMS Configuration1 i5 L3 J/ t' u$ ]/ l. i1 ?
• Debugging Turned ON
+ i& x% F8 \2 [: r$ q- ^1 U# F' t1 d• Rich Client using OOTB settings/ ]. a1 H" P* P
‘Unload’ Overloaded Teamcenter Servers
) r5 L) k; e9 i8 c4 q; n" B• Put Dispatcher modules on separate computers away from other Tc Servers.
$ ]1 x' c2 `2 }8 a6 ?3 A• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.0 Y) u: ^4 H( Z/ h  \- @
• Use load balancing for Middle Tier & FMS:! H6 d' g& J& o6 V, @: D( O. O/ `
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.).
% X  h9 _) E. G5 Zo Set up multiple FSC cache servers to take load off busy volume servers/storage.
0 i9 y  c' ]6 w9 t3 Z% ]; R, \Web Tier Configuration) K- }- S4 m! B4 i3 T
• Do not use port 80 or 8080' c( U( Z7 U% Q0 z
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.8 T  S5 j/ k6 B6 X2 @5 V) z
• Enable http compression if not using WAN acceleration, j7 N* p% l4 U$ S7 p
o Must be done on both web server and on clients to take effect.6 ?! ]9 _7 R6 P* v" f, S3 c
• Change/tune OOTB settings for Web Server/App
7 S6 C/ `" r0 v" d& To E.g. timeout values, max # of threads, Java memory, etc.
' d* E0 W0 s7 s. \' so Read tuning guides specific to your chosen web server/app) r5 X5 M8 i) ?% i& x+ @( T! p4 c
• Scale it up or sideways
/ {* V$ ]3 I' v; h/ F& K4 D6 bo Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).
# w8 y) g* V4 G8 a7 A/ i$ ~Common FMS Bottleneck Causes
, `( C1 ~% E* L4 R• Data improperly routed
( ~1 Z8 b: M" Q$ C( Co 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.
* Q: s: p- O/ d8 Q1 ?• Using OOTB settings
' G3 k9 d+ Q1 k7 F6 F5 l+ F' T  `o For development purposes only, remember?
9 E  x' H" P/ T  C2 ~3 p2 G% J• Missing client IP address subnets# R# j" \6 o& O( {, y- I8 x8 g* F& H
• No load balancing6 q! w2 i( d% M1 k
• Not using remote cache servers for WAN users0 W) P3 z2 `2 i+ e
• Not using remote volume servers for WAN users
( q0 B9 i( C6 `- e1 t" \FMS Configuration3 j. z: h7 D; V4 \
• Ensure routing is correct( [0 Q2 R8 K! X
o Between multiple FSC groups via entry/exit/link parameters; s$ s0 L( Z5 t( n( Z
o Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.  _* g9 Y/ R, [2 q& f: \, a& l
o Use correct transport algorithms for LAN and WAN users.
' B# ~( C4 t8 ~) I. R• Tune FSC/FCC cache settings1 O' ?) w1 d& H7 o! X
o Simply picking a total read/write cache size is not enough.
% l) s$ L, y0 _# _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 Calculator8 z! H: k, \, c  I/ R2 n2 a3 i
• Ensure correct client maps5 T+ @# X' v4 I/ }  I$ \3 N
o Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.! ^# S) B; K1 ~- S, t% e5 a
o Place client maps in the closest FSC group to their location.& M- K9 ~7 w9 u: m1 `; _* ~; k
• Use multiple FSCs for load balancing
6 k7 }1 N7 r# N1 go Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)
, u, D4 w  d* t' [3 |- Qo Use redundant FSC cache servers to load balance each other. Also provides fail-over.' I: M2 x: P- o/ y5 P% O: S: ~
• Place FSC cache servers close to users. B/ M9 S# N* z; }/ b9 D
o Greatly improves read performance (load time) over a WAN for groups consuming shared data.
1 Y! ]/ f2 R6 Y! E4 _• Place Volume servers close to users
( n9 x, y4 J  D3 C% O5 j$ ^! @o Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)' v! z" w  O* c: r- Q3 f% s
o Greatly improve write performance (save time) over a WAN especially for CAD data.% t" L2 w- R* C9 M1 @4 a! m4 S
• Prepopulate FSC caches
1 g. p, }& R) I; Yo Run a nightly script to prepopulate shared data across FSC caches.3 i0 |: i0 C( \; q+ b4 O
Misc Teamcenter Changes  Z, ^1 C" a' A5 x
• Disable logging and other debugging tools.  Turn them on only when needed. Examples,
& n* b! |' W. c. S& W+ v# L4 Fo TC_SECURITY_LOGGING=OFF* ?4 Z( ~$ N7 R/ E
o TC_APPLICATION_LOGGING=OFF
  S0 r3 i; o1 a$ }o TC_SLOW_SQL=-1
5 b2 g% _& w) ]. l* `+ J3 k. A• Rich Client ‘Teamcenter.ini’ configuration:
% u& C  x- N6 _! f  y- 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).
0 x( H- Z7 M! G/ v: P( `• Enable FCC File Warming
2 K  @; c5 `- B; ao Improve startup time by having FCC and Tc files pre-loaded at OS login./ U- `9 Q  B: y0 E4 m7 B( c
Network Performance
* ~1 Q- [, m; B" K• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.
8 @% g  K1 V: t" x. Qo If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)! l: Y) }  f$ J& Y6 d
• Optimize OS network settings
: L! {; V' q8 I  A3 p4 So OOTB settings are insufficient$ B) y" l( _3 U' w6 ?' J! V; u& o
o Applies to both servers and clients
3 L% R" v& J4 K+ P6 ^' ?. }o Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling
$ V9 {. \/ @+ |5 lRecommended Server Changes (Windows)( J0 w5 ^' j' j1 Z/ ^& R* @" _5 Q
See Presentation.
! w' v: C) ]5 I! N9 s( W+ T' sRecommended Client Changes (Windows)! s5 O# a3 i0 P! N9 P
See Presentation.
) m. n# W6 E* d7 TPerformance Monitoring Tools
, T  G2 _+ m; d( w# I' X• Some useful performance monitoring tools:
6 d( X4 B9 T8 E. Z& Q• Performance Monitor (comes with Windows)" Y* J- Q( o! ]! \6 ]0 v! k
• Used to monitor OS, Teamcenter, and SQL use of resources* L2 b/ b  |- M4 }
• Wireshark (freeware network packet sniffer)
# h0 k+ U; Y+ \# u• Used to help identify network TCP performance between computers.0 p& @* [+ Y' q4 y( Q# y
• Available at http://www.wireshark.org/- r* n! b" ^4 D
• Sysinternals Suite (free from Microsoft web site): F2 W1 v; B) Y; e
http://technet.microsoft.com/en-us/sysinternals/bb842062! y) ^2 e. K. H8 }2 ~( B! g
Reference Materials
- H) u3 i1 G$ a6 Z$ V7 M• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/
# @0 b" N0 g  {3 j' t+ A. e1 V5 fo Teamcenter Deployment Guide$ |" H0 E# \$ \6 e7 T- |6 X
o Teamcenter Network Performance Tuning( m' Q8 S$ a% N- c3 K( _- S
o JBoss 4.2.2 Installation & Tuning Guide
' `) ?; ?2 {3 V3 T5 t/ c5 Ao Optimizing Teamcenter Client Performance
/ m: B8 Q1 S9 u* i5 {o Teamcenter System Performance Analysis
% \$ \9 k. p0 C$ L, K  Y6 I4 m• Oracle documentation & web sites
  s4 ?3 n# ~7 H• MS SQL Server documentation in addition to:
) ^/ A- W& z4 P( q; ?o Best Practices for Running Siemens Teamcenter on SQL Server
5 B1 Y+ g1 U/ m# ehttp://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf
4 |- \( v9 v3 @* H. B) N! bo Siemens Blog on Technet; m  j4 {+ {+ {5 @' f  K7 D
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/' ~: a1 ~' }# X, i
o Siemens-Teamcenter-SQL-Resource-Page
' F* O. N5 _9 b' Phttp://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx2 _% h6 ~; H8 P/ i
• Past PLM World Conference Presentations available at www.plmworld.org,
8 f& F  `3 K/ o7 }! vo Teamcenter 4-Tier Deployment – Best Practices1 z0 Q9 M) v$ M0 m2 m
o Teamcenter – Database Performance
0 e8 z( [& o" F0 I, I5 [o JBoss Optimization for Teamcenter) m7 K1 v. c& Y1 h( w" v
o Optimizing Teamcenter Client Performance- `4 ?4 d: T/ c( a0 E0 R
o Teamcenter Database Server Configuration & Tuning6 w. E# F* Y9 g' i6 u) K4 ?" y
Contact Information6 ]+ S- E* L( s# d+ ^
Larry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org
7 u4 B# y9 Q; b5 U5 HTeamcenter UA SIG:  http://www.plmworld.org/TC_UA! I+ J3 _" L% N+ X7 A9 f( C/ E' T
LinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa
) y8 |3 W! P: [0 ~5 P8 f' ^; cAlternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com
8 f9 D! o; y; t( P% M; V' T" E) j2 L. S9 T7 `, i0 P' `
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了