PLM之家精品课程培训,联系电话:18301858168 QQ: 939801026

  • NX二次开培训

    NX二次开培训

    适合初级入门或想深入了解二次开发的工程师,本培训结合ufun,NXOpen C++,大量的实例及官方内部的开发技术对于老鸟也值得借鉴!.

    NX CAM二次开发培训报名 NX二次开发基础培训报名
  • PLM之家Catia CAA二次开发培训

    Catia二次开发培训

    Catia二次开发的市场大,这方面开发人才少,难度大。所以只要你掌握了开发,那么潜力巨大,随着时间的积累,你必将有所用武之地!

  • PLM之Teamcenter最佳学习方案

    Teamcenter培训

    用户应用基础培训,管理员基础培训,管理员高级培训,二次开发培训应有尽有,只要你感兴趣肯学习,专业多年经验大师级打造!

  • PLM之Tecnomatix制造领域培训

    Tecnomatix培训

    想了解制造领域数字化吗?想了解工厂,生产线设计吗?数字化双胞胎,工业4.0吗?我们的课程虚位以待!

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

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

  [复制链接]

2018-2-24 11:18:50 11491 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   W  @$ `# Q+ @, \" ?
http://www.plmworld.org/p/bl/et/blogid=43&blogaid=218 2 r; U  X6 |3 I1 e$ d% [
https://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf9 H& G8 u2 b6 F9 h4 S

5 z+ @1 r* B  m6 a  ]$ l$ ETeamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation
$ Y9 G; N4 [, [( }" G
7 [6 u# |, S5 i2 GLarry Carpenter, _5 d6 }+ }& Y4 ~. Y
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=08 ]. h; L: O! o& O) I
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:6 g5 T# J* [( l  I3 \" N$ U2 _9 j
Why Performance Matters
, X1 ?; R0 ?0 T• Productivity – doing more work with less! h# [/ ~9 r% ^- W2 p
o Improve end user productivity
) \" H6 U0 j+ ?0 l8 Y9 X. Zo Improves administrator productivity! g" r6 D8 {/ e
 fewer help desk calls responding to or fixing preventable problems
+ D+ l$ T3 p* W' ?. P• Reliability
; s$ e! Q% d2 a# S; _; So A well tuned Teamcenter environment also improves system stability and uptime.' L" N, n) ~1 N
o Less opportunity for data corruption
; T& M1 O6 i* H5 q5 H5 no Fewer operational errors/problems* b' X/ p3 X) g! W. p; j, I& V9 [
• Cost Savings
) w" N9 M- j1 t' p6 ?o Less waiting means less time wasted.
6 U7 |% _; a* Z. |* ?Quick Case Study: Company ‘S’
: i; ~; X; d% L, y, O9 fPerformance 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.! P; G/ }, K9 J8 T) Y& w/ G/ v
See my March 2012 article on PLM World’s website for details:* M$ E! W8 x* `: X  B6 v* ^
Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152
: R: ~3 j% \" Q. L+ u" t' iCommon Performance Bottleneck Causes
3 K# U  j  L7 {9 JUsing OOTB settings — OOTB settings are intended for development environments; not production environments.
' r0 S  L1 H# N5 N" P( G  j- z7 y2 E: MOverloaded servers — Putting too much on a single server.* L$ p8 ~  B, y' z. o
Operating system settings — Network settings most common (e.g. TCP parameters).0 H  X0 C* s/ p5 I. E+ ?4 ~: N
Lack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it., `) z( h0 V8 u# O4 J; ^
Databases – The Most Likely Culprit# O9 i/ ^8 Y( L; L
• Database performance is highly sensitive to hardware, software, and DB configuration.+ w# c' T% R% u0 _3 r5 p  \  u* T
• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.
" n1 U% c4 j$ K* O3 X) P% t• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.
, T6 \. u) U8 s% D: E+ }( MMitigating Database Server Bottlenecks" A* G" P2 L. g& {+ y% w
• Must use dedicated DB server
5 h$ M- H1 Y! U3 S9 Z% t# Eo Do not use your DB server for anything other than your Teamcenter production database. This includes not serving additional databases from the same server.
! S7 C* ^3 c* j0 g• Must have fast dedicated storage for DB files7 z4 A# ~* n' A* W: _* y5 T4 i
o Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead." t  e; c( S* B+ ~1 V$ K
o Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.8 W' k& n% H0 r$ ~" k
o Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.# m% a" a3 {$ C
o Use disk controllers with a battery/flash backed cache.
0 h: z, F) q0 m- t( \+ c- Yo Use multiple disk controllers if possible.) I, E2 A/ k3 _$ c# ]( B# U
• Cram the RAM
# e, v  C% O% {o Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.2 k% Y$ z4 b) ^% H
• Use 64-bit OS & DB software
% ?5 J9 U# |8 ~& ^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 [$ T1 u& p/ o; Z• Use a good quality network adapter(s)
6 E/ e8 f" y. To Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.
4 o+ h' K- i; y8 k. u) j' U• DB maintenance tasks: W# V! r$ Z* v- a# i" S* n
o Update statistics and rebuild indexes regularly.
* y0 {. _) U0 Y2 oCommon Teamcenter Server Bottleneck Causes8 b* a$ w6 g5 H; _1 f2 \8 J* l2 d
• Overloaded Tc Servers
) m$ n, R0 U9 P# o" G$ {• Poor Web Tier Configuration/ @/ \" [3 U+ l( W
• Poor FMS Configuration
7 X: B2 o8 f5 R0 {• Debugging Turned ON
$ f4 S$ ?- H4 r& v- m• Rich Client using OOTB settings
" X" Z% [+ k: M0 m; I- l‘Unload’ Overloaded Teamcenter Servers
" l/ _* f3 y4 Q- L5 u9 a+ [• Put Dispatcher modules on separate computers away from other Tc Servers." e6 E& b9 X1 {' S" R
• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers., S' ^# R5 D8 @8 c/ N' n, {9 k
• Use load balancing for Middle Tier & FMS:
5 ^% v; ~/ a, ?2 K/ oo 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.).
6 w7 Z/ O0 j0 N9 Oo Set up multiple FSC cache servers to take load off busy volume servers/storage.; z6 A3 s1 ]3 Z% _' R4 w
Web Tier Configuration1 A' n/ [( h% |* C0 K, r' B
• Do not use port 80 or 8080
& p9 F: w' l+ ?9 |# [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.# p5 y1 ^' |. c* G& J( B6 G
• Enable http compression if not using WAN acceleration8 G9 k" X! ^7 `- X
o Must be done on both web server and on clients to take effect.. n4 M, G* e4 _5 |
• Change/tune OOTB settings for Web Server/App6 ]" j: g+ ?  g) S
o E.g. timeout values, max # of threads, Java memory, etc.
5 S7 L2 E8 m. ^2 `o Read tuning guides specific to your chosen web server/app" Z: Z2 S& V# ?
• Scale it up or sideways+ c2 Y3 a9 C8 r( s' `- Y
o Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).6 Z! w0 K0 c6 s( q' a5 J0 x
Common FMS Bottleneck Causes1 g# Q$ `# b3 V  N3 r3 v
• Data improperly routed
& ~6 B) o; p( l, x( \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.5 e5 m3 @: i/ C
• Using OOTB settings% e" N. i3 s8 B9 {! t
o For development purposes only, remember?
* D  f  ^* B) [5 u" D$ K: c• Missing client IP address subnets: S6 G& R5 S% O& @& m3 u4 N  s9 b
• No load balancing
+ ~' F/ G6 ]8 R6 z3 L• Not using remote cache servers for WAN users
% C: K! C+ v# e9 \: i7 a8 a• Not using remote volume servers for WAN users
( l! F4 P8 L: z( n, @0 CFMS Configuration
, |) S' i$ H7 k$ }/ {• Ensure routing is correct0 M4 [9 e1 J8 G
o Between multiple FSC groups via entry/exit/link parameters- J6 W! ]8 I  a/ x2 N' h
o Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.
& \: C6 \# H" lo Use correct transport algorithms for LAN and WAN users.7 I0 h% T7 P5 G; \* a% v
• Tune FSC/FCC cache settings, @/ s; z5 D" m2 ?9 \
o Simply picking a total read/write cache size is not enough.( f  X* ~7 W+ L& L' ^  ?
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 Calculator5 Y. B& ^$ b. s6 T6 l
• Ensure correct client maps) s3 a6 ?4 w; h$ |
o Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.5 o; K& u- K- u& h; G0 p! Q
o Place client maps in the closest FSC group to their location.% B4 I, Q  u6 l8 S8 g. z3 e
• Use multiple FSCs for load balancing
: R3 x: J2 K7 g2 K3 ko Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)
) Y! f% u+ a* A0 h/ g  c- ~0 Wo Use redundant FSC cache servers to load balance each other. Also provides fail-over.$ i* V9 W% c* A# F
• Place FSC cache servers close to users# r; G3 U0 x* {/ o* j' d
o Greatly improves read performance (load time) over a WAN for groups consuming shared data.
, ?# _1 K" G& d! R9 V0 [• Place Volume servers close to users& Q, W+ [% q  B  h7 x  w5 \, D! \
o Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)
- v! [; S3 p# r3 `8 J! mo Greatly improve write performance (save time) over a WAN especially for CAD data." O* m: T9 h8 {; r& i
• Prepopulate FSC caches6 y3 @. G3 M& ]
o Run a nightly script to prepopulate shared data across FSC caches.
& \3 D5 ~$ v7 N+ x5 v7 PMisc Teamcenter Changes
+ [/ C  D( x  G) l" y2 M• Disable logging and other debugging tools.  Turn them on only when needed. Examples,9 Y: Q* t4 s) `  L
o TC_SECURITY_LOGGING=OFF* F% p) B* }3 H4 j( m( T
o TC_APPLICATION_LOGGING=OFF
$ d- C1 c1 R2 E* _/ @o TC_SLOW_SQL=-1! T' S' i3 t( P) `
• Rich Client ‘Teamcenter.ini’ configuration:( C3 R! f9 Q+ x. I5 |7 ?0 o* q; c
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).; y% U2 @) O5 x/ S* k& h# B
• Enable FCC File Warming
$ \/ f$ S! e0 Co Improve startup time by having FCC and Tc files pre-loaded at OS login.
/ w* v& j& @$ W5 h9 h" cNetwork Performance$ ?9 X( R3 B% x( j6 S
• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.
7 L3 m8 i3 ^4 o9 K9 s1 fo If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)% a/ a; r0 ~& T& @
• Optimize OS network settings, T( d5 _. c# X4 ~; d9 F
o OOTB settings are insufficient8 u% P- o4 ]: h
o Applies to both servers and clients3 \- U! h" J2 O" h
o Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling9 h# X& a. u  Y, w! u5 z* J  S
Recommended Server Changes (Windows)* f$ u$ Q! ?  Q/ B
See Presentation.
4 V# P2 \# S2 JRecommended Client Changes (Windows)
1 e' K) \9 ^* I9 u% N8 eSee Presentation.
6 I9 b9 `- E4 h) TPerformance Monitoring Tools& ?: a+ l1 }3 T& j
• Some useful performance monitoring tools:: D! i: l9 z) H, T: p4 b2 Z9 o- E
• Performance Monitor (comes with Windows). V) b4 F# V0 r- \# i3 [# A; ]7 z
• Used to monitor OS, Teamcenter, and SQL use of resources
  i$ }& m) d9 I+ ]6 |• Wireshark (freeware network packet sniffer)  P4 h6 i0 A0 d" w: [
• Used to help identify network TCP performance between computers.
& w9 E8 @# p; }) }/ }. u, N• Available at http://www.wireshark.org/
2 \3 D8 }0 S2 u' F• Sysinternals Suite (free from Microsoft web site)
; `7 t. N& E- z0 Lhttp://technet.microsoft.com/en-us/sysinternals/bb842062' S4 P1 g$ ^* W
Reference Materials
6 ^$ x4 `9 j, \0 Z• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/
( O6 D( O1 i4 u+ Ao Teamcenter Deployment Guide
( @; N. C9 y( R- ?o Teamcenter Network Performance Tuning- b, N- K1 T4 ]4 ]& ~0 T$ z
o JBoss 4.2.2 Installation & Tuning Guide& f& a/ A+ e4 ?9 w% ]6 g
o Optimizing Teamcenter Client Performance" O- p8 X$ x/ \7 Q. K) c
o Teamcenter System Performance Analysis: W6 U; i: x3 y( T; s( t
• Oracle documentation & web sites* ]9 u3 ^8 p  k2 o; [1 s) M
• MS SQL Server documentation in addition to:
! c1 c9 z' R  e% |9 Y  Y4 @o Best Practices for Running Siemens Teamcenter on SQL Server
6 R9 a7 b5 T  N: Nhttp://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf; |/ X. M) C) F7 f% C' y
o Siemens Blog on Technet9 Y$ N. Q  A0 \5 G1 u( k
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/( m) Q5 W! K  R" ]0 |
o Siemens-Teamcenter-SQL-Resource-Page
! m& W( [# Y6 I+ ghttp://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx+ ]. R0 q8 C; I  g1 y
• Past PLM World Conference Presentations available at www.plmworld.org,
$ M9 q: i2 v5 D% I9 B$ Mo Teamcenter 4-Tier Deployment – Best Practices3 b) p- j, p$ x' ?/ q7 p! q
o Teamcenter – Database Performance
6 M' c1 G. |/ q! ~7 h6 Co JBoss Optimization for Teamcenter
" G9 b- c7 V2 c$ R- z( ~o Optimizing Teamcenter Client Performance6 k) e- b/ h$ T/ t
o Teamcenter Database Server Configuration & Tuning! }5 @8 C. I/ T( ~2 [
Contact Information
# ]4 w* M& e: c5 _) ~Larry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org
/ ~2 m/ g9 `* vTeamcenter UA SIG:  http://www.plmworld.org/TC_UA3 i  p( M% G# W
LinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa: W& [  H/ m+ F, h5 i. }% g
Alternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com3 p, V; A8 Z* b, r

' \2 j6 J1 L# I0 O  e, z" ~
上海点团信息科技有限公司,承接UG NX,CATIA,CREO,Solidworks 等CAx软件,Teamcenter,3D Experience等PLM软件,工业4.0数字化软件的实施\二次开发\培训相关业务,详情QQ 939801026 Tel 18301858168 网址 www.diantuankj.com/ 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二次开发专题模块培训报名开始啦

    我知道了