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

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

  [复制链接]

2018-2-24 11:18:50 11669 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 / P" S) K6 o5 J) ~; o
http://www.plmworld.org/p/bl/et/blogid=43&blogaid=218
0 e' ?7 ?; E- [0 mhttps://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf
/ @" h$ G. ]# A" @8 |6 Y4 \0 n2 I; n+ B- {1 B
Teamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation( i: B. v8 a7 C6 B5 K) x* B

: ]+ N) W& b6 N4 w, ~# XLarry Carpenter  m+ E, f! T6 X+ v0 p1 g- {4 l
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, `3 b- J- _% _; }
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:
) B4 l/ v& s5 d1 E0 ]$ O, l) p3 [Why Performance Matters! A$ C/ O& E! ~6 O& l
• Productivity – doing more work with less
0 Y, }8 N' l& t: M% Fo Improve end user productivity
# N8 S% k4 N+ Y$ P3 o8 Po Improves administrator productivity2 S! i5 U. j/ u: t" O% l/ M
 fewer help desk calls responding to or fixing preventable problems2 C. A% k' ^% c3 f( B" f* D6 _
• Reliability
( D) f' c5 W" W5 S, l/ t( Zo A well tuned Teamcenter environment also improves system stability and uptime.& h' y8 G  p1 N7 f' d0 G0 b
o Less opportunity for data corruption8 ?: P  ]2 h' D# x
o Fewer operational errors/problems' W% r; ?7 Q5 Y% L
• Cost Savings
6 j! y' o) w9 ^) n& A: So Less waiting means less time wasted.
1 x" g' [5 C! CQuick Case Study: Company ‘S’
3 v) q) D0 I. T5 t% j8 g. f0 XPerformance 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.% s" ]* d; `! E: T$ ]! h
See my March 2012 article on PLM World’s website for details:) J( L/ {5 J0 C7 X5 P) [
Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152
, v8 c7 F* w$ G( CCommon Performance Bottleneck Causes% \8 @. ?  T; N
Using OOTB settings — OOTB settings are intended for development environments; not production environments.
* `# r; P- C1 j) @; b0 {5 F: [Overloaded servers — Putting too much on a single server.3 A1 b( d5 j* \* k* O
Operating system settings — Network settings most common (e.g. TCP parameters).
4 y, I1 G0 P$ z; i% YLack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.
" Q/ u5 {1 E2 k) B+ S2 d' d9 `Databases – The Most Likely Culprit
8 c# A. \; Y! ~" i0 I• Database performance is highly sensitive to hardware, software, and DB configuration.* D; w& T0 z4 Y2 Q
• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.
" m3 ]+ I) h+ Y4 x& v5 p3 w- ~• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.
' @+ Y: M2 w0 f: l0 m7 rMitigating Database Server Bottlenecks% `- l  n. L* d! ]
• Must use dedicated DB server
/ I* b" S; q' i2 b: F4 ~% m6 uo Do not use your DB server for anything other than your Teamcenter production database. This includes not serving additional databases from the same server.' k7 q. s; z) k/ C0 N
• Must have fast dedicated storage for DB files
7 x% T& K: N& `( I% C$ \- uo Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.# R3 S" X. h- ~6 {
o Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.0 X: x0 [6 D1 G. M2 S; R0 `% e
o Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations./ C' r0 w: ~; g6 ^, j- o9 I
o Use disk controllers with a battery/flash backed cache.
" H6 N- o& y* }. \1 w  W2 _- ]o Use multiple disk controllers if possible.2 b& [% ~( {8 N* Q. W, C& E( Q- C
• Cram the RAM
+ F8 L2 `) _) H, L$ K7 U: @o Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.
  q/ {2 Z6 K* i. j" ~" I) |# l• Use 64-bit OS & DB software1 l) Q( I+ {* x2 q7 d' z
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.8 T" B' L8 x9 s1 u# A4 K# @
• Use a good quality network adapter(s)
, m9 U# c% t3 p) Po Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.
4 U9 B* L% U; V& a& ]9 y0 q• DB maintenance tasks
3 }( x4 V- b% ao Update statistics and rebuild indexes regularly.
* v2 x- ~7 M4 r" iCommon Teamcenter Server Bottleneck Causes
- Q, b4 V; _5 S) R! F8 K• Overloaded Tc Servers5 m7 T7 o+ r# H% I% Y
• Poor Web Tier Configuration
$ O+ _0 d( p4 a$ S$ m( E• Poor FMS Configuration$ g0 J8 p1 L7 u8 b, ?; n8 L
• Debugging Turned ON; t1 W. C1 b( R, t
• Rich Client using OOTB settings1 A4 w# N# j! i" f" ?3 A/ `
‘Unload’ Overloaded Teamcenter Servers
7 O6 N, d$ r' l* S" Z- f3 @• Put Dispatcher modules on separate computers away from other Tc Servers.
- V' \' s* V. h: n• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.4 l6 L9 z; Z; a) d
• Use load balancing for Middle Tier & FMS:
6 ~# i1 K. x( f+ b) C8 v: X2 c  ro 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.).
+ q& Y; I1 r$ i1 ro Set up multiple FSC cache servers to take load off busy volume servers/storage.
1 p0 X. F- m6 x! a% D  K7 ]Web Tier Configuration
* Q8 W! ~: Y( L6 }# G• Do not use port 80 or 8080
' b+ I  f/ W  J9 ~! Lo 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.3 p# l7 F" O% M' b) _$ |
• Enable http compression if not using WAN acceleration
* G9 f& {5 X9 [. {6 r9 }  z6 |' go Must be done on both web server and on clients to take effect.
5 y, v6 P$ {! L$ ?! S" u• Change/tune OOTB settings for Web Server/App
+ ^: R/ c; R  Ro E.g. timeout values, max # of threads, Java memory, etc.& m, \" {3 G6 F0 q* ^8 j
o Read tuning guides specific to your chosen web server/app
' k4 I3 h2 ^" }' A" Z! I' Y• Scale it up or sideways
4 z1 m+ i+ ]+ Bo Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).$ x" l2 A3 Y7 z8 A+ [; a
Common FMS Bottleneck Causes
, s) V8 s9 C% Y- y5 ?1 b• Data improperly routed. Z) r5 M( _; e+ K  F
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.
  q1 w& |7 q+ `' P1 i: @. M• Using OOTB settings' M, e5 v- g5 s3 F
o For development purposes only, remember?* Z6 |+ w" `: m. Z- {7 ?) {
• Missing client IP address subnets4 n4 @2 l/ @* K6 I
• No load balancing
1 W' S+ d; Y8 }• Not using remote cache servers for WAN users
9 m+ J  O$ R: A: K3 p: v4 S# p• Not using remote volume servers for WAN users: \* b  ^* E2 ^. Q" p# m6 N0 P* J
FMS Configuration( b: q$ f  ]0 e) W9 H. }
• Ensure routing is correct
( N6 F: q' |+ e& }o Between multiple FSC groups via entry/exit/link parameters2 y3 {/ K! `. p- y6 g
o Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.6 x8 ~/ k' I# }& m4 J
o Use correct transport algorithms for LAN and WAN users.6 M4 ~3 s" a. ^- a& a
• Tune FSC/FCC cache settings
. m9 F& G9 ]" u! x9 a8 So Simply picking a total read/write cache size is not enough.7 a  e$ l3 Z9 _. S$ E0 n4 ~
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* l; `6 K2 X$ @. Z# w) N+ C# n3 r; [
• Ensure correct client maps6 L8 }# p% F4 e+ ?6 o! f( w3 w
o Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.& o, l6 p6 X4 G
o Place client maps in the closest FSC group to their location.; {. v6 k# I! _2 h; @# P/ E! h
• Use multiple FSCs for load balancing( Y: U, T9 V0 Y  }; O
o Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)
. @7 t+ D( X1 ?5 V% G8 ro Use redundant FSC cache servers to load balance each other. Also provides fail-over.
- L7 w% o+ C6 b) Q• Place FSC cache servers close to users, i( r# ^) E$ x  O6 P5 a9 Q
o Greatly improves read performance (load time) over a WAN for groups consuming shared data.
$ a( d  }6 ?$ u1 z; b( `+ R• Place Volume servers close to users
8 @, z0 Q7 V3 J8 fo Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)
& N7 p* j, ?9 n" j: r; f5 wo Greatly improve write performance (save time) over a WAN especially for CAD data.
0 G! N8 \" T" \  k: P• Prepopulate FSC caches7 p6 S. L0 D, `
o Run a nightly script to prepopulate shared data across FSC caches.1 j7 s8 h7 s8 s4 E' f+ m, W
Misc Teamcenter Changes3 p7 y' L6 H9 S1 @7 `7 r: N, y
• Disable logging and other debugging tools.  Turn them on only when needed. Examples,0 O6 d, X. e6 h& N
o TC_SECURITY_LOGGING=OFF3 R" v6 Q& [, n" _; J. r: Z; [6 D
o TC_APPLICATION_LOGGING=OFF! j% B% o' z. b5 N
o TC_SLOW_SQL=-1( ^" _. U% Q) j9 }4 O# Z5 N9 Z
• Rich Client ‘Teamcenter.ini’ configuration:
5 x0 ~  ?' w0 l8 |& z. b. o! Y  y% lo Modify Teamcenter.ini file to increase Java Memory and other settings. Will improve performance/stability when perform large operations (CAD, PSE expansion, large Workflows).
( q2 w1 u5 n# \( \6 h• Enable FCC File Warming
8 h# _* Q- [+ ^' _# d* U. ~2 }o Improve startup time by having FCC and Tc files pre-loaded at OS login.
; O6 \( r2 H2 Z2 s* f  UNetwork Performance$ U$ D% x& t; g5 J/ `' y! z
• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.
  M; W2 |/ E) e  q; j* wo If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)! \0 a! {0 q! I' E* \
• Optimize OS network settings+ y" w6 C2 Z8 h! T, P& \( B/ x$ k
o OOTB settings are insufficient
/ ?5 V2 Z' o( I" r& Y1 E7 lo Applies to both servers and clients
( Y- p: y% w5 c! L% Qo Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling
$ y8 V* O# p6 b* {+ I$ ~4 rRecommended Server Changes (Windows)* ~* m0 }0 M9 F2 Q7 Q
See Presentation.+ E& s5 R; w% G$ z3 X
Recommended Client Changes (Windows)
; R1 |! j: k2 n/ W: a5 E; rSee Presentation.
- i9 f8 I& M* T8 u- Z$ k& w. qPerformance Monitoring Tools+ Y3 w2 H! |; d$ J8 S, o( ]9 q
• Some useful performance monitoring tools:
) [7 X) ^% s( x3 O1 g• Performance Monitor (comes with Windows)
2 n+ L+ i' C8 }1 _• Used to monitor OS, Teamcenter, and SQL use of resources3 v; Q1 I' x. M, O$ @4 D0 C: n
• Wireshark (freeware network packet sniffer)
9 Y4 _. c( ]3 p/ c+ T• Used to help identify network TCP performance between computers., \  Y9 t$ \: A
• Available at http://www.wireshark.org/0 @' J; o% ?4 d, p
• Sysinternals Suite (free from Microsoft web site)
& h0 |& T8 e/ |5 G; J( G" Ohttp://technet.microsoft.com/en-us/sysinternals/bb842062+ V  |( |$ ^4 G! R3 i* v& {
Reference Materials2 u, s" ^! ~+ ?/ O0 r* x
• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/) r7 }& j5 @6 i: q
o Teamcenter Deployment Guide% D; O& y! f3 x" p
o Teamcenter Network Performance Tuning  b: y5 e/ h8 f2 ^0 k+ }1 f
o JBoss 4.2.2 Installation & Tuning Guide
+ o3 i  ~& O6 Q1 Xo Optimizing Teamcenter Client Performance. a8 j9 p: Z3 H$ [8 `$ y
o Teamcenter System Performance Analysis, d6 J2 |3 H+ e
• Oracle documentation & web sites
7 q+ A- Y( e0 q( P5 ~8 b+ V, E• MS SQL Server documentation in addition to:7 W$ h7 ?- A- L. V' \- X* n" s
o Best Practices for Running Siemens Teamcenter on SQL Server1 s$ j2 \, d6 y' C1 H1 T* ^
http://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf
: D$ K5 O0 F  P9 c. to Siemens Blog on Technet  `' z$ g8 P8 A& `' P0 {$ [$ l+ s# `
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/7 C# u( }! ^9 m+ b# G% {  O
o Siemens-Teamcenter-SQL-Resource-Page
- _1 l- \: c3 Q- c7 f% X8 Lhttp://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx" a% F% M0 ^+ |) ]% G2 ]
• Past PLM World Conference Presentations available at www.plmworld.org,& |" R" s  y$ Z" Q7 y  N
o Teamcenter 4-Tier Deployment – Best Practices
# T/ {/ x& d+ W% l* o' V: W: Wo Teamcenter – Database Performance
1 y! ]; J5 l$ \8 ^. Ao JBoss Optimization for Teamcenter
# i& q! w7 y) [o Optimizing Teamcenter Client Performance1 X" V# Z! w1 p! }# F7 O
o Teamcenter Database Server Configuration & Tuning2 ^! `( b  e) K1 ]. h3 Q' j
Contact Information9 G6 Y7 F1 j+ _8 A8 z, W0 ~  ^
Larry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org4 ^7 g+ j; A; @" b8 z) S
Teamcenter UA SIG:  http://www.plmworld.org/TC_UA! j0 B" T6 _+ v# w/ b
LinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa8 a* a# M' H3 K# ?9 d" x
Alternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com2 n3 s4 ^, z9 \8 U# I3 r% v

1 _7 J; S" K) h3 w+ V; S- K
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了