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

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

  [复制链接]

2018-2-24 11:18:50 11737 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
' q9 ]- P4 l# k( F; |/ L( B% Phttp://www.plmworld.org/p/bl/et/blogid=43&blogaid=218 & h: p9 l8 o+ X8 o
https://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf
6 b( g; T$ k- Z6 i" O, N* i& g2 b& N9 z5 w( R+ U% V
Teamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation* Z4 M! ], Q' G- E! {
0 k1 M* k9 Q" ^8 r9 u
Larry Carpenter. F$ i' \8 J+ k( r: Y
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=04 k5 p, U8 O2 N' m
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:$ _' r; C, F! D+ C
Why Performance Matters
+ x! z$ ]4 E# S  L• Productivity – doing more work with less
% D" k; H  P3 w( i/ a2 ^0 r: `o Improve end user productivity. J( E) p6 P9 J* b
o Improves administrator productivity: t1 X% o: t: z8 y/ Q) E1 K& `
 fewer help desk calls responding to or fixing preventable problems
+ F8 e" g- V# c0 m• Reliability( L# ], G! L1 W5 [* V' M
o A well tuned Teamcenter environment also improves system stability and uptime.! U6 e" U9 V" U% x
o Less opportunity for data corruption
1 R$ a: i0 W) f- t, S- ?o Fewer operational errors/problems' J8 h: q/ q$ {1 h  P. C0 I" |* a
• Cost Savings$ ^5 Y% T* ?  `6 h( V. c
o Less waiting means less time wasted.6 k* ]4 I! i& {' T' l) X
Quick Case Study: Company ‘S’
- k! Y# R0 {" A  \5 o' {2 f$ nPerformance 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.. r) R% D1 a% }, E; R9 K
See my March 2012 article on PLM World’s website for details:+ k$ I- I. k1 q. I& g3 I+ T2 H: _' d
Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=1526 K3 K9 U3 Q' F9 X3 N) x
Common Performance Bottleneck Causes
8 V5 T3 c3 U0 o/ r) R5 ~Using OOTB settings — OOTB settings are intended for development environments; not production environments.' C0 ^' L5 M# G$ w& h8 S2 v. p
Overloaded servers — Putting too much on a single server.
& I- w+ x* L* SOperating system settings — Network settings most common (e.g. TCP parameters).
8 l, f6 n2 ~# E: A4 BLack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.
/ V0 E2 C  o5 J- aDatabases – The Most Likely Culprit& w! `* r' `7 l+ i9 O6 V
• Database performance is highly sensitive to hardware, software, and DB configuration.
& H9 ]; {9 z6 x• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.
) e- g* H: q& A, ?' M/ `, X• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.9 [! U9 {6 v7 L3 l
Mitigating Database Server Bottlenecks6 U4 [1 S2 [) ^8 v7 t9 a$ @
• Must use dedicated DB server
# B: Y$ p+ R# g( zo Do not use your DB server for anything other than your Teamcenter production database. This includes not serving additional databases from the same server.
0 u* m/ b8 e: @# D9 t9 T( K• Must have fast dedicated storage for DB files( M& n( K0 ^7 S2 w, i. |) m( Q
o Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.3 U6 i2 r$ ?4 u( T8 R4 G( B) a0 s
o Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.
& S  P" q9 e& y. M! T& B4 wo Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.
1 R* h. l) `! l5 {; C- mo Use disk controllers with a battery/flash backed cache.
4 \. {$ {- f( Y) A8 `/ d" Lo Use multiple disk controllers if possible.# J9 R- O* V- {" O
• Cram the RAM
+ a. ]/ H  N5 h: X$ r0 Q* p& Oo Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.
$ o' F" Y+ k- V' g& o" S3 n! F, s• Use 64-bit OS & DB software. B0 i1 l5 @9 |2 e
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.2 V0 o- A, }0 r2 @7 s
• Use a good quality network adapter(s)# s4 r$ l( @( z% ^6 Q2 }% F2 \
o Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.. g8 W5 |1 d2 h# J
• DB maintenance tasks
( C8 e. O3 I1 O7 N# B  G5 L& Qo Update statistics and rebuild indexes regularly.
5 G+ @: J( M. BCommon Teamcenter Server Bottleneck Causes
! G6 t( j/ K. K/ x5 S• Overloaded Tc Servers- y, f: v! b4 L0 f
• Poor Web Tier Configuration. c+ j9 L& g% B
• Poor FMS Configuration
" P2 J) m0 r, M, Q3 W$ T• Debugging Turned ON, Q! `  i% W- `% Y8 j& j6 D
• Rich Client using OOTB settings5 o2 f  p0 I! e
‘Unload’ Overloaded Teamcenter Servers. ^$ i6 A* t3 }' ^1 [
• Put Dispatcher modules on separate computers away from other Tc Servers.# N3 f7 B# N: g
• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.
& H9 Z, X5 v& W9 {2 a: Y• Use load balancing for Middle Tier & FMS:
9 ?2 f% m  S, g) do 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.).
$ f: M2 g/ ?& K$ r; \7 {o Set up multiple FSC cache servers to take load off busy volume servers/storage." \4 l. Q* X$ x" K
Web Tier Configuration3 k  h% k# ?, d/ J7 ?0 x
• Do not use port 80 or 8080
& J7 v" J$ D% H5 @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.; q. V2 f! {  J8 Z3 I0 U0 H
• Enable http compression if not using WAN acceleration: o/ e% F  Q0 v! _8 O: F
o Must be done on both web server and on clients to take effect.- }% X3 z4 I6 a) [! m" F6 X% y# t
• Change/tune OOTB settings for Web Server/App7 E" r# I6 v( q9 W8 o5 R
o E.g. timeout values, max # of threads, Java memory, etc.8 |/ D. S& p, n$ g- V7 B# X- y
o Read tuning guides specific to your chosen web server/app, w* K" h* x: z1 ^; ^; Z+ t' S9 d4 l
• Scale it up or sideways- Q, x7 k, N6 v; |( T1 w# n
o Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).
. F! U% R4 Y3 k9 C' F  D3 _Common FMS Bottleneck Causes. m9 P( W- F+ S1 R5 `
• Data improperly routed
5 M/ _) p5 V4 ?) f4 k' h+ x9 oo 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 v# ]- e7 i% X: t# G7 `
• Using OOTB settings
+ _1 h! a2 N( |8 ?. y/ ko For development purposes only, remember?
3 |8 Z: C$ x; A6 @# b• Missing client IP address subnets
  C' s% x2 G% s& `- N& E• No load balancing# I9 c1 j0 ^; b. B7 s
• Not using remote cache servers for WAN users
/ I  E6 F0 O2 M& {+ i2 F* a• Not using remote volume servers for WAN users
5 A8 n0 b* M  v# q! s$ C9 oFMS Configuration; N  Z9 V/ H6 M4 v( p; n0 p
• Ensure routing is correct
* x: y! x* W  Q, \o Between multiple FSC groups via entry/exit/link parameters( k3 a  Z2 V- {' ?8 q( V8 \
o Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.
: J0 T& o4 X  Y) N, po Use correct transport algorithms for LAN and WAN users.
2 o5 O: K0 ]6 Y$ z" Q. t0 P• Tune FSC/FCC cache settings
2 p2 o. D% @) D2 E( ^3 F  Po Simply picking a total read/write cache size is not enough.
7 r! h- B! ]" r% x) y5 ]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 Calculator3 N  l" g- j1 ~8 x4 D
• Ensure correct client maps3 u  B4 s0 ^7 ^" _. H5 w; u6 B, }" [
o Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.
- u9 h/ S" Q' }2 h0 v! w' |8 |% ?! to Place client maps in the closest FSC group to their location.( T( d  c% B7 @+ e
• Use multiple FSCs for load balancing! W$ l* G8 T) f* s6 o- \
o Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing). l! t1 H! t! e/ D5 r
o Use redundant FSC cache servers to load balance each other. Also provides fail-over.
' O) |! R. p$ b# E% D" q* b* P$ G• Place FSC cache servers close to users# C4 [! G( h8 |: N( U) J
o Greatly improves read performance (load time) over a WAN for groups consuming shared data.  k5 A* b' k0 C, Z! t
• Place Volume servers close to users7 I% ]4 H' \; ?: ~; _# d2 O: W
o Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)
% o, \# C: {+ @! H8 v2 `/ k5 q3 }, Fo Greatly improve write performance (save time) over a WAN especially for CAD data.1 R1 |& H1 E. b& p( n6 d
• Prepopulate FSC caches
$ Y* {. F3 k; d6 s, Do Run a nightly script to prepopulate shared data across FSC caches." ~/ i) H! v. S* x( ?) C
Misc Teamcenter Changes% o- v/ j6 t! t/ x
• Disable logging and other debugging tools.  Turn them on only when needed. Examples,
4 I4 q% W8 M: i, P6 v, Eo TC_SECURITY_LOGGING=OFF
" {1 E7 `6 [  O' M* go TC_APPLICATION_LOGGING=OFF
/ ~9 r1 L, e9 k& _% oo TC_SLOW_SQL=-1
+ w! {5 ]& p( Y• Rich Client ‘Teamcenter.ini’ configuration:
8 N, U! V0 m8 Q8 J1 V$ N# E9 Vo Modify Teamcenter.ini file to increase Java Memory and other settings. Will improve performance/stability when perform large operations (CAD, PSE expansion, large Workflows).
  Z* l+ p- D' a$ ~+ h• Enable FCC File Warming
1 |! o6 _) V) X6 so Improve startup time by having FCC and Tc files pre-loaded at OS login.
- t# ]! E5 E+ M5 Y8 mNetwork Performance
+ H- C. g* I& p• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.
& R& k: N5 l& p6 F0 O; to If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)- N7 Q& X7 n7 g+ H
• Optimize OS network settings
# P, m$ W/ J8 y# x2 ^! w. mo OOTB settings are insufficient
0 e& J' r* O: ?5 B$ eo Applies to both servers and clients6 Q8 X5 l  y0 u/ {+ i7 O
o Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling
! u0 w9 m3 w3 z2 zRecommended Server Changes (Windows)
# B! u+ X5 Q9 k& B8 f% V  M" NSee Presentation.  d+ u) B4 @# W. v
Recommended Client Changes (Windows)
2 e) {- H* `2 e# z% C2 _$ C" uSee Presentation.
) L$ \) T7 k% T; FPerformance Monitoring Tools: z7 X, z) Y1 i4 F% U9 d# V
• Some useful performance monitoring tools:# t' n8 o- J5 r3 X+ H
• Performance Monitor (comes with Windows)
- ^1 e% ?0 _: N6 g7 ~• Used to monitor OS, Teamcenter, and SQL use of resources
$ n+ v5 t0 K* ?! L) W! l• Wireshark (freeware network packet sniffer)$ n1 g6 N1 J* U5 S/ ]
• Used to help identify network TCP performance between computers.9 b: K4 z% H, g
• Available at http://www.wireshark.org/1 a4 K- G/ y% V# y1 w
• Sysinternals Suite (free from Microsoft web site)- `4 f  k1 R; K
http://technet.microsoft.com/en-us/sysinternals/bb842062
  Z$ t4 F3 v% y, E$ ~* v  x$ }Reference Materials
) x* {' q3 z' k7 r• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/; U0 Q# J. v" A- H1 i7 H
o Teamcenter Deployment Guide5 R3 ]7 j: q" k7 w& W
o Teamcenter Network Performance Tuning
& b7 u+ C+ G: a2 b" d- q# f4 B6 E  Y, Zo JBoss 4.2.2 Installation & Tuning Guide& i2 Q6 u- [. ?9 k  z0 @  x- t( F4 e6 G% P
o Optimizing Teamcenter Client Performance9 }8 i: F! |+ e
o Teamcenter System Performance Analysis
$ a2 k$ u0 e4 O- T  x/ |# o• Oracle documentation & web sites
% H! n" B+ [1 m/ `• MS SQL Server documentation in addition to:1 \* a0 Z0 m+ @1 s0 ~, W) h  F# a
o Best Practices for Running Siemens Teamcenter on SQL Server6 ^2 E8 ?6 Q4 J. C* `' K
http://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf
9 F& i% m0 _& u4 b- Po Siemens Blog on Technet$ ~1 s& }- x: J$ q: d
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/2 T) t$ N& N3 N! [2 Y
o Siemens-Teamcenter-SQL-Resource-Page
* A0 F7 I( U" F9 A  q' N4 Ehttp://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx
1 z: R9 O5 A, F- a• Past PLM World Conference Presentations available at www.plmworld.org,
) p1 |+ l" d( k5 lo Teamcenter 4-Tier Deployment – Best Practices
' a4 @5 J  O3 b0 zo Teamcenter – Database Performance
5 G$ [; _/ V! D8 f2 j$ Y% W  mo JBoss Optimization for Teamcenter
5 i5 {8 s( ?7 l: Co Optimizing Teamcenter Client Performance5 @! G: w' `' u( ]: L; u% u
o Teamcenter Database Server Configuration & Tuning# L7 t, ~. m" k- O' J  S
Contact Information( |% {! ~  r, M3 I1 O3 ?5 Z1 O
Larry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org
; p, M9 D3 b2 hTeamcenter UA SIG:  http://www.plmworld.org/TC_UA7 x8 m' C1 L$ i+ u/ T) C
LinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa
& s2 W" [5 U, C9 p1 Y2 k% d$ aAlternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com- I' a- _; w6 J# f8 ~5 F+ [  t3 v
2 @7 z6 J. b+ V# ~
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了