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

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

  [复制链接]

2018-2-24 11:18:50 11636 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   G" @- a9 h$ n' p% ^& A
http://www.plmworld.org/p/bl/et/blogid=43&blogaid=218   I9 I9 M' A0 O% s' X. q/ q
https://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf
3 ~" F( k! f- O: Q0 W' e- B% H& `. M: Z* M' ~# M
Teamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation
% |6 M( Z7 \( p ) @9 u% a6 A3 \: g
Larry Carpenter
1 ?, {; V# _% ~; W( Y+ z, ZAt 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* o0 r6 g. d' V
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:/ j( N. e, }% k( l1 n. o% S
Why Performance Matters1 U6 _2 C% t6 t2 x# J; I9 d
• Productivity – doing more work with less; f% {* J) f# g8 ]
o Improve end user productivity
+ L5 g0 v. s6 Vo Improves administrator productivity
0 e' ~% y4 j  Z/ U6 _1 F fewer help desk calls responding to or fixing preventable problems' a1 P, a6 c+ D: h# L3 p- P9 A% ]
• Reliability! d! t% S. q0 C" n$ }) {
o A well tuned Teamcenter environment also improves system stability and uptime.% S7 P+ E9 b* k! r7 f
o Less opportunity for data corruption
( i2 W8 f3 j2 U" `o Fewer operational errors/problems& I, x# W. _2 a2 o. }
• Cost Savings6 W+ J8 o7 P$ _& k
o Less waiting means less time wasted.$ m; U6 ?  o: _3 g  c
Quick Case Study: Company ‘S’
/ u8 ]% V1 {* H* Q. x. t3 JPerformance 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.  y) H& `" s3 a
See my March 2012 article on PLM World’s website for details:' s2 X2 y* [( W# k. |& y
Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152
5 U3 N8 }, S' e9 ~4 o, a0 ^Common Performance Bottleneck Causes
5 g) L! }7 T# F0 M! r5 B. KUsing OOTB settings — OOTB settings are intended for development environments; not production environments.
6 a! x# x$ A1 R1 c' \" _5 xOverloaded servers — Putting too much on a single server.) W% U# Y# B9 A0 q
Operating system settings — Network settings most common (e.g. TCP parameters).% {  r/ C* n2 w# c$ b. f$ K
Lack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.
$ [4 M3 g7 t: }& k' O+ iDatabases – The Most Likely Culprit
/ f9 R1 @8 T6 \+ w4 W) O- |7 X• Database performance is highly sensitive to hardware, software, and DB configuration.6 q; ~: n4 a5 M$ c, X& w# L+ f
• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.
' d. {- ?; n' K3 K• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.
) a( J: k- C- V& }7 ?Mitigating Database Server Bottlenecks; F6 G- G1 u2 D+ M+ r' }2 D" A8 Y
• Must use dedicated DB server
1 ]( K+ F- u9 ~* \0 \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." F: W' @5 r1 I' {: o9 p
• Must have fast dedicated storage for DB files
( v) h/ b0 g) v& H# o& D/ Y6 Mo Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.
* r3 r( \' m( e3 Zo Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations." S6 b+ O$ z* D1 M. U6 b
o Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.
$ i/ g7 L2 P: B' B, eo Use disk controllers with a battery/flash backed cache.
+ l3 W7 ~  }" O' uo Use multiple disk controllers if possible., B& o  E& e: E) ^2 f
• Cram the RAM
( L6 d7 e% m2 Jo Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.
, ^* z1 U0 x/ K- ~: C• Use 64-bit OS & DB software
  I) b. R- T& ?0 Z/ T; w, Vo 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.
4 x* l3 C1 q8 B5 E/ {1 Q• Use a good quality network adapter(s)
' @5 v/ d) ?0 y9 o6 `8 _o Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.6 n( V. I  f) k
• DB maintenance tasks/ L, ^! [4 G1 `% ^; b
o Update statistics and rebuild indexes regularly.
8 E. ^" }0 u6 V$ A% h# {Common Teamcenter Server Bottleneck Causes
3 |# \' M* N" T5 Q! m- l. M• Overloaded Tc Servers) t) y# ^$ l) J' t* d5 W
• Poor Web Tier Configuration
& I: |; ^2 B! X. q• Poor FMS Configuration
% p3 Y! h6 S. \; f& J( L; |- |• Debugging Turned ON
+ E) v! [. M1 ^1 U• Rich Client using OOTB settings& ]% L+ ]7 h& t! A6 @) Y
‘Unload’ Overloaded Teamcenter Servers
7 W* B, \+ ^6 P% y+ e& S: E! s• Put Dispatcher modules on separate computers away from other Tc Servers.% O& r% _+ @1 o% `
• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.
5 W' E' x3 W: a• Use load balancing for Middle Tier & FMS:! ~- H+ T. W6 N- d
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.).- A4 T8 X9 T0 a1 B5 o0 Y; q7 x& i
o Set up multiple FSC cache servers to take load off busy volume servers/storage./ [# u/ j: g% o/ C. B( W5 N) v# W8 H
Web Tier Configuration
5 f* x3 M$ I! P) f• Do not use port 80 or 8080$ d. H- h6 ^" S
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* m9 X, h" E8 ?! G) C2 Z& Q3 q$ P• Enable http compression if not using WAN acceleration
2 z3 m3 }/ s. L3 b, B3 D& do Must be done on both web server and on clients to take effect.
5 D. O. ?: S& ~9 Y- j( j• Change/tune OOTB settings for Web Server/App
: _/ g; \+ W' k3 y( F2 q: Q, Y0 y' Ro E.g. timeout values, max # of threads, Java memory, etc.2 L( v4 ~# C5 q+ V: L! y
o Read tuning guides specific to your chosen web server/app
( X8 X  ]% D* N" R0 \( e6 U• Scale it up or sideways
2 p" [! d2 N, G  zo Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).
. T& L: S% n- S2 R- \) X+ S% O$ `Common FMS Bottleneck Causes8 E5 j! @0 J' B* ?! g" U0 V
• Data improperly routed) l/ s2 q! y6 ^% {* e
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.( G3 }7 u, u1 p
• Using OOTB settings
$ x/ y5 X. m. p; ?! }o For development purposes only, remember?' n- [" R7 S, K  B
• Missing client IP address subnets  X9 e  k" t6 K) {" J
• No load balancing2 w1 \- P5 K3 M- y7 {6 n
• Not using remote cache servers for WAN users
0 v+ C- ]* ]/ f: ], A, S• Not using remote volume servers for WAN users
9 R' S# V! v. a, W, U: BFMS Configuration
, O; C: V( h" v8 |1 J% g• Ensure routing is correct3 H% Z8 t4 W: y; K4 w: c
o Between multiple FSC groups via entry/exit/link parameters
( f0 \6 W+ b4 o2 y* X  Oo Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.; |  D' R5 q0 ~1 u2 G; g
o Use correct transport algorithms for LAN and WAN users.8 A" @3 p( y- J: f
• Tune FSC/FCC cache settings# P! k6 |$ `. V' q% P. ]
o Simply picking a total read/write cache size is not enough.
7 p  L( G6 B% go 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 Calculator8 d9 n3 h9 Z& E* l
• Ensure correct client maps; D" u5 W- o" t4 B9 t
o Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.
4 U; }3 `# q5 _# [o Place client maps in the closest FSC group to their location.3 c% J4 s9 x. j8 ~* \" O
• Use multiple FSCs for load balancing
, m# T. s: _) e0 t: ]0 y% i% `  wo Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)7 _% ]  V7 A0 X/ i
o Use redundant FSC cache servers to load balance each other. Also provides fail-over.- L, X* F- e6 Y- f3 J+ |6 ~$ h: ^
• Place FSC cache servers close to users' q3 o" p8 A5 z. {
o Greatly improves read performance (load time) over a WAN for groups consuming shared data.
$ I% I' ]  P4 P" i! i: z• Place Volume servers close to users
7 @2 y6 X' K8 X- r  G! Xo Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)% A8 l% U' k5 v7 W! J0 i7 h) c
o Greatly improve write performance (save time) over a WAN especially for CAD data.
% N! P" @4 f2 V3 }5 U( i  L• Prepopulate FSC caches2 f  [* j' i4 r
o Run a nightly script to prepopulate shared data across FSC caches.4 \0 \; m- Y& u( j
Misc Teamcenter Changes
3 P7 Z% K* X- e• Disable logging and other debugging tools.  Turn them on only when needed. Examples,
5 [* x# l8 i, x. h( Vo TC_SECURITY_LOGGING=OFF
+ k) b5 A. d% T" po TC_APPLICATION_LOGGING=OFF
* z# K! M( G7 Ro TC_SLOW_SQL=-12 Q0 }1 B, `' n' D& m
• Rich Client ‘Teamcenter.ini’ configuration:3 G: V% s- |/ w% a- H# }+ g
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).5 G/ I% L  B; d
• Enable FCC File Warming. ]; C3 F/ B$ ?" Y/ r0 K  G3 k
o Improve startup time by having FCC and Tc files pre-loaded at OS login.3 d+ x$ A0 {1 e# V
Network Performance5 ]+ x1 P" ~  s  G2 r
• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.4 m; C, d$ h9 {) ]/ d$ P0 ~
o If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)
; @9 E3 _7 J. y7 [• Optimize OS network settings, f) o" Y+ H( j& w0 F0 h! o* i( G; \
o OOTB settings are insufficient/ Y7 n8 l' Q2 B9 ^9 |2 f
o Applies to both servers and clients
0 G# L/ P% f1 k( L; O/ zo Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling
% P4 F3 b2 }( I6 G, U$ aRecommended Server Changes (Windows)
6 S; ?; o& p" O+ I- J9 o' E3 B: FSee Presentation.
/ s! Y& R$ Z: N# p3 O5 r1 f3 l4 |/ ^Recommended Client Changes (Windows)& g6 A, z1 T$ ~/ f
See Presentation.
9 U6 s! M0 U% O6 BPerformance Monitoring Tools  g( K8 a6 w& N
• Some useful performance monitoring tools:; x; r$ _6 e& J& i& T- u* t% Q' ^
• Performance Monitor (comes with Windows)
7 M* U& x4 o  [; i; E$ j) t5 o• Used to monitor OS, Teamcenter, and SQL use of resources: G0 k7 H6 V1 e. S& e1 i3 t, |& x
• Wireshark (freeware network packet sniffer)
8 W& U9 e% Y+ H4 r• Used to help identify network TCP performance between computers.* A# w# U5 N: Y; ?
• Available at http://www.wireshark.org/
2 v- R" y2 \1 A! p9 C8 y: j• Sysinternals Suite (free from Microsoft web site)
. R: K+ L1 N3 U3 b. ~http://technet.microsoft.com/en-us/sysinternals/bb842062
; w$ ]' f9 T5 u' c3 H2 {Reference Materials+ F7 Q' B: H2 W8 X1 Y+ B) f
• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/; D: o( D1 M' P: y' x+ ?1 \7 Q; V6 j
o Teamcenter Deployment Guide) D6 h+ i! Y3 d0 w
o Teamcenter Network Performance Tuning
$ ~9 i, `5 T4 _0 bo JBoss 4.2.2 Installation & Tuning Guide5 t: Y: V  ]$ V
o Optimizing Teamcenter Client Performance
% z- i$ O( U/ X8 j/ b  do Teamcenter System Performance Analysis
3 V" U0 Q' [0 L7 U% \$ V, m• Oracle documentation & web sites
! d  W0 l# u- g8 q• MS SQL Server documentation in addition to:
1 J1 |% p. c% w0 p# J( Co Best Practices for Running Siemens Teamcenter on SQL Server' y% r% `3 y9 R; ?1 L
http://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf
. k( X; p  G9 ^; b* y6 oo Siemens Blog on Technet4 D% n! d, B. T" _, m' t
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/$ d8 s! t1 n5 @  Q
o Siemens-Teamcenter-SQL-Resource-Page3 o1 C; n. E" {" M! p1 V+ K( n
http://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx
% O5 B4 h+ j' u' a2 u; y9 @0 z) F• Past PLM World Conference Presentations available at www.plmworld.org,; ^9 R" h6 z# K! ~1 ]
o Teamcenter 4-Tier Deployment – Best Practices. J1 w" l% p/ j6 `
o Teamcenter – Database Performance  y, X0 H3 d* F( e( y& [) D
o JBoss Optimization for Teamcenter
" ~" J& c8 o" {o Optimizing Teamcenter Client Performance3 P$ U( B" h! B; a  Y# v% K
o Teamcenter Database Server Configuration & Tuning. t8 Y- `5 r0 Z
Contact Information4 o8 z- z$ q/ g' s, G
Larry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org9 J# q& R& K8 Y2 b- |1 E; a
Teamcenter UA SIG:  http://www.plmworld.org/TC_UA# I8 j+ Y/ C2 g, S. R9 ^
LinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa* _9 ?  @, o( ^5 S, B- U3 j
Alternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com( a8 D9 [" `0 `) {9 Y5 x  o
: z' f$ u% D8 U
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了