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

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

  [复制链接]

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

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

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

x
http://www-cad.fnal.gov/PLMWorld2008/Teamcenter%20Unified/The%2520Network%2520is%2520Slow!.pdf 8 H6 I# r, _. i2 K
http://www.plmworld.org/p/bl/et/blogid=43&blogaid=218 , Y' P4 {' {9 B
https://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf
$ q" l1 D6 x2 G/ x1 ^2 E6 J2 q
' I0 G9 X# Z' f' x! w) _( N7 ^/ {4 xTeamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation9 f! N8 l7 D& Z+ q( X
5 Z2 O3 ?, {0 `0 N+ u! t* _
Larry Carpenter' u: ], m% |! x2 A' _2 ^
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
9 L0 z# X# R9 s' L! l; SFor those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:
% R; h9 l4 G# _5 |: z, BWhy Performance Matters
' U# ]  y5 ^" k2 o' O• Productivity – doing more work with less
! ]. s7 F5 l, m* Bo Improve end user productivity( |9 I1 g" S# f4 r/ @  p
o Improves administrator productivity4 w1 V/ ~, u& h+ o3 }, a% L
 fewer help desk calls responding to or fixing preventable problems
7 C" @1 ?. C( b' {/ f/ t, i6 {+ q• Reliability
- ]4 C/ Q4 C( z7 q; B1 v+ qo A well tuned Teamcenter environment also improves system stability and uptime.
# g" n! z) x; p, W6 J  po Less opportunity for data corruption
7 j$ v' s0 s( @o Fewer operational errors/problems6 q8 s, O8 S- E  l& D) J( `$ u; p
• Cost Savings, n& q4 \  A6 i, F8 B+ w" c
o Less waiting means less time wasted.
) @4 P3 N* L7 T" e. V6 X; oQuick Case Study: Company ‘S’3 j; \* C( b) L" z8 t4 B
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.
, z( B; f4 Q" kSee my March 2012 article on PLM World’s website for details:
9 H; J) I! Y. ^# h/ CTeamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152' g) q( v: F$ L: _- B4 i
Common Performance Bottleneck Causes
6 D" Z, t& L2 @  ~Using OOTB settings — OOTB settings are intended for development environments; not production environments." l$ _1 y7 u0 F; r8 J
Overloaded servers — Putting too much on a single server.
9 n5 ^% O# v0 d% d; bOperating system settings — Network settings most common (e.g. TCP parameters).
" k- h- p, O! \. c1 R2 |+ v0 XLack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.; A; S  Q. b/ R7 h/ u
Databases – The Most Likely Culprit& i( A7 `% q4 J- ~. F
• Database performance is highly sensitive to hardware, software, and DB configuration.4 P4 K/ C% v5 B( }7 X$ P
• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.
) V% |: n( G% ?, J" N• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.
& [- e' o0 H4 {1 BMitigating Database Server Bottlenecks3 p  w6 o7 y  a/ |
• Must use dedicated DB server! y7 z+ q# _' h3 \' q
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.7 b; K8 o: v' G: A# e; G# _2 e
• Must have fast dedicated storage for DB files
3 M/ C* V+ C( @# y$ V  ~* Zo Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.
" p6 [  _+ V0 W& X. ]! p2 y/ So Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.
. ~( T; H( N3 y, L: ?9 ho Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.
8 w( k3 t+ g+ z0 c) }% P  _" yo Use disk controllers with a battery/flash backed cache.
9 p4 W, Z2 t4 W8 M* L; Oo Use multiple disk controllers if possible.
$ Y. T% t( A9 J0 a- {/ B: L$ m4 H• Cram the RAM
; A9 ~  ]$ h: ~) M) Yo Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.
% }4 b/ Q6 N- C, A0 d, K• Use 64-bit OS & DB software  \; `! y8 t+ t6 ^
o 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." d' N! y& y# q+ @4 X
• Use a good quality network adapter(s)
2 r: `/ L: P+ N! q4 f2 Fo Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput." W& ]0 z5 v+ ~, B# T
• DB maintenance tasks
% N( e) m: {3 u; w) Bo Update statistics and rebuild indexes regularly.
1 `6 [% A3 K. t$ Z+ g$ SCommon Teamcenter Server Bottleneck Causes" ^1 |# z9 C2 \* N/ ?3 J2 M
• Overloaded Tc Servers3 s! U6 z$ T3 I; Z( i4 Z9 q
• Poor Web Tier Configuration- b: _1 h3 D9 E  U. R# {1 \- n
• Poor FMS Configuration
5 e+ Z7 q' e+ I& a8 b# p• Debugging Turned ON2 V" W/ @# f; A; O8 A* Y$ I
• Rich Client using OOTB settings, l8 v$ e/ N& y0 i1 h) q# ^
‘Unload’ Overloaded Teamcenter Servers6 T4 e5 K5 n* B! y' ]7 Y
• Put Dispatcher modules on separate computers away from other Tc Servers.2 z" f* G, o3 k# O  V
• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.3 N. g7 ^0 k: H" {7 b- `  d) Y' k
• Use load balancing for Middle Tier & FMS:
. u1 S( r( h/ o( yo 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.).. T' }( r' q5 |$ w- }, M# z/ e- \* X
o Set up multiple FSC cache servers to take load off busy volume servers/storage./ _* n5 ^/ @* E  C- I$ |
Web Tier Configuration' c  j5 v6 o( `% B
• Do not use port 80 or 8080/ {5 i% Q: M( ~% ?; q
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.* d4 ]/ l8 D+ S2 F2 M8 f
• Enable http compression if not using WAN acceleration% c, \, I* T6 y. }! l' V/ _
o Must be done on both web server and on clients to take effect.
6 q! L8 a: E- c/ T7 E* p9 q• Change/tune OOTB settings for Web Server/App
! f6 |2 p- R$ ~6 Ao E.g. timeout values, max # of threads, Java memory, etc.
  b  H! w% c' l  ^3 n) E: o) Vo Read tuning guides specific to your chosen web server/app
7 \7 I- k( }" O) _6 I• Scale it up or sideways3 I5 d* B0 s+ m$ K8 [8 m! V
o Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).
, U8 e. }+ T0 z) F! {5 q& UCommon FMS Bottleneck Causes
$ }; b' o$ T+ V• Data improperly routed! F& Z* Y9 s( c
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.
8 p9 q2 ^" }1 v5 S) }$ J0 @% j• Using OOTB settings
9 \- ^+ @$ f3 R% P) ]7 s- So For development purposes only, remember?4 r+ O. h+ D; p5 |" _
• Missing client IP address subnets8 c# |& R4 r0 M% C3 p5 ]& a! P, G" \
• No load balancing
, ^5 l3 I1 l+ \- n1 f, y6 X& i• Not using remote cache servers for WAN users
& `3 Z( o1 z# c$ Y' [• Not using remote volume servers for WAN users
1 Q6 x  R* F3 P7 ~FMS Configuration
- X  \, S) ~( J• Ensure routing is correct
5 ~1 P9 V6 N, p$ m3 E" xo Between multiple FSC groups via entry/exit/link parameters& t4 b8 d4 V- y9 S/ e
o Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.# W, P2 A. ?- E% _3 |
o Use correct transport algorithms for LAN and WAN users.* |# d$ `5 t5 I5 m. q, \$ r* {
• Tune FSC/FCC cache settings7 i! D6 S1 T" |
o Simply picking a total read/write cache size is not enough.
; F8 R: y2 s  w4 W5 ]* k$ R9 Y8 K" _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
% w1 a2 a8 |; [' Q- A/ r1 g• Ensure correct client maps
3 z5 R. M" P$ |9 o2 n: s  Mo Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.5 {9 n, b# @7 ~% C2 y& z0 q
o Place client maps in the closest FSC group to their location.
. f9 U. n. o* K' P. w5 ^• Use multiple FSCs for load balancing  G1 A* x2 k0 Y0 y: n
o Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)
0 |1 N$ K- c9 m% F" po Use redundant FSC cache servers to load balance each other. Also provides fail-over.$ A/ [: `8 j& C1 F$ ?8 I1 z! D
• Place FSC cache servers close to users
% M3 ]' q4 ]7 @9 W' xo Greatly improves read performance (load time) over a WAN for groups consuming shared data.
7 B( i; ]* e0 f) v7 i( H% Z• Place Volume servers close to users
- W- x! C3 G* m; r; f  Q) S- ~o Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)* G$ W/ ^5 J1 Y# R8 V
o Greatly improve write performance (save time) over a WAN especially for CAD data.
. g0 _$ \* O* L; k7 w9 t" s* g  Y; N• Prepopulate FSC caches
$ Y! i, Y$ H0 a. \( _  a" O6 Vo Run a nightly script to prepopulate shared data across FSC caches.& F9 L3 g! i2 l6 O2 t) h
Misc Teamcenter Changes! a0 ?: H; Y) F
• Disable logging and other debugging tools.  Turn them on only when needed. Examples,& t; B& a  W0 T+ h. S
o TC_SECURITY_LOGGING=OFF4 z8 I  w2 q. w. i2 _, ], H+ F# ~; q& s$ Y
o TC_APPLICATION_LOGGING=OFF
6 k+ W- Z9 C; x8 L$ ~! l/ e7 fo TC_SLOW_SQL=-16 i- M1 u, F% Q: K. o( s4 X" V$ T
• Rich Client ‘Teamcenter.ini’ configuration:
# I, X& A- M0 q) [o Modify Teamcenter.ini file to increase Java Memory and other settings. Will improve performance/stability when perform large operations (CAD, PSE expansion, large Workflows).
9 \6 `" E; X2 @2 _4 F• Enable FCC File Warming; r$ W+ S# Q( n% J+ y
o Improve startup time by having FCC and Tc files pre-loaded at OS login.
% W" N; S: z: r7 k4 |Network Performance
4 c# e9 _0 z1 ]6 c• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.
; o* X+ g5 |1 Y1 h7 F, _o If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)
8 t; U& Q3 m1 n2 F0 b! H• Optimize OS network settings9 M  _. B/ u1 j. R
o OOTB settings are insufficient/ h  k8 Y/ \1 ?( o
o Applies to both servers and clients: w& [( D/ j; K
o Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling& m4 e; a5 X3 s8 ?0 R$ j8 O0 p
Recommended Server Changes (Windows)) h8 C$ D" Z+ Q" {! g; s
See Presentation.
* u3 ^  M" U; c3 MRecommended Client Changes (Windows): e/ Q8 p; Z0 j; Y
See Presentation.8 |/ X: A5 i# O4 h. u+ w
Performance Monitoring Tools- A$ Z5 N/ M/ L3 c" w2 G+ _& H5 x# ~
• Some useful performance monitoring tools:
3 H: H3 \5 S, w6 G0 [• Performance Monitor (comes with Windows)
% T0 C) {5 q  _  F2 N) _# d3 M/ h, A• Used to monitor OS, Teamcenter, and SQL use of resources
5 K  g0 `; ^9 M2 h% y" I8 u• Wireshark (freeware network packet sniffer)1 q' [* P; N$ I9 `; _& k
• Used to help identify network TCP performance between computers.* F3 I5 B7 I8 i2 z+ n
• Available at http://www.wireshark.org/
! P1 A$ m# G1 _• Sysinternals Suite (free from Microsoft web site)
2 r( m7 x3 f7 n% u" G2 Ihttp://technet.microsoft.com/en-us/sysinternals/bb8420625 s( e4 w! d" E8 t2 `
Reference Materials
$ s8 c0 l/ V6 i. R5 {* c6 C7 L• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/5 w  A( l) m1 k; M5 ~6 N. J0 D
o Teamcenter Deployment Guide
: V( p) b( O5 V- B: y; ^, a! I) So Teamcenter Network Performance Tuning6 _( }8 w% \) v6 ]/ U0 F! {4 F/ u
o JBoss 4.2.2 Installation & Tuning Guide- r! T7 R* A; b3 y, ~$ i/ f5 X: i
o Optimizing Teamcenter Client Performance2 v0 e7 F/ A, h4 \; X) z
o Teamcenter System Performance Analysis! D5 y6 `! X% l% F! r6 |5 ^; O  {; \
• Oracle documentation & web sites
/ T( H' Q; S3 q• MS SQL Server documentation in addition to:! B7 b$ H# ]2 Z
o Best Practices for Running Siemens Teamcenter on SQL Server
" P& o: B. y- D. _http://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf
6 [+ K- D5 X% w( z$ _7 n$ a9 b+ Uo Siemens Blog on Technet2 \; n1 q6 i7 T8 b& D( W+ ?% G/ z
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/! o: I: P: g% d0 \! u
o Siemens-Teamcenter-SQL-Resource-Page
$ s' l  n  ?. o, m1 z  h9 qhttp://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx' Z5 T2 ^# e- s5 e: `0 r: ]5 q
• Past PLM World Conference Presentations available at www.plmworld.org,8 Q' ]/ g, h" c- d2 `
o Teamcenter 4-Tier Deployment – Best Practices
3 ]8 X- |+ D- N. |o Teamcenter – Database Performance. J7 z! @! |" f$ y- ?% r$ {
o JBoss Optimization for Teamcenter4 S; u/ @0 N# e3 g  z) |
o Optimizing Teamcenter Client Performance+ L4 l. k0 b5 m
o Teamcenter Database Server Configuration & Tuning
! d; H- k8 B) I, b; mContact Information* _# R3 s  O' Y' @& u' z8 `
Larry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org
# I' s- Y% N* n5 m: rTeamcenter UA SIG:  http://www.plmworld.org/TC_UA
  {6 i2 ~5 I+ i# M! y( x: }8 s) @LinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa4 d- m. u  d+ T9 i  C9 ^
Alternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com& B5 R3 I. H% L- K
6 f2 k. D5 x0 [
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了