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 10924 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
; |9 @" Q1 v, n2 V: ]9 v4 ?! k. Nhttp://www.plmworld.org/p/bl/et/blogid=43&blogaid=218
  Y1 O7 m& j3 u& [. R5 q3 X6 Yhttps://support.industrysoftware.automation.siemens.com/docs/teamcenter/Network_Performance_Tuning_V6.6.pdf* b, A. N7 E8 a  x6 A/ f& @

2 J- a* K+ D& N( @7 n: J9 CTeamcenter is Slow! Teamcenter Performance Bottlenecks & Mitigation
/ O8 }% h0 Q* r
9 r( N, A1 h: K9 C2 l) o! c& ^Larry Carpenter
) M5 A. V& F! j. o& T/ ~! xAt 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; m8 r% P* H" b
For those unwilling to join the TcUA SIG to view it, I wrote an abbreviated version here:, a! n" P6 B; f" x$ J: B  l: O: ~* }: a
Why Performance Matters
* q% `9 g3 O% L& q4 n( P0 l  e) F8 F  a• Productivity – doing more work with less& Z- ]* E3 I" l! p1 w
o Improve end user productivity
. E/ N! O- `' B) r! m6 S, V! [o Improves administrator productivity; k4 m. I0 C9 k+ @7 M$ A: `
 fewer help desk calls responding to or fixing preventable problems
' u% V  e" ]4 E: ?* o  L; U: r  l  n/ Y• Reliability7 E( Y# \* M' j
o A well tuned Teamcenter environment also improves system stability and uptime.
6 V  d. Q. k& ~$ w' p$ B6 Oo Less opportunity for data corruption) V$ R# |: ], y6 A) f! h
o Fewer operational errors/problems
8 z  P# m! k6 k8 F7 h4 }& U3 O• Cost Savings7 \9 A$ A/ `1 ~/ z) E+ i( ?
o Less waiting means less time wasted.- B8 V8 C8 {3 D# B4 I: f6 s
Quick Case Study: Company ‘S’
% J9 X1 [! r1 K1 f7 J9 vPerformance 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.2 f8 P; ~1 T% L6 Z; Y# b
See my March 2012 article on PLM World’s website for details:9 q/ ^1 }8 `/ [$ k) ?! H( _) h
Teamcenter Performance – Hard-Earned Lessons:  http://www.plmworld.org/p/bl/ar/blogaid=152' R7 Q$ n" V( K$ ]3 P- _
Common Performance Bottleneck Causes
5 ?0 Q7 E7 b6 I8 X$ aUsing OOTB settings — OOTB settings are intended for development environments; not production environments.+ c5 z7 f, ^* F
Overloaded servers — Putting too much on a single server.7 I+ u, H, `/ |0 u8 M
Operating system settings — Network settings most common (e.g. TCP parameters).2 [9 g" l! Y: V7 z+ Y1 ]) S
Lack of performance monitoring & tuning — Performance doesn’t improve all by itself. It requires human intervention to determine root cause and address it.# f4 `8 C! m' a$ W5 o0 T; a
Databases – The Most Likely Culprit
$ ^. B8 V. b5 w+ J0 P- I; d• Database performance is highly sensitive to hardware, software, and DB configuration., B8 t, s) L! a$ q: E9 f! Z
• DBAs at companies generally don’t do performance monitoring and tuning of your Teamcenter DB.! q' t4 ^2 u" {- K9 _8 m
• It’s typically the last place that Teamcenter administrators look for performance issues rather than the first.0 Q9 P% i  N2 w$ x( B& J4 B/ d
Mitigating Database Server Bottlenecks
8 \# H6 J2 S' g7 |' h, ]/ }• Must use dedicated DB server
9 O+ S& s/ P+ |9 C+ o& [% |4 d- D+ no Do not use your DB server for anything other than your Teamcenter production database. This includes not serving additional databases from the same server.
; m4 E7 z! B7 ~! i9 \  u& X' R/ c( b• Must have fast dedicated storage for DB files- X* j" S# [9 ]- Q9 u, D
o Avoid using a NAS device; especially a shared NAS. Use DAS (Direct Attached Storage) instead./ g# B. ^# R! f4 y# I% s
o Use multiple fast disk spindles partitioned with proper RAID levels according to the DB vendor & SPLM recommendations.
( X2 T! E% @0 h0 S$ I0 eo Split DB data, temp, and log files across those RAID partitions according to DB vendor & SPLM recommendations.& k  ^/ L& T$ T9 b; I
o Use disk controllers with a battery/flash backed cache.% g5 Z9 H! F' S% b
o Use multiple disk controllers if possible.. F# N& c9 N# P% i( v
• Cram the RAM/ G8 y" S0 N, _% W" `
o Ideally should be greater than the database size or in-memory footprint. Otherwise disk swapping/paging will occur.; q8 V+ t6 d, G, Y) Q, O7 G" \
• Use 64-bit OS & DB software
3 U  z" X' w2 ko 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.! t# w2 Q! {& z: @  f# p
• Use a good quality network adapter(s), L3 a3 G3 A: a2 v9 P
o Often overlooked as potential source of bottleneck (e.g. packets/sec limitations). Consider multiple NICs “trunked” for better throughput.
2 F" M! k! W: i( z. ]• DB maintenance tasks( P0 H8 L  X2 [! G8 G+ _0 B
o Update statistics and rebuild indexes regularly./ l3 l: B/ X5 j- y
Common Teamcenter Server Bottleneck Causes
4 M  O7 f" e0 v( e• Overloaded Tc Servers
7 r3 G/ p& ~+ v/ @/ g/ [, D• Poor Web Tier Configuration( L8 }5 T. m& G4 R, c2 x5 }' t2 i
• Poor FMS Configuration
8 z  O* {! H  e" V7 Y/ f; [' Z' D• Debugging Turned ON. _* {, \/ `. n% I* }! Y
• Rich Client using OOTB settings
7 U& I9 r& G" y- j' A3 \) b‘Unload’ Overloaded Teamcenter Servers
" r; t- `2 I% ?8 D+ V2 D5 i• Put Dispatcher modules on separate computers away from other Tc Servers.4 A8 `& b. C# p# w; E  }* j$ u
• Separate the Web & Enterprise tiers from the Tc Corporate and Volume servers.# z) ]8 R7 N, g0 F$ Z
• Use load balancing for Middle Tier & FMS:
# D' V9 I5 ^- o" M  Do 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.).) @4 M- F+ r  ^0 R
o Set up multiple FSC cache servers to take load off busy volume servers/storage.
  B; K; L  S' V' I0 Q6 @/ nWeb Tier Configuration1 d: f6 P# @( t2 Z+ q# o5 T
• Do not use port 80 or 80808 Z9 t; x1 L& [; k
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.  e+ j; ]' h% N0 V% F' G, k
• Enable http compression if not using WAN acceleration
7 k: _7 @! h* ~+ uo Must be done on both web server and on clients to take effect.6 d$ ?- o6 ^" X: r3 e
• Change/tune OOTB settings for Web Server/App2 ?8 e* V5 D6 N' _
o E.g. timeout values, max # of threads, Java memory, etc.
. Z3 [+ f9 G; B0 @o Read tuning guides specific to your chosen web server/app
: Q$ ~( k2 V* r: Y3 x  n/ r* t• Scale it up or sideways7 W' t) f- h; C# {7 D
o Add another web tier server, or increase # of work processes (e.g. Web Garden mode for IIS).
+ f& F, M1 @$ m1 dCommon FMS Bottleneck Causes2 h- _: P; t0 b4 {3 P9 |
• Data improperly routed; `& l) E( u/ l3 ?" \
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.2 B, R  p1 Z' c; g, @2 w$ B
• Using OOTB settings
: w3 A5 Z. \# N4 a2 {' No For development purposes only, remember?: A& b, r( T! Y
• Missing client IP address subnets- H  y' V" F7 w8 y3 N; J
• No load balancing
7 r* H2 R: T) l! G. k$ s• Not using remote cache servers for WAN users, K0 v1 B. V( v8 o
• Not using remote volume servers for WAN users
. p$ Z3 E% S% u$ ~& U6 p/ T9 zFMS Configuration
7 H( l7 J+ O  y. `4 \4 F) o) ]- p• Ensure routing is correct9 g+ {2 |4 h1 }: J- v2 G
o Between multiple FSC groups via entry/exit/link parameters/ e* X* O9 z$ o1 {0 z0 ?+ E
o Between clients and their assigned FSC servers by using complete and accurate ‘clientmap’ parameters for ALL clients.+ m. j3 H7 E' d, i! d
o Use correct transport algorithms for LAN and WAN users.
$ g8 G& y: h  Y7 Y; i2 H8 H; ?• Tune FSC/FCC cache settings
4 w. L$ R# S/ n  bo Simply picking a total read/write cache size is not enough.3 l, K6 Z' i% e/ K+ M, ^+ c* C9 N
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/ N, i* r4 J" q4 I+ c& D$ I
• Ensure correct client maps
5 N0 d' U  [, A  m1 t# Yo Determine ALL potential client IP address ranges and where they are located. Don’t forget to account for VPN IP addresses.
5 J- i0 |; p+ d( c2 Eo Place client maps in the closest FSC group to their location.8 t, x1 C8 |; _  W* v9 r1 K9 P
• Use multiple FSCs for load balancing  ]& e( ?/ L2 k3 X% o
o Use “front-end” FSC cache servers to reduce load on Volume servers. (Requires disabling of FSC direct routing)
/ |# g+ h. _, }+ |2 U9 d1 `o Use redundant FSC cache servers to load balance each other. Also provides fail-over.( [$ n0 h) E7 C2 A
• Place FSC cache servers close to users! [/ }0 R! f% a  p
o Greatly improves read performance (load time) over a WAN for groups consuming shared data.
" W/ X5 p- S5 i1 V7 x/ [* ?• Place Volume servers close to users
9 G7 r. Y9 Y6 M7 Q! `! u5 Po Use Store & Forward or at least place remote volumes near remote users. (Backups of remote volumes are critical)
4 `( w9 `5 Y3 M# Y2 X' Ko Greatly improve write performance (save time) over a WAN especially for CAD data.. {* J2 P" N8 |1 o6 }
• Prepopulate FSC caches) @- R% Y. s. G$ d
o Run a nightly script to prepopulate shared data across FSC caches.
/ T$ l6 T5 g' Q: VMisc Teamcenter Changes
" t7 I7 i# Z& K& u• Disable logging and other debugging tools.  Turn them on only when needed. Examples,
( A0 X4 e4 b5 I5 V9 co TC_SECURITY_LOGGING=OFF
3 @8 _1 _% N% t% Vo TC_APPLICATION_LOGGING=OFF" [& ]! _- \: f: i6 q! w9 y9 o5 E
o TC_SLOW_SQL=-1
. q7 ^# k+ P, d# r& I  m, _• Rich Client ‘Teamcenter.ini’ configuration:# C1 _$ `: }  [! u$ \; J8 S7 N# X1 y
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)./ w) I3 A5 x+ x4 C8 |. z: y2 q
• Enable FCC File Warming
" T! x6 |$ Z# Bo Improve startup time by having FCC and Tc files pre-loaded at OS login.! T1 d! `& m/ i) B, y2 A+ D
Network Performance
4 o6 Y1 e% M. T4 W• Use a hardware-based WAN accelerator if using Teamcenter between multiple facilities over a WAN.  D4 \0 ?9 k  k
o If none then make best use of software-based Web server and FMS WAN acceleration settings. (i.e. http compression & FMS compression)
1 w5 Z: `  E$ a% d8 P• Optimize OS network settings- }& z  N/ m4 L' m  s- y
o OOTB settings are insufficient
. v1 h+ E2 i5 j% R: j9 m, p! e! io Applies to both servers and clients
" V. e0 H1 o" I# X' Xo Examples, increasing # of tcp ports, disabling NAGLE algorithm, increasing buffer sizes, trunking multiple NICs, enabling Compound TCP, Large Windows Scaling
/ U3 J  J3 }* N; `Recommended Server Changes (Windows)# Q- D+ n2 o% E/ q5 R/ p7 v* O
See Presentation.' T* c9 J5 }0 Y; O" H2 z* y, S
Recommended Client Changes (Windows)# x- L! a. |) H+ h1 M8 J2 H
See Presentation.
; d5 s+ \, U* [8 s: x& h  d" HPerformance Monitoring Tools
, G$ h! W' h$ g. U% @% r$ ^) v• Some useful performance monitoring tools:
6 g( G( E* |! j9 ?, D6 S• Performance Monitor (comes with Windows)
5 |" r, i4 ^# M6 c- P• Used to monitor OS, Teamcenter, and SQL use of resources7 K: m- l4 q+ Z0 T; v6 R9 o
• Wireshark (freeware network packet sniffer)
1 r3 X- D9 r' k1 V• Used to help identify network TCP performance between computers.
- ~  s& p  P2 K8 T4 r$ @• Available at http://www.wireshark.org/& S# }1 z9 s: y6 J7 U1 I
• Sysinternals Suite (free from Microsoft web site)5 x# p3 q0 F6 |+ d  C# z
http://technet.microsoft.com/en-us/sysinternals/bb842062
1 U! c* L! f5 K! n" D) |) zReference Materials7 l% p  m9 c" |/ |
• Available on GTAC Web Site @ http://support.industrysoftware.automation.siemens.com/docs/teamcenter/9 O9 {+ `4 o4 g2 i
o Teamcenter Deployment Guide. Z7 D/ J# W3 p# \
o Teamcenter Network Performance Tuning3 C" s8 F2 D' P; {% D# J$ b
o JBoss 4.2.2 Installation & Tuning Guide3 G5 \+ Y$ e) ~- |
o Optimizing Teamcenter Client Performance
0 {1 T9 Z  I6 W7 vo Teamcenter System Performance Analysis
( A# ^! @2 C( J: n• Oracle documentation & web sites
7 @$ R( d: T, T* @% G+ z• MS SQL Server documentation in addition to:- ~" ^5 b5 k8 g0 D; b  i1 S
o Best Practices for Running Siemens Teamcenter on SQL Server
! P& j% F( A! g5 {/ y, u, hhttp://download.microsoft.com/download/7/3/6/7365D2BB-BB34-4D28-A128-F2C8FBA6E995/Siemens-Teamcenter-and-SQL-Server-Best-Practices.pdf8 a- I/ f: a" a5 o/ [
o Siemens Blog on Technet! m/ J2 }/ g) y7 Y& y
http://blogs.technet.com/b/sql_server_isv/archive/tags/siemens/
7 g2 }; c* o# G( k% g; ]o Siemens-Teamcenter-SQL-Resource-Page
5 C9 _- z7 _1 Z/ W5 h, ihttp://blogs.technet.com/b/sql_server_isv/p/siemens-teamcenter-sql-server-resource-page.aspx
0 y4 b9 N, W9 d3 e: {• Past PLM World Conference Presentations available at www.plmworld.org,: O* `( p" S5 X+ e+ ?. l
o Teamcenter 4-Tier Deployment – Best Practices
# k& z+ U  t* ]" G- R  |" x) w8 Xo Teamcenter – Database Performance
+ \( d4 b, L3 S8 Yo JBoss Optimization for Teamcenter
/ X2 s  E! h  _7 _o Optimizing Teamcenter Client Performance3 u# l* t% b8 D' ]) `
o Teamcenter Database Server Configuration & Tuning9 V, L2 i0 X- R0 b
Contact Information
; Y' b8 }) i$ H+ S2 p2 e6 n- BLarry Carpenter P.E.,  PLM World Teamcenter SIG Chair,  tcua@plmworld.org
7 ?! D* u) s' `0 z; tTeamcenter UA SIG:  http://www.plmworld.org/TC_UA
7 G/ }" X+ @9 r* O& ^. L+ Q/ L4 PLinkedIn:  http://www.linkedin.com/pub/larry-carpenter-pe/44/5b8/aaa) G9 F+ u+ x2 F# ^2 ~) [
Alternate Contact Info: ideas2nx@plmworld.org, larry.carpenter@siemens.com
3 a' Z1 ]) h# A! s, @* W( U1 C0 X3 P0 a" @' J1 B
上海点团信息科技有限公司,承接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二次开发专题模块培训报名开始啦

    我知道了