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
7 W& t% o- f0 Z6 x6 Ohttp://www.plmworld.org/p/bl/et/blogid=43&blogaid=218
" l" I) u6 S5 M7 ~8 Bhttps://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf$ u. b8 J: E5 H$ `) _: f" l  K2 V
$ Y: U- M6 S# l; e2 g) L
Teamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation
9 R3 p- u4 H2 A
5 X' e! }. s+ I: jLarry Carpenter
. L" C$ Z  `" F% yAt 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
+ ^; C/ u2 t  ~0 [! @For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:0 {  r0 J# r+ {# R1 S( B
Why Performance Matters
3 Q9 [1 n* @( x" a7 D5 E• Productivity – doing more work with less
7 ]# i# Q  X6 P! x8 q8 E: Zo Improve end user productivity
' o& Y( D6 |! G! [* j! F2 ^o Improves administrator productivity0 }, J+ ]9 h( ?! M/ }8 Q5 ~
 fewer help desk calls responding to or fixing preventable problems
1 F$ F% }. e+ j, [+ ~• Reliability
! Z7 I  n( [0 M* `o A well tuned Teamcenter environment also improves system stability and uptime.( ?9 V% E* K* q- ^
o Less opportunity for data corruption; C5 Y" i, r1 _
o Fewer operational errors/problems
" C! B$ r! M# h9 e# i$ a) ~# Y• Cost Savings! @4 F/ I' S6 G# S
o Less waiting means less time wasted.
( ~0 n: Z7 f# G! i7 H$ L* ]# ~7 d: UQuick Case Study: Company ‘S’
+ ^5 C( c/ f6 T9 gPerformance 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.
. v( B% F/ Z( C3 u. h. J+ Q1 `See my March 2012 article on PLM World’s website for details:! A/ L7 C$ s' x1 M
Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152, J$ }+ `$ @% A/ U. |1 g* d" B
Common Performance Bottleneck Causes3 v7 Q' \$ n: z4 T" r* l2 [" D& c
Using OOTB settings — OOTB settings are intended for development environments; not production environments.! Y' @; v" A/ ], r5 U+ @2 E. A
Overloaded servers — Putting too much on a single server.
: L9 r3 ~7 U# h# {$ JOperating system settings — Network settings most common (e.g. TCP parameters).7 C1 _8 h# Q: }
Lack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it." d2 O' R2 e. ?; f% v
Databases – The Most Likely Culprit
0 s( c7 M$ f7 v( P• Database performance is highly sensitive to hardware, software, and DB configuration.
, H* c! [: D1 M7 Z6 h+ \9 T• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.
" r1 u5 N2 W( S4 Q• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.
* `. }, J0 c+ J# g. k/ [$ S0 t0 ^Mitigating Database Server Bottlenecks
, K6 S5 b& }) g! x, T' k• Must use dedicated DB server0 P( L+ A% e/ N% a- n
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.
; G, \1 N% D) e6 l, [* S• Must have fast dedicated storage for DB files
+ c8 u1 s6 W' `0 y* go Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.
# S( A5 |2 Q% xo Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.+ f; a. X4 b3 a8 q" q. d
o Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.
$ p8 z2 L5 h+ a7 U" n" q- ?o Use disk controllers with a battery/flash backed cache.
/ Q# Y: v8 ~2 C1 M5 y9 Q# Q* n; ?o Use multiple disk controllers if possible.; y9 N% u( q+ S2 s8 k8 r" a* z
• Cram the RAM
/ i+ u. L; Y8 x: \* zo Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.
: ]- d% f4 D8 _% W; V# b+ r• Use 64-bit OS & DB software( q( G( n5 Y  U* H' W% B
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 a1 v  Y. t+ U8 l% j/ N
• Use a good quality network adapter(s), b. G6 y! L* Z! U7 j
o Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.2 P6 q: O5 F) @+ V" {; I
• DB maintenance tasks/ Z8 }7 \* B/ q% t
o Update statistics and rebuild indexes regularly.
6 a% }0 r$ U# O9 G9 C( B* m0 FCommon Teamcenter Server Bottleneck Causes
# m$ R7 \! S0 f3 c$ T4 P( d. C5 m• Overloaded Tc Servers
+ J6 G: N# ~) [. h3 v: K% D• Poor Web Tier Configuration7 A0 ]" z. Q2 f1 Q
• Poor FMS Configuration
& M" w( }1 ~) o2 |• Debugging Turned ON
. j( z8 x" R% i0 A+ x• Rich Client using OOTB settings, z6 l3 y6 d; K. N
‘Unload’ Overloaded Teamcenter Servers4 Y% H1 Y: S$ ?& h, e9 [3 r& f
• Put Dispatcher modules on separate computers away from other Tc Servers.+ Q+ `) p: k5 P; Y
• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.) s6 \! j# A9 X2 s6 [
• Use load balancing for Middle Tier & FMS:
4 X( Y& n& G- v0 qo 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.).
0 u3 M) O7 T) o4 }o Set up multiple FSC cache servers to take load off busy volume servers/storage.0 w# N  q/ L. Q  Q0 M) R
Web Tier Configuration
, E/ `8 K. h0 U7 Z* @• Do not use port 80 or 8080/ P  a& P! S7 S0 V, n' x0 E
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.& J9 Y' C% O2 d( F5 m* T* x& H
• Enable http compression if not using WAN acceleration
% {8 g) J) R5 ?8 x7 Z- Ho Must be done on both web server and on clients to take effect.5 e4 Z9 ~; }! M0 U! i  j& g* E
• Change/tune OOTB settings for Web Server/App
! h7 {" ~) M# E* b, \o E.g. timeout values, max # of threads, Java memory, etc.# e# |/ v0 u% _
o Read tuning guides specific to your chosen web server/app
9 t$ m/ @- o" w' B8 ^; S• Scale it up or sideways; ~* T& a& ?" j
o Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).
9 S0 i5 u  C; {# x" Y8 p! A2 QCommon FMS Bottleneck Causes& E- y( |* x8 _: u7 j" Z) u( _1 o3 u
• Data improperly routed
8 l4 b# Q5 j% v3 ^# J2 D9 K( Ko 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.) }3 S2 M- q7 z6 \8 w- R
• Using OOTB settings7 B* O6 v" {8 A
o For development purposes only, remember?
* q! T! q; i3 o5 Y! ^5 E7 U• Missing client IP address subnets8 ?6 z8 [4 H' a0 f
• No load balancing
* R* ^* i  T; f( {& B% w6 U  j( C• Not using remote cache servers for WAN users4 |/ P. }" w4 [. V0 Q; a
• Not using remote volume servers for WAN users
  S, X) Y- G7 O8 K0 T6 b! jFMS Configuration
& ?& O; }: l' A% h: j• Ensure routing is correct
; c3 E' j- e2 F7 S# K. F- Ko Between multiple FSC groups via entry/exit/link parameters
) _- s8 L# J8 ]* Wo Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.
  c" l! r5 g: w* j+ V! xo Use correct transport algorithms for LAN and WAN users.
, {8 K5 {; o5 f+ i" O• Tune FSC/FCC cache settings; `. l* ]: k% x8 p
o Simply picking a total read/write cache size is not enough.
; t. r; J' a0 e- o0 a5 Do 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
; A: e; _6 \1 X8 _  K" }9 x5 B• Ensure correct client maps2 p2 D) Z3 H( y% A$ p
o Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.
# I3 f$ z, A) jo Place client maps in the closest FSC group to their location.
9 g3 s2 S6 C/ e. h8 A& N/ l• Use multiple FSCs for load balancing9 |1 \7 G4 W8 \7 ]% N' r
o Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)
! d: S+ q! T& b6 r6 @8 n1 W: do Use redundant FSC cache servers to load balance each other. Also provides fail-over.5 }5 t3 Q4 Z. S6 g& w
• Place FSC cache servers close to users6 w$ ?4 P- e" G
o Greatly improves read performance (load time) over a WAN for groups consuming shared data.
* A# \& L/ H6 Z! n! I& p: G• Place Volume servers close to users
1 q" |" }) I  V4 u* `o Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)
  S8 P4 ~/ m& N9 @o Greatly improve write performance (save time) over a WAN especially for CAD data.
) Q& C5 n" T. o# [6 Q• Prepopulate FSC caches/ l- ?2 @; o& y- ~* l
o Run a nightly script to prepopulate shared data across FSC caches." c! o% o0 R& u4 n$ S
Misc Teamcenter Changes
( Z) m- H$ e' x: _: }+ W• Disable logging and other debugging tools.  Turn them on only when needed. Examples,# d/ }$ ^/ ]. e: E6 o
o TC_SECURITY_LOGGING=OFF" p, F& I4 b7 U1 V8 ^
o TC_APPLICATION_LOGGING=OFF
  z, E; w4 i9 m" \o TC_SLOW_SQL=-1
, z$ S( \! r% J' }' k/ _* m• Rich Client ‘Teamcenter.ini’ configuration:
6 B* h  o8 c: [$ ~6 o$ }) ~9 Bo 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* W2 [; W; J( Y% d3 T2 b4 j
• Enable FCC File Warming
$ t, u' |  F% \: Io Improve startup time by having FCC and Tc files pre-loaded at OS login.
* v9 ?/ B, v2 g5 H- WNetwork Performance6 N( n0 R( D9 L3 z: c1 q  h6 ]
• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.2 q) A$ u/ J- M4 K& @1 `
o If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)1 F9 c* _7 }1 \& m
• Optimize OS network settings
3 F& z2 y4 C& E3 b& v/ @o OOTB settings are insufficient
) }0 b% E* j7 C- V& u! y  }o Applies to both servers and clients( D, `' s- Z( Y0 d" G! I
o Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling8 [* Z. ?4 \/ J8 A
Recommended Server Changes (Windows)
1 r: E8 G' ~0 @See Presentation.
1 A$ t& y/ M% G) T6 C* k$ `Recommended Client Changes (Windows)+ y! M  s  O/ D
See Presentation.
0 U$ i& L5 F: H; J6 M) lPerformance Monitoring Tools$ W" K: C4 P0 v: d& s$ @
• Some useful performance monitoring tools:
, ]7 v- [* c) E- ^0 f$ B• Performance Monitor (comes with Windows)% J0 q  w, h' |3 X, u2 I# @4 q
• Used to monitor OS, Teamcenter, and SQL use of resources
% y6 n  }) e& k; H( l1 h0 q4 Q( b7 y• Wireshark (freeware network packet sniffer)
* t4 S  U* W# S& `* O9 g! H7 J• Used to help identify network TCP performance between computers.- K) Q! Q3 f1 r( }, D; U1 a, e
• Available at http://www.wireshark.org/1 o' @7 Y$ t. z
• Sysinternals Suite (free from Microsoft web site)
% a* a: y' m/ Phttp://technet.microsoft.com/en-us/sysinternals/bb842062) }; @( h$ M$ z; L* ]9 L
Reference Materials
* T' t% A. K  _7 f• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/
% N3 e! c7 ], M, b! So Teamcenter Deployment Guide$ ]9 d5 l) i& M6 @
o Teamcenter Network Performance Tuning
8 ]7 p5 x" _0 D( Co JBoss 4.2.2 Installation & Tuning Guide
# b, |/ Z9 Y- Po Optimizing Teamcenter Client Performance
4 p3 G) z3 D/ l! j$ i. {6 v0 s7 No Teamcenter System Performance Analysis
* H# m8 w+ E% f• Oracle documentation & web sites
+ `4 E+ G1 ~& w# v- o6 Z4 `+ ^• MS SQL Server documentation in addition to:
# D. x* Z$ n5 h6 z0 [! H8 N! Go Best Practices for Running Siemens Teamcenter on SQL Server
# ~. j- W3 h  S2 o) ~6 o- `3 H6 yhttp://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf7 A% n4 t# E, q' S
o Siemens Blog on Technet7 k; G& O1 ]/ [: x
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/+ a0 s& f5 @3 v
o Siemens-Teamcenter-SQL-Resource-Page$ y$ P, r. D7 I& D
http://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx% t0 y$ P+ h1 J, \7 |4 k& o1 _+ p
• Past PLM World Conference Presentations available at www.plmworld.org,' E$ N* e6 z. C+ p
o Teamcenter 4-Tier Deployment – Best Practices% w# x) `9 m( H7 i  v
o Teamcenter – Database Performance
: P2 f' _3 A; J% }' Wo JBoss Optimization for Teamcenter
6 U& P2 d3 Q; J6 eo Optimizing Teamcenter Client Performance* F  A! U8 S* e4 w2 d( |
o Teamcenter Database Server Configuration & Tuning
* D$ `  c' R& n% I; H' SContact Information6 z5 |) R7 K5 _
Larry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org/ [* ]2 A; s" Z* x$ G# }7 p+ m
Teamcenter UA SIG:  http://www.plmworld.org/TC_UA, D) L8 @! v2 W# B. X+ Y  J
LinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa
+ k1 g6 V# n+ E9 \6 {0 `6 k0 |# lAlternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com$ W% a0 {7 t* U' p* w5 `9 ?/ ]

, q( [+ D/ o6 M$ L' s9 J' @
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了