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

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

  [复制链接]

2018-2-24 11:18:50 11741 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
8 z8 F4 ^  M" R- p9 Ehttp://www.plmworld.org/p/bl/et/blogid=43&blogaid=218
( c  \% `1 I# rhttps://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf7 N0 O0 _; G/ J2 K. k( o
; @3 x" v7 j* |8 d# O
Teamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation
- @! k5 R* ]+ j6 w; t2 k) s2 x" e . g: A5 A& H& g% |, `  |6 ?8 g
Larry Carpenter) m" L7 E9 N; q; R$ ?4 u
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: T& G# |1 u4 X! o% f7 i
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:& T( G3 `1 Z0 ]
Why Performance Matters- R: i* y4 O* k! h% P" M
• Productivity – doing more work with less
( M1 w, s  t# I8 ^0 Ho Improve end user productivity
! i6 }+ @& T6 oo Improves administrator productivity1 M% x2 Z1 v! h3 @( Q4 n1 v
 fewer help desk calls responding to or fixing preventable problems6 `% \. J6 {7 s- w  c. P; V
• Reliability2 P  W" s2 E# Y( d: O6 V2 g3 T( {
o A well tuned Teamcenter environment also improves system stability and uptime.
$ s8 R. i4 j$ C& I# Z3 s7 |, k; g  Zo Less opportunity for data corruption
+ E8 x( C1 i3 V, G6 x5 j0 }o Fewer operational errors/problems
8 C; y% A5 _. T* Z3 N- A+ a• Cost Savings
/ c$ u# K) D# ]  m6 f. T0 h) to Less waiting means less time wasted.
. g/ v0 e. }7 O4 C' @( G! mQuick Case Study: Company ‘S’
- ], E+ o( \0 T+ D0 Y: ]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.
8 S6 \9 w$ L4 r' ?4 HSee my March 2012 article on PLM World’s website for details:' `, b. q. `( H% B
Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152
' ^8 |% N! e5 \# b$ g5 g* z5 xCommon Performance Bottleneck Causes3 M# \6 t/ J7 F: \0 A3 l
Using OOTB settings — OOTB settings are intended for development environments; not production environments.3 U4 j/ a; E; F2 g, F
Overloaded servers — Putting too much on a single server.
( u' Z: Q8 k) M! s9 G, R1 xOperating system settings — Network settings most common (e.g. TCP parameters).
' ^$ `0 A4 U& {' M* pLack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.6 d) G. N( T% L+ I7 f
Databases – The Most Likely Culprit- }- A) ?% r5 g4 B) y
• Database performance is highly sensitive to hardware, software, and DB configuration.2 c: T4 v3 x3 T9 D2 F' e
• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.
# |* m. a3 [4 p% j/ A$ c' p6 g• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first./ K/ M, a. F- L$ u% P
Mitigating Database Server Bottlenecks) U4 C$ Q: m* W6 R" k$ ~
• Must use dedicated DB server/ s6 B2 S9 N+ V; `% S
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.
- N, X5 P6 w. b% w  U0 d• Must have fast dedicated storage for DB files
5 B9 `- F: `! ]) i% A* X) Wo Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.' Q: u. }5 ^1 o; P8 M
o Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.* _6 c  O& j2 D
o Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.. f: H, u% j+ J' Q
o Use disk controllers with a battery/flash backed cache.4 u% U5 d* o" D6 J
o Use multiple disk controllers if possible.
# Y7 k$ m% m1 i7 \2 S4 z5 I) x• Cram the RAM
+ l) g0 u, n( x( O# D% ]o Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.+ F) f* P$ A) G1 t- _: \: D5 R
• Use 64-bit OS & DB software3 F: Y* t& O% K  Q9 V' o
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.5 y4 T# p& E+ Z! Q, A9 v
• Use a good quality network adapter(s)
, s1 G" z$ m6 S0 u% vo Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.- I$ |; V# m' V
• DB maintenance tasks5 Q5 q6 ~; Y# q* P( C8 s
o Update statistics and rebuild indexes regularly.
) [# V% O& a! Y6 j& H% R( ?+ t" B4 V( dCommon Teamcenter Server Bottleneck Causes
  l1 K! d: x1 V3 M• Overloaded Tc Servers0 f# o/ E8 V9 c- E5 O. F# Y# y
• Poor Web Tier Configuration6 Z+ L+ n* f* t' Y2 ]5 X4 M
• Poor FMS Configuration5 Q1 v' K: {3 ]5 W$ P/ W! a
• Debugging Turned ON
3 k6 H( \2 s/ N/ \: ]0 h• Rich Client using OOTB settings
$ q+ b$ t" P( A‘Unload’ Overloaded Teamcenter Servers) j# J( N2 I& i( n
• Put Dispatcher modules on separate computers away from other Tc Servers." P. \9 B2 K1 g& G
• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.
) a7 A0 x2 C- k3 b7 L• Use load balancing for Middle Tier & FMS:. [# q" F8 }, ?* E- e
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.).' H/ p* Q. r. f" z
o Set up multiple FSC cache servers to take load off busy volume servers/storage.9 o# I. [* k+ N: S* Z  g
Web Tier Configuration
4 @9 V4 n( ?: F6 H2 P• Do not use port 80 or 80809 {; ]$ J' }( Z* S* p
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.  k* X. `4 D& y5 t3 `7 W6 ?
• Enable http compression if not using WAN acceleration# X4 ~2 N' g& r6 S
o Must be done on both web server and on clients to take effect.3 q' s) a* H: @9 W2 O
• Change/tune OOTB settings for Web Server/App
* F; C- e( ^' q% o+ F0 [o E.g. timeout values, max # of threads, Java memory, etc.
7 t5 _5 e4 z( W* @( ~o Read tuning guides specific to your chosen web server/app* J9 I* I" ]- D
• Scale it up or sideways
# ^9 `; _( g) T5 L. |$ ^0 I$ J4 |o Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).
1 B4 R$ b6 f7 {4 _" eCommon FMS Bottleneck Causes5 B& R- h0 n+ r7 B" R8 @/ E# U
• Data improperly routed
( \( M. R, F- e$ ~+ X4 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.
/ P, Q2 F' }5 ~8 J2 }* O. @) D• Using OOTB settings
) Y! G+ s( z6 T9 [o For development purposes only, remember?
2 w9 y$ B1 U! O. a' S" c$ z+ `• Missing client IP address subnets
: R! U7 i% S: {4 s7 }• No load balancing
4 G4 i+ I+ x* v1 \9 S, ~• Not using remote cache servers for WAN users, C1 t, c, R) P4 N( r4 d# I2 P6 t
• Not using remote volume servers for WAN users5 x, [+ P, [' z& `( H
FMS Configuration& q9 d! ~  f; _! n+ d9 Z+ \8 K) D
• Ensure routing is correct3 K. C# w7 L: j$ |0 q& }
o Between multiple FSC groups via entry/exit/link parameters' l" B" x6 }1 ?# X
o Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.
2 W# H: @- U+ x" Lo Use correct transport algorithms for LAN and WAN users.
8 h! r6 Z# ~6 S: I3 i' d9 A• Tune FSC/FCC cache settings" k* C8 H: o+ Z- ^3 C# `
o Simply picking a total read/write cache size is not enough.
( h2 ]. a* w0 Ro 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
+ U+ l+ |. N: ?8 T• Ensure correct client maps
. W8 ^  u4 u  po Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.0 S: o: F9 S  {
o Place client maps in the closest FSC group to their location.
- S" i$ _/ _. T' u. I* b7 Z• Use multiple FSCs for load balancing" K& }# P) w7 K% l* v3 ?
o Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)8 s" z% h  k4 c) Y: D9 Q* h
o Use redundant FSC cache servers to load balance each other. Also provides fail-over.
9 T% ~3 v/ c4 N7 B• Place FSC cache servers close to users
9 M! g+ _) B8 E! L1 D9 Vo Greatly improves read performance (load time) over a WAN for groups consuming shared data.3 z5 O6 }/ o& r3 n
• Place Volume servers close to users' x* Z7 L; o, _5 J. H( O
o Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)
$ ^6 m5 x  Y& _  {$ j$ \8 m6 H+ H0 ]" {o Greatly improve write performance (save time) over a WAN especially for CAD data.# D8 A6 w  d& i# I+ |7 p
• Prepopulate FSC caches! v% m4 P7 K; e0 y
o Run a nightly script to prepopulate shared data across FSC caches.
! u, b1 a$ e+ H4 ~Misc Teamcenter Changes
$ w& b" j! {% j+ }3 v: e- l• Disable logging and other debugging tools.  Turn them on only when needed. Examples,5 B5 d  P3 x; ~( O% w9 U' z4 k# `
o TC_SECURITY_LOGGING=OFF
6 |* ~) m- F! m/ n1 ?5 p; t8 ]o TC_APPLICATION_LOGGING=OFF9 {9 Z) F  f6 }: h' c$ a3 j. h: ~
o TC_SLOW_SQL=-1
$ y. T4 {7 G5 y: b7 g+ \• Rich Client ‘Teamcenter.ini’ configuration:
9 C; `" A9 P4 N! n. M! oo Modify Teamcenter.ini file to increase Java Memory and other settings. Will improve performance/stability when perform large operations (CAD, PSE expansion, large Workflows).
) D1 J  k. v( d: T• Enable FCC File Warming! {+ v. I6 d# v( I* r
o Improve startup time by having FCC and Tc files pre-loaded at OS login.
, T# j$ ]% E0 d0 t6 PNetwork Performance- k; _/ [) D* A; ^! E
• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.
, m9 u. q; K% y# n* ho If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression); Z( P& B8 W5 H; _. a
• Optimize OS network settings
( M, p4 F9 d. D+ Ro OOTB settings are insufficient
- \  K7 g! X5 ~3 q4 |o Applies to both servers and clients
" f5 q  w0 D! Lo Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling; O- K) [( S9 t4 W+ J0 T- d- b
Recommended Server Changes (Windows)" A8 P% H% U9 G5 [$ v! [
See Presentation.+ t5 b9 A* c9 A! F5 l4 \+ V1 ~0 o
Recommended Client Changes (Windows)1 C$ c) o- T4 X; c
See Presentation.0 s% a5 L) V2 t- i
Performance Monitoring Tools% b. n0 q& I/ F: C4 t
• Some useful performance monitoring tools:
* E+ @0 Z2 F  m$ }• Performance Monitor (comes with Windows)2 Z$ I3 R! F: V8 n+ h! @
• Used to monitor OS, Teamcenter, and SQL use of resources
0 F1 n! y3 F- I+ K6 k• Wireshark (freeware network packet sniffer)
$ O8 m: C1 f7 a+ E7 ]* v• Used to help identify network TCP performance between computers.
: t/ Z+ h" p/ t' b" F7 s. k1 R• Available at http://www.wireshark.org/
& a! j% P( L4 ^- Q0 Q• Sysinternals Suite (free from Microsoft web site)5 X1 t7 x& j" }! D; n3 C, I
http://technet.microsoft.com/en-us/sysinternals/bb842062
7 M& H$ N$ }: U1 _5 N9 bReference Materials  J- u9 X# I. c$ z# g5 |
• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/
/ R4 X) U: D* p# T; u+ |o Teamcenter Deployment Guide
3 g( P5 J1 q% x; Yo Teamcenter Network Performance Tuning
/ j0 m7 y. X: B$ p/ n- ao JBoss 4.2.2 Installation & Tuning Guide% m* N6 l' ?: e- m5 f
o Optimizing Teamcenter Client Performance% V; h  Y9 X4 H  w( l0 x
o Teamcenter System Performance Analysis. `, F. P) }: I3 p+ F  p
• Oracle documentation & web sites
" ]" x- u; @4 f* n  F1 Y! K' M/ y• MS SQL Server documentation in addition to:
+ D4 {- t% s* H9 V" L$ c9 X3 M6 I: C. |o Best Practices for Running Siemens Teamcenter on SQL Server
( l! j$ _. M$ P9 F5 V* C2 ehttp://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf
1 I. i$ k9 |2 }# k9 {$ Bo Siemens Blog on Technet3 w7 e3 j( X8 e; b9 ?
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens// `% \5 l. A( M) _* W$ O) `+ g8 g
o Siemens-Teamcenter-SQL-Resource-Page% R& U; l8 [. u: v1 ?4 K
http://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx3 V7 b  ^' }  q' {0 `+ y/ g' Y, T
• Past PLM World Conference Presentations available at www.plmworld.org,
! X% Y  B0 [. ~0 f) Q+ e! e# s' ~o Teamcenter 4-Tier Deployment – Best Practices
; V" k$ F% @" h+ K, N2 fo Teamcenter – Database Performance3 l1 {0 `% q5 ^  u
o JBoss Optimization for Teamcenter% M) B  A1 o: j$ o4 M9 l
o Optimizing Teamcenter Client Performance
# T" T5 U2 r! T8 L+ _o Teamcenter Database Server Configuration & Tuning4 s* w2 ?( C0 y" h: I
Contact Information
2 i8 B$ Y; z' GLarry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org
6 L! h' J  ]# q9 V7 d3 ]Teamcenter UA SIG:  http://www.plmworld.org/TC_UA! I" b  U8 f, ?3 g4 x1 m
LinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa
9 M' T: H: o( L3 oAlternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com
+ l0 K" h5 E4 E+ h9 c: w
6 G; }* X& E# Y" O
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了