PLM之家PLMHome-工业软件与AI结合践行者

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

  [复制链接]

2018-2-24 11:18:50 11782 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 ! J) M+ p1 q. |0 Z0 H  F
http://www.plmworld.org/p/bl/et/blogid=43&blogaid=218
" [0 [) x2 W+ v4 y% h. ihttps://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf
  P) e0 e( B6 g4 a, v6 Y3 _. N8 H
! M8 w  ~  i$ w, @# {. ^" y; R2 WTeamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation! Y. [4 z6 Z  }/ K/ Q. j
1 h9 w+ r) h; s3 S* q
Larry Carpenter
4 v1 T7 l% ^6 O- [! L& wAt 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=05 W5 ?9 @' E* y9 r* [1 }
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:
8 H1 t$ y7 j- Q5 T9 d4 F% ~& lWhy Performance Matters
8 E+ n. B& U- Y% `3 J' ]8 A• Productivity – doing more work with less
  _' d4 f% w* i! e- Oo Improve end user productivity
0 Q9 I/ C; L% J: |: `o Improves administrator productivity
; N9 U# A; H1 ? fewer help desk calls responding to or fixing preventable problems
8 }- U" H7 M' a• Reliability2 @0 z: i! t- g+ [1 Z9 c, n- i# J/ P
o A well tuned Teamcenter environment also improves system stability and uptime.
4 d5 ^* Y. o2 Y! Fo Less opportunity for data corruption
1 T1 y1 h9 r7 [9 _5 @o Fewer operational errors/problems
; f% }: \9 b" X, m; m• Cost Savings
, m& X8 Q  y% |. l/ t! Mo Less waiting means less time wasted.
' h: z& d+ F9 TQuick Case Study: Company ‘S’
7 A" |/ C9 E0 E; B- a6 s- B! H8 O! ZPerformance 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.
- d/ t* [# k# f# o# M2 o& TSee my March 2012 article on PLM World’s website for details:
) B5 x0 ?+ K- `$ ~Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152. }" E: B1 b/ {" T2 K
Common Performance Bottleneck Causes
7 `+ x! g0 m1 e# rUsing OOTB settings — OOTB settings are intended for development environments; not production environments.3 W" i! I# r+ H7 m0 H5 y0 ^1 ?. Y4 _
Overloaded servers — Putting too much on a single server.5 @. I0 q5 K5 q& ?( m: D
Operating system settings — Network settings most common (e.g. TCP parameters).
: a: f6 Y: _2 N$ n8 `7 b) B( a2 {Lack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.: ?) Y# ~) k) n# q* n, V$ J
Databases – The Most Likely Culprit+ J- U( E# y$ u0 ?7 D  |/ I( T
• Database performance is highly sensitive to hardware, software, and DB configuration.
  q4 j# S( r; g5 r) Q• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.: _2 V8 K% W- y
• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.( q0 H+ j6 ]$ M) x9 T
Mitigating Database Server Bottlenecks. ^* ~' c2 l& N) z2 T
• Must use dedicated DB server0 T! `4 c4 ]" A: t2 E' E
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.3 }! |: Z! q, v1 i+ |
• Must have fast dedicated storage for DB files; U3 k- h  w% b0 U' U
o Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.
5 g& z; E4 L$ Z2 d5 f, `. x. To Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.1 A6 c& \1 Q# o  b* s6 R9 A& S
o Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.
$ c' M: W. x8 K0 R( ^' q" [o Use disk controllers with a battery/flash backed cache.
! ]; [$ M" f. p4 go Use multiple disk controllers if possible.3 R+ e% f  S( s) L! z+ V
• Cram the RAM( f- }- `8 M: n# B1 K
o Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.* ~' h5 ~7 \5 Q0 v3 |
• Use 64-bit OS & DB software; \1 v7 @% f% N/ @* t+ w
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.
* }; |* X- e3 z/ v* J' o; L9 |• Use a good quality network adapter(s)
% z' l# Q4 k3 A4 \# E" Q+ do Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.5 c$ j. A# b% G% a
• DB maintenance tasks
5 h" U4 W% u" M7 @2 K# g* E0 C, r. Yo Update statistics and rebuild indexes regularly.5 _" q% M4 U" F" ]
Common Teamcenter Server Bottleneck Causes; e* Q& {. k; e
• Overloaded Tc Servers, N" r) F+ P  D& Y+ X
• Poor Web Tier Configuration
# \6 R1 x1 u; t4 Q# I• Poor FMS Configuration& J5 j$ c+ e" @/ s
• Debugging Turned ON* e+ u8 E4 A" |
• Rich Client using OOTB settings
7 I  D" I3 u+ O- C) ^4 G6 H‘Unload’ Overloaded Teamcenter Servers. O7 g  U4 A9 F  E, u% o; D( h
• Put Dispatcher modules on separate computers away from other Tc Servers." Y! u4 q) R+ M5 Y
• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.
# i/ ?! S% K$ s, g# b• Use load balancing for Middle Tier & FMS:
, w- V% U. {3 [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.).
# T$ y# p. M: K1 o* x, h* d. y  oo Set up multiple FSC cache servers to take load off busy volume servers/storage.
7 T1 @9 L2 _) z$ n" j( OWeb Tier Configuration
1 O% k; T6 L" h/ K  z  v( x2 a* e• Do not use port 80 or 80805 c$ H' t6 h# R, x
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.
# O. s8 ?% n" N) V% r! T• Enable http compression if not using WAN acceleration+ M9 Z' V' s  h5 p
o Must be done on both web server and on clients to take effect.
: [9 `8 ~8 ]3 t! V5 h, C/ ^• Change/tune OOTB settings for Web Server/App/ {; C: F  T( [# n
o E.g. timeout values, max # of threads, Java memory, etc.
4 V7 i2 ]( [' h) @0 B/ o- Jo Read tuning guides specific to your chosen web server/app
, }* o% n$ l& R" A• Scale it up or sideways
! V: \; k. q4 U8 E3 r( z0 M" Ko Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).* F% z3 b) Y. C
Common FMS Bottleneck Causes
) Z- ^2 V5 ?# U" ~. z' A9 z• Data improperly routed
9 Q& @7 B: W' R" Go 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.+ S" D7 S- W7 ^/ F- Q- D
• Using OOTB settings# e9 F$ [7 e$ G; F9 L; `: g! ~
o For development purposes only, remember?# `! h& K0 h- u+ Y  A/ V
• Missing client IP address subnets' b! V& p* N8 F
• No load balancing/ h4 q$ O9 C0 z# Y+ J
• Not using remote cache servers for WAN users
: }2 y  n! |3 a) B• Not using remote volume servers for WAN users
1 g6 ]% r, j! L4 H; u1 G: [FMS Configuration
% }* J* x& _) I1 \' |* {" X) ?• Ensure routing is correct
7 U/ q% q' r1 j, no Between multiple FSC groups via entry/exit/link parameters' k# j: R$ u; i; E
o Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.
) M1 s" m' A1 L- n0 c- r" ]& lo Use correct transport algorithms for LAN and WAN users.+ v5 ?" _1 b2 a. _  }) _5 D
• Tune FSC/FCC cache settings
9 t/ M, X. F! p( {) f+ Bo Simply picking a total read/write cache size is not enough.
% v2 |* ~# x1 D$ C/ eo 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
- f; t3 P2 c! y. a; R& R; y• Ensure correct client maps
: P! m. O; Z4 {8 r9 b' _o Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.
7 U& A/ D9 K6 @5 ^7 J! So Place client maps in the closest FSC group to their location.$ B: j0 p7 K7 `: }  P5 T* G
• Use multiple FSCs for load balancing
" l! }* w( r* M$ No Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)4 s* g4 R0 S% b! P+ T$ r
o Use redundant FSC cache servers to load balance each other. Also provides fail-over.# `# @' g$ K4 T: g$ Z9 \$ B  t7 f
• Place FSC cache servers close to users
5 _& i8 C+ _: Oo Greatly improves read performance (load time) over a WAN for groups consuming shared data.
- N- M/ `' ?% ~% I7 l• Place Volume servers close to users# W6 ~* S+ [3 E( l1 ]. p! ~5 u6 U
o Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)& n9 j) E; V+ t) `- B6 g  @
o Greatly improve write performance (save time) over a WAN especially for CAD data.
) K6 ?6 D+ ~; P* {* ~9 i• Prepopulate FSC caches% h, o) M5 Y2 p! N
o Run a nightly script to prepopulate shared data across FSC caches.# G4 q) O7 t( q" l/ J
Misc Teamcenter Changes- f2 `; O7 q4 [, d! q0 Q2 ?( d4 x* J9 W0 y
• Disable logging and other debugging tools.  Turn them on only when needed. Examples,
4 F' Q; L0 f; N! d. X4 H5 bo TC_SECURITY_LOGGING=OFF6 g* e! I* ~* N& ]3 F
o TC_APPLICATION_LOGGING=OFF
- o. b( e5 B( n0 R# N. do TC_SLOW_SQL=-1
9 d6 x# O+ R( U6 Q* f• Rich Client ‘Teamcenter.ini’ configuration:) `) I3 @/ U: Y/ V+ C+ n; d
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).- d" n. O% \( i; v- I# ~6 `* O
• Enable FCC File Warming
* W  f! {6 s' e$ E) J- do Improve startup time by having FCC and Tc files pre-loaded at OS login.# N, I9 F+ n7 _, l% Y
Network Performance* r7 C, [9 v6 h
• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.
, {+ T* O; @! q5 o, co If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)2 o  Y5 O: E8 d
• Optimize OS network settings; L! D9 [1 f2 G+ ?, A
o OOTB settings are insufficient
7 D# x# L4 i- R; X5 @o Applies to both servers and clients
: u, T( h$ L/ Z' Oo Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling
+ w- p" v5 {0 E$ B) Y8 O3 P) JRecommended Server Changes (Windows)
8 W% V- X6 E9 @See Presentation.6 x! v! `6 X8 E4 ]5 j" j: d
Recommended Client Changes (Windows)
2 U" v) P% p% _; P- hSee Presentation.( a$ ?% Z! d- F: }; e
Performance Monitoring Tools4 s. j+ ?! f8 T
• Some useful performance monitoring tools:
8 e# N& ?. H. L7 [" T• Performance Monitor (comes with Windows)
- _/ ?- K0 i0 C; ^( a• Used to monitor OS, Teamcenter, and SQL use of resources) l4 O/ m" i2 v! c/ t' r7 N+ S
• Wireshark (freeware network packet sniffer)4 ~, L8 S0 E5 O- M& H  \% g* p: U
• Used to help identify network TCP performance between computers.
/ f& T. F) d# v& e• Available at http://www.wireshark.org/' [4 e$ x% e- {" u- s
• Sysinternals Suite (free from Microsoft web site)& E: ~* {" m# W4 T% Y
http://technet.microsoft.com/en-us/sysinternals/bb842062( A$ e; z8 i# _: B
Reference Materials
8 N, N; p5 K- R' x0 X8 L8 }• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/8 a0 G2 {9 e1 q9 ?& ~3 ^
o Teamcenter Deployment Guide5 V4 W9 E7 o1 m  }/ u
o Teamcenter Network Performance Tuning
( J% z* n. ~* d) z: f0 Uo JBoss 4.2.2 Installation & Tuning Guide" w1 P/ z+ p" Z: S
o Optimizing Teamcenter Client Performance
! U+ v  z/ e" O  P1 F5 eo Teamcenter System Performance Analysis+ P& e$ @+ ~7 A( E* t8 O. J0 y* s
• Oracle documentation & web sites
) P: e/ r3 o0 _/ s6 F# `• MS SQL Server documentation in addition to:
" ~/ P# \  ^* N* h& f/ io Best Practices for Running Siemens Teamcenter on SQL Server
! {: N5 R6 e; whttp://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf9 Q, f/ S4 t+ M3 _
o Siemens Blog on Technet. B; v  e8 I( Z9 G4 x$ \' N6 G
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/6 |) V' ]0 @5 h6 \
o Siemens-Teamcenter-SQL-Resource-Page
' R1 ]/ B) _2 I' ~9 Dhttp://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx/ d6 U6 I  Z0 F7 c5 x" S1 m, ^/ ^
• Past PLM World Conference Presentations available at www.plmworld.org,0 n& M# A: s) m
o Teamcenter 4-Tier Deployment – Best Practices9 ]# _4 P0 x6 o0 A9 p. ~9 A
o Teamcenter – Database Performance
1 Z! t  m# G' \& P: vo JBoss Optimization for Teamcenter
5 {& F6 a* _+ t5 g/ f6 no Optimizing Teamcenter Client Performance0 k! }% `  P0 C, y0 z, |8 |
o Teamcenter Database Server Configuration & Tuning
" y6 C' v0 G" z5 Y6 v; |- xContact Information% X, z; S) `$ T4 X; Z& R
Larry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org1 O2 ^$ d3 O2 D  Z9 r/ A
Teamcenter UA SIG:  http://www.plmworld.org/TC_UA
* E8 V! P$ f5 C. WLinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa
9 b; N1 O' X. i! U( gAlternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com( H$ g" T% d# @

& _5 i5 s' V9 E* N
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了