PLM之家精品课程培训

PLM之家精品课程培训

联系电话:18301858168   |   QQ咨询:939801026
NX二次开发培训

NX二次开发培训

UFUN/NXOpen C++和实战案例

适合初级入门或想深入了解二次开发的工程师,本培训结合ufun,NXOpen C++,大量的实例及官方内部的开发技术。
公众号二维码

关注公众号

点击扫描二维码免费在线高清教程

课程详情
Catia二次开发培训

Catia二次开发培训

市场需求大,掌握核心技术前景广阔

Catia二次开发的市场需求大,人才稀缺。掌握开发技能潜力巨大,随着经验积累将在汽车、航空等领域有所作为。
B站二维码

在线原创B站视频

点击关注工业软件传道士主页

课程详情
Teamcenter培训

Teamcenter培训

全方位培训,从基础应用到高级开发全覆盖

涵盖用户应用基础培训、管理员基础培训、管理员高级培训及二次开发培训等全方位内容,由多年经验讲师打造。
QQ群二维码

加入同行交流

点击扫描二维码加入QQ群

课程详情
×

PLM之家plmhome公众号

课程涵盖: PLM之家所有原创视频

×

关注B站视频

所有高清视频一览无余,全部在线播放学习

×

加入PLM之家QQ群

同行交流,疑问解答,更多互助

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

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

  [复制链接]

2018-2-24 11:18:50 11528 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
/ ^2 f$ y9 Q: V: k1 g2 Ihttp://www.plmworld.org/p/bl/et/blogid=43&blogaid=218 2 P5 A5 b& u- E( P
https://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf
1 x; c$ D  i: [! c9 d" N' i& M3 }
Teamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation
3 J% p+ ~  s) O( K
9 j% @6 K+ g- ^5 q! XLarry Carpenter8 o" m; }1 d+ P0 V
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" s4 H' ?0 P, M5 S; R
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:, ^4 N* x: q+ X' f: J7 i, ^
Why Performance Matters! D1 P  t- k1 I5 K: s$ n
• Productivity – doing more work with less
0 L" ]- \/ S+ \: N$ D, A. ~o Improve end user productivity* K, l! R! O. G- k, M
o Improves administrator productivity
0 s9 g& k0 e& }" i4 b; x- c fewer help desk calls responding to or fixing preventable problems
* Q5 L( c; c) X& i# @% [* x• Reliability
+ q. S+ J* s, M( z$ z- t* _' Do A well tuned Teamcenter environment also improves system stability and uptime.
* P' n% |2 U: D1 Do Less opportunity for data corruption) ^' y, ^. q9 c9 I- N0 N
o Fewer operational errors/problems
, q7 e0 u9 N8 ?9 O- z8 u% J, U1 h• Cost Savings/ M  C" U5 F; }5 D  a8 q' a, s
o Less waiting means less time wasted.6 G: v. \3 _' V7 \) {, n
Quick Case Study: Company ‘S’. B4 W8 c4 [1 U. I: ~% 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.
4 ~" F- \9 G. H8 _See my March 2012 article on PLM World’s website for details:
2 Y& U  [# t: H) `8 J! I/ uTeamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=1521 c' z5 Z1 G! h& H
Common Performance Bottleneck Causes+ j* R$ s' t, j2 w
Using OOTB settings — OOTB settings are intended for development environments; not production environments.
# s& w5 n; F# R5 E5 f/ s% p: aOverloaded servers — Putting too much on a single server.
; d4 z$ N% P! LOperating system settings — Network settings most common (e.g. TCP parameters).
9 V7 P# d" C, w" D% ~! _  _Lack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.
% ~& k# D6 T0 W+ n! e/ {Databases – The Most Likely Culprit
" I) @( N1 f( Y3 ~. W• Database performance is highly sensitive to hardware, software, and DB configuration.
7 m4 H% y3 P, w* G; w• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.+ U3 R* D  J3 L- K" Y
• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.! \6 h$ _3 u) Q2 E+ K3 Q
Mitigating Database Server Bottlenecks6 G2 \2 E6 g+ g/ I+ r* [0 E
• Must use dedicated DB server
# v# G9 S: p. e2 k* g4 _) Ko Do not use your DB server for anything other than your Teamcenter production database. This includes not serving additional databases from the same server.
: j# K4 N0 h2 {: @) z• Must have fast dedicated storage for DB files
, D% |$ z% X, [o Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead.
) D' ~' m( e" s8 I, z; D, J$ eo Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.2 s4 _0 Q" a) A) G6 z
o Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.
/ `8 `: v: v; T9 yo Use disk controllers with a battery/flash backed cache.
7 O  z. K4 Z6 g. R* }$ Yo Use multiple disk controllers if possible.
. W( I5 A; X' w9 g• Cram the RAM( b+ X+ z. e% S  u$ ?* m7 Y
o Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.! n: O& K+ S4 g7 N( q; m1 N7 f
• Use 64-bit OS & DB software- S/ b# L6 w- B5 g& j  d2 a
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.7 R8 g  W% k7 G, K0 B) _6 U( h* e
• Use a good quality network adapter(s)
3 k1 T* f) _4 c6 _, g& g; yo Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.9 M* |: y3 ^% w5 F7 {% D
• DB maintenance tasks
% s- W6 u+ H1 R: H: {o Update statistics and rebuild indexes regularly.
0 u: ^5 \- `9 D# D4 A: U5 jCommon Teamcenter Server Bottleneck Causes0 X9 B9 C% \: g
• Overloaded Tc Servers  p0 [4 k. C1 C5 h7 |2 B+ a/ E. Y
• Poor Web Tier Configuration
3 K. T" `' Z" P/ @8 a( F; w! }. F• Poor FMS Configuration9 c/ x, }" O1 M. j/ N5 P9 d; P
• Debugging Turned ON
/ L; P' ~* c" P• Rich Client using OOTB settings4 _" {. h* Z! V8 f6 K
‘Unload’ Overloaded Teamcenter Servers. f) [- z, j( F, N
• Put Dispatcher modules on separate computers away from other Tc Servers.
) R- C( |- |; U) c) J• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.% L6 b7 b4 N  A
• Use load balancing for Middle Tier & FMS:
4 X6 A" [5 e, B8 c1 D" zo 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 o0 r+ v$ m$ {
o Set up multiple FSC cache servers to take load off busy volume servers/storage.
8 @; t7 V6 H. x+ q8 fWeb Tier Configuration% K) ]+ ?  z7 i
• Do not use port 80 or 8080
  D" ?9 C6 {" L" I' {1 Do 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.
0 s, j$ n2 |( ^$ w+ Y8 u7 t, W" |• Enable http compression if not using WAN acceleration' y% d8 v* M  X/ F
o Must be done on both web server and on clients to take effect.9 ?; E2 _4 _8 m% q
• Change/tune OOTB settings for Web Server/App  p$ I! X( S) z3 I0 J- J0 P) W
o E.g. timeout values, max # of threads, Java memory, etc.
- z9 Q" |( B: Wo Read tuning guides specific to your chosen web server/app
6 w+ y1 v1 _& y  [• Scale it up or sideways
2 f2 c9 E; |% d# ~* K8 E  {/ uo Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).0 Z1 i9 ]+ `/ d: P
Common FMS Bottleneck Causes
) [0 n- T% f" [: }+ u$ x• Data improperly routed" q, S4 ~3 k* Q( R& G7 N
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.
* W. L" V& s( K: D: p• Using OOTB settings
, O$ g. O) y/ F' q4 I8 ao For development purposes only, remember?+ x9 [" c, f8 ]5 X2 j7 D
• Missing client IP address subnets
& Q; R& {% [. g7 `5 x+ {; _• No load balancing
, C& J$ ~+ L' J; j! x+ A) r• Not using remote cache servers for WAN users* O. r+ ?% B/ E) D% L6 q
• Not using remote volume servers for WAN users
6 i+ ?* c8 i( ]! v. lFMS Configuration
/ C; M) m( I) T. i• Ensure routing is correct
; q& E! y$ e. V8 V$ Q, v/ A$ C8 go Between multiple FSC groups via entry/exit/link parameters
3 |9 H$ f3 k. I% E' v, w0 B1 A. mo Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.% I6 X7 E# G* _, t, ^2 N
o Use correct transport algorithms for LAN and WAN users.
% I# q( ^" q) y9 n; _) Z• Tune FSC/FCC cache settings0 Z3 y4 _" G2 w
o Simply picking a total read/write cache size is not enough.8 _' r* C7 O/ ~1 H3 m, Z6 g
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
9 N: F( m: l# u/ c: f4 `• Ensure correct client maps
+ E7 Z3 J6 L; z/ }! }/ _. Po Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.! f: \9 m+ b, S5 u" H  z* O
o Place client maps in the closest FSC group to their location.
4 u3 ?' P4 d; E9 F• Use multiple FSCs for load balancing- o' ~2 f8 N) w+ t- @
o Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)9 `' y$ u# p5 H8 E' k  B2 M( v
o Use redundant FSC cache servers to load balance each other. Also provides fail-over.) G5 E6 w( _2 n- V! x+ ~0 `
• Place FSC cache servers close to users. y3 n# i, F  _) T; A
o Greatly improves read performance (load time) over a WAN for groups consuming shared data.
8 l% D, I' x8 E' F# L• Place Volume servers close to users4 M$ K5 d* d! \& f4 `- c
o Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)
/ m1 I+ x/ E$ |& ^: do Greatly improve write performance (save time) over a WAN especially for CAD data.
" r# l+ y6 X: m4 H• Prepopulate FSC caches$ A) K" P( j- k& F
o Run a nightly script to prepopulate shared data across FSC caches.: P) l/ ^0 p+ y  R* f0 i/ P
Misc Teamcenter Changes
& n) N' f' t( ^• Disable logging and other debugging tools.  Turn them on only when needed. Examples,, r: t! A* g& r6 r
o TC_SECURITY_LOGGING=OFF1 K& F, B7 c( X
o TC_APPLICATION_LOGGING=OFF
% A1 J1 |: w- t1 ~. I7 m; l, ho TC_SLOW_SQL=-1+ d0 [5 c' E3 E2 B4 G, Z
• Rich Client ‘Teamcenter.ini’ configuration:7 v% d4 b' h, ^* _
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).
- b: t9 z  ~& Z• Enable FCC File Warming
( t& w5 b! H/ T7 V/ w+ j/ io Improve startup time by having FCC and Tc files pre-loaded at OS login.; N4 |3 ]8 U3 D' m# \
Network Performance
1 U; L! _9 n& s( J  [$ g( h) E* u% M• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.
4 h2 e6 |, K; @: S( Eo If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)
: ]' w: Q+ i2 s$ {• Optimize OS network settings
* ?) H# _3 T5 C8 \4 jo OOTB settings are insufficient
- H# X6 t  D/ mo Applies to both servers and clients
! B5 K# [1 c: n6 b/ V2 i/ oo Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling
' y, g5 q" {+ w% _& ?Recommended Server Changes (Windows)' O! j+ [" B& \: _( f
See Presentation.
( H: m) T2 s  E$ K& ~8 g# URecommended Client Changes (Windows)" F: N4 N- Z4 E( v
See Presentation.5 `. a! v+ t& \
Performance Monitoring Tools
3 V) `3 q9 R7 s3 W( ?4 F* i• Some useful performance monitoring tools:0 k7 N5 d, ^2 h* R& K' P
• Performance Monitor (comes with Windows)
5 S$ z# ?# h/ r& ^6 l6 |• Used to monitor OS, Teamcenter, and SQL use of resources
( y& J2 ^; t; A• Wireshark (freeware network packet sniffer)
% A) Q" G8 s1 G3 C# O; s• Used to help identify network TCP performance between computers.' ~3 C2 V- }, n- w1 U9 D1 x
• Available at http://www.wireshark.org/; P: V+ p; p$ W& P: L) i. L* u
• Sysinternals Suite (free from Microsoft web site)
- C$ H2 N% m% o5 f: Xhttp://technet.microsoft.com/en-us/sysinternals/bb842062# B/ h, y& ?3 W, d
Reference Materials3 E' m# }  V9 j; j
• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/
3 G+ a* R& A+ Y/ Xo Teamcenter Deployment Guide7 A# ]8 y5 k! O# \  l
o Teamcenter Network Performance Tuning% a2 x3 l2 h/ `$ p$ o
o JBoss 4.2.2 Installation & Tuning Guide( J. x; m& K' P# {3 Y6 d" X
o Optimizing Teamcenter Client Performance
/ ?9 }3 g- _7 q8 `o Teamcenter System Performance Analysis
  K) d+ D$ R5 k9 H/ i4 [; {1 u• Oracle documentation & web sites. a' U: t- W7 Q+ h5 {- F% [
• MS SQL Server documentation in addition to:
# M$ ]- D' T  x8 i' do Best Practices for Running Siemens Teamcenter on SQL Server3 x. q6 [  y6 L) Z2 ?5 q  I' x5 X
http://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf
, c& p$ j5 ^( v1 H+ I) b' b1 Go Siemens Blog on Technet
) c& r2 H+ j  `& Y% e- s; }http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/
& ~0 \% D2 t* J0 l" U& Ko Siemens-Teamcenter-SQL-Resource-Page
9 ]+ y) T7 Z( O7 R) [8 `http://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx7 @& ]  c( s9 P3 |0 ~. ?
• Past PLM World Conference Presentations available at www.plmworld.org," t) C) M* H. ~- _7 }/ Z! U
o Teamcenter 4-Tier Deployment – Best Practices
! [# {4 G2 Z/ ?+ m5 e' b) Lo Teamcenter – Database Performance
0 ~$ S* X% U. L4 n3 A1 |+ Co JBoss Optimization for Teamcenter2 E, X4 |6 _7 c8 I
o Optimizing Teamcenter Client Performance0 R; H6 Y/ C+ n' m0 Z) z0 Q5 N
o Teamcenter Database Server Configuration & Tuning( b. z& M; E8 F( k
Contact Information( [& m8 P# X: T. v: r& N/ i% a
Larry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org( ~+ A1 g0 _& I/ L  e& c
Teamcenter UA SIG:  http://www.plmworld.org/TC_UA$ j3 y# f% O4 ~. w8 y* z( B
LinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa
* E: d! ^$ a2 _Alternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com
' w3 }# n" U+ s9 ?; B4 l
7 n2 P3 G, G  l
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了