Upload
others
View
4
Download
0
Embed Size (px)
Citation preview
Siemens PLM Connection
What’s New in 4 TierSteve Chesney
Copyright © Siemens AG 2008. All rights reserved.Copyright © Siemens PLM Software Inc. 2008. All rights reserved.
T t Di it l Lif l M t S l tiTeamcenter Digital Lifecycle Management Solutions
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 2
Teamcenter Digital Lifecycle Management SolutionsTeamcenter Digital Lifecycle Management Solutions
Reference ArchitectureChanges from Teamcenter 2005Teamcenter 2007.1 PerformanceForward LookSummary
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 3
Reference Architecture
For internal use only / Copyright © 2008 Siemens Corp. All rights reserved.
Four-Tier Objectives and BenefitsFour Tier Objectives and Benefits
Increase deployment flexibilityAllow separation of web tier and business logicAllow deployment of rich clients across WAN from central servers
Reduce administrative cost of distributed deploymentMore “standard” deployment/IT architectureEasier configuration of firewalls Easier client software install and maintenance
Increased Scalability
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 5
FMSTeamcenter Architecture FMS
Supplier & Partner
Applications
ClientApplicationIntegration
Client Tier
Thin Client Rich Client Visualization CAx MS Office
Service Exposure
J2EE .NET WSDL
Web TierPLM Private Services PLM Web Services CAxCAx
OfficeOfficeWebService
Integration
CRMCRM
SRMSRM
EnterpriseApplication Integration
Enterprise TierPLM UI Framework SOA Framework PLM XML Framework
ERPERP
PDMPDM
PLM Business Logic
Business Modeler Extension FrameworkPDMPDM
PLM Data ModelProduct Process ResourcePlant
Model Analysis
LegaLegacycy
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 6
Resource TierDatabase File Systems
Reference Implementation Architecture
Client File Caches
Reference Implementation Architecture
Client Tier:•Host client applicationsP id i t f i t d
CLIENT TIER
FunctionalBreakdown
•Provide user interface input and output processing•Host secure file cachesWeb Tier:•Route client requests to business File Cache Servers:
WEB TIER•Route client requests to business logic•Serve static content to clients•Process login requestsEnterprise Tier:
File Cache Servers:Host shared file caches for rapid client access
ENTERPRISE TIER
File Cache Servers
Enterprise Tier:•Host business logic•Apply security rules•Serve dynamic content to clientsR TiResource Tier •Store persistent meta-data (tables)•Store bulk data (files)
Resource Tier (Filestore)Store persistent bulk data (files)
RESOURCE TIER RESOURCE TIER
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 7
RESOURCE TIER(DB) (Filestore)
Architectural ObservationsArchitectural Observations
4-tier has WAN-friendly and firewall-friendly characteristicsHTTP protocol between client and web tierServer calls (instead of database calls) over WAN -- for “Expand BOM” use case:
18 ser er calls18 server calls2693 SQL calls
Large responses (> 500b) are compressed for WAN transportSources of additional overhead in 4 tierSources of additional overhead in 4-tier
One more process boundaryTwo machine boundariesWeb Tier processingWeb Tier processing
Performance implicationsChattiness allows 4-tier overhead to accumulateBut with a slower network between user and DB 4-tier can perform better than
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 8
But, with a slower network between user and DB, 4-tier can perform better than 2-tier
TruismsTruisms
“Everybody Knows” that on a “near zero” latency network – 2 tier will be faster than four-tier
BUT in Teamcenter 2007.1 (unified architecture) the difference is very slight –and darn near insignificantAND the pattern reverses at surprisingly low latency levels as low as 5AND the pattern reverses at surprisingly low latency levels – as low as 5 milliseconds
The nature of the difference is the extra overhead contributed by the extra levels of the 4 Tier Architectureextra levels of the 4 Tier Architecture
The amount of difference depends on both specific use case and clientThe amount of difference is being reduced each release as the overhead is reducedCaution: restricted bandwidth can skew results, especially with file transfer
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 9
Nature of OverheadNature of Overhead
Rough approximation of the total 4-tier overhead per call (based on experiments):experiments):
5ms + (kb of payload)(0.3ms/kb)In Tc2005SR1 was 20ms + (kb of payload)(0.25ms/kb)Includes: HTTP, Web tier and machine hops
As a percentage overhead can vary wildly depending uponAs a percentage, overhead can vary wildly depending upon Request execution characteristicsRelative speeds of the networks and hardware at each tier.
Example 1t t f 1 d d t 40Ktcserver processes request for 1 second and returns a 40K responseOverhead = 17ms/1000ms = 1.7%
Example 2Tcserver processes request for 20ms and returns a 4K responseOverhead = 6.2ms/20ms = 31%
RAC calls are often of the second type rather than the first
NOTE: file transfers are unaffected by this Overhead
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 10
yFMS is the same in 2-Tier and 4-Tier
Relative Amounts of Overhead 2 Tier vs 4 TierRelative Amounts of Overhead – 2-Tier vs. 4-Tier
The diagram below shows relative effects of Middle Tier Drag (the Yellow Band) as g ( )measured in internal development
For comparison – Tc2005 SR1 results
40000
50000
60000
70000
PortalHTTPtim
e (m
s)
10000
20000
30000
40000Web TierCORBATcServerTo
tal t
W b Ti t h d02-tier 4-tier
Web Tier components overhead:HTTP (0.2%)
Web Tier Total (0.5%)Not a big deal anymore!
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 11
Changes from Teamcenter 2005g
For internal use only / Copyright © 2008 Siemens Corp. All rights reserved.
Changes Great and SmallChanges Great and Small
Infrastructure ChangesIncreased payload compression – affected both 2-Tier and 4-Tier Various reductions in middle tier overhead – memory and CPU –specific to 4-tierImproved install and administration
Application Changes to Reduce “Chattiness”Significant re-structuring of PSE “Expand Below”Many, many other improvements in various use cases
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 13
Development Internal TestsDevelopment Internal Tests
(Large) Expand BOM Below nx2_3083c_6l (RDV88227-anne)APA L b t tAPA Lab test caseProduces a 3083-line, 5-level BOM18 calls from client to server (variation observed; timing?)Total PayloadTotal Payload
2MB between tcserver and app server (111KB / call)100KB between app server and Portal (20/1 compression ratio)
(Small) Expand BOM Below for a subpart (TL114286)337-line, 4-level BOM17 calls from client to serverTotal PayloadTotal Payload
360KB between tcserver and app server (21K / call)
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 14
C i t 2005 SR1Comparison to 2005 SR1
160000
120000140000160000
Portal)
6000080000
100000 HTTPWeb Tier
tim
e (m
s)
200004000060000 CORBA
TcServerTota
l
020000
2007.1 2007.1 SR1 SR1
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 15
2-tier 4-tier 2-tier 4-tier
Internal Test SummaryInternal Test Summary
Huge improvement due to reduction in call count from 467 to 18Reduces the accumulation of web tier overhead
Significant improvements due to reductions in web tier latency per call
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 16
Teamcenter 2007.1 Performance
For internal use only / Copyright © 2008 Siemens Corp. All rights reserved.
APA Lab TestingAPA Lab Testing
Established Schedule, Methodology, Dedicated Team and HardwarePerformed for Thin Client, Rich Client, CAD Integrations
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 18
APA Lab TestingAPA Lab Testing
Results reported here are a simplified subsetLatency is introduced artificiallyT1 BandwidthFMS Client Cache empty – partial or full cache can vastly reduce file retrieval timesOptional FMS WAN Acceleration not enabled – this can benefit higher levels of latencyFile transfer bandwidth effects can be very high – sometimes a bigger effect than latency on file transfer
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 19
More CautionsMore Cautions
These results were chosen to be representative – not definitiveTh b l t b ( hi h b d T t i )The absolute numbers (which vary by use case and Teamcenter version) mean less than the basic trends – the trend lines shown are typical of most use cases
4 Tier performs better when any significant latency exists – even low4 Tier performs better when any significant latency exists even low levels ~ 5 millisecondsAs latency increases response time degrades
In a linear manner – no “tipping point”pp g pIn a shallow slope – doubling latency does NOT double response time
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 20
Tc 2007.1 Rich Client Single User WAN PerformanceSingle User WAN Performance -4-Tier more efficient than 2-Tier at higher latencies (shallower slope)4-Tier improved 32% across average of use cases between Tc 2005 SR1 and Tc
2007 1 (UA)2007.1 (UA)
2005 2-tier
Latency
2007.1 4-tier2005 4-tier
00 t e
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 21
Tc 2007.1 Rich Client Single User WAN PerformanceSingle User WAN Performance
32% overall improvementWAN response time very predictable and aggregate is linear with latencySlope of latency affect has improved with Tc2007.1Tc 2007.1 4-tier Rich Client WAN performance at T1/200ms now at 5.5x
LAN fLAN performanceBetter than Tc 2005 at T1/120ms of 5.8x
Significant improvements to PSE “Expand Below”
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 22
APA LAN/WAN Rich Client Averaged Results -Teamcenter 2005 SR1 vs Teamcenter 2007.1Teamcenter 2005 SR1 vs Teamcenter 2007.1
Teamcenter 2005 SR1 Teamcenter 2007.1 (unified)2-tier Rich Client
Not recommended with more than 5 ms latency
2-tier Rich ClientNot recommended with more than 5 ms latency
4-tier Rich Client5.8x response time with 120ms latency
4-tier Rich Client4.1x response time with 120ms latency
8.1x response time with 200ms latencyConsidered usable at 120 ms
5.5x response time with 200ms latencyConsidered usable at 200 ms
latency4-tier Thin Client
Considered usable up to
latency4-tier Thin Client
Considered usable up to
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 23
400ms latency 400ms latency
APA Performance EnvironmentAPA Performance EnvironmentTeamcenter 2007.1 (unified architecture) 4-tier performance is much improved
improved
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 24
ReminderReminder
These results were chosen to be representative – not definitiveThe absolute numbers (which vary by use case and Teamcenter version) mean less than the basic trends – the trend lines shown are typical of most use cases
4 Tier performs better when any significant latency exists – even low levels ~ 4 millisecondsAs latency increases response time degrades
In a linear manner – no “tipping point”In a shallow slope – doubling latency does NOT double response time
Slope is shallower in more recent releasesB h ki ith i i t iBenchmarking with your use cases in your environment is very important in determining acceptability
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 25
Teamcenter Integration for NXTeamcenter Integration for NX
Measurements from a development lab using a Network Nightmare box to simulate latency.
Load tests run on 10 different assemblies of various sizes and complexities,
Each load was run three times Load from scratch, close, load again, close, load again)
Each data point presented is an average of all the load data
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 26
Teamcenter Integration for NXTest Results – Full Load / Elapsed TimeTest Results Full Load / Elapsed Time
NX 5.0.4 outperforms 2-tier starting at latencies of 10ms to 15ms(Elapsed Time Comparison for Assembly Load, FCC cache full)
Seco
nds)
laps
ed T
ime
(E
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 27
2-Tier 5.0.3 4-Tier 5.0.4 4-Tier
Teamcenter Integration for NXTest Results – Full Load / Response DeltaTest Results Full Load / Response Delta
NX 5.04 4-Tier more efficient than NX 5.03 4-Tier at all latencies(Assembly Load, FCC cache full)
30x
25x
elta
25x
20x
pons
e Ti
me
De
15x
10x
Res
p
5x
0x
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 28
Latency (ms)
0x
Teamcenter Integration for CATIATeamcenter Integration for CATIA
Performance comparison between a baseline version and the latest versions of Teamcenter and the Teamcenter Integration for CATIAversions of Teamcenter and the Teamcenter Integration for CATIA (TcIC)
Baseline version: Teamcenter Engineering 2005SR1 with TcICV6.7.1V6.7.1Latest version: Teamcenter 2007.1.2 (unified architecture) with TcICV7.0.1
Expected ResultsPartial Load Performance
V7.0 contains new algorithms for partial load scenarios that should improve performance dramatically
4 Ti WAN L d P f4-Tier WAN Load PerformanceV7.0 contains a new method for acquiring access to files in a volume, which should improve load performance over a WAN
Save Performance
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 29
Save PerformanceSave performance should be the same
Test Results – Partial LoadTest Results Partial Load
TcIC Partial Load Performance Comparison
500
350
400
450
500
Order of magnitude improvement in V7.0 vs.
6.7.1
200
250
300
350
Seco
nds
Version 6.7.1Version 7.0.1
100
150
200
0
50
Full Staging EmptyStaging
EmptyStaging
Full Staging EmptyStaging
EmptyStaging
Full Staging EmptyStaging
EmptyStaging
Full FCC Full FCC Empty FCC Full FCC Full FCC Empty FCC Full FCC Full FCC Empty FCC
2-Tier 2-Tier 2-Tier 4-Tier, 4-Tier, 4-Tier, 4-Tier, 4-Tier, 4-Tier,
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 30
2 Tier 2 Tier 2 Tier 4 Tier,100ms
4 Tier,100ms
4 Tier,100ms
4 Tier,200ms
4 Tier,200ms
4 Tier,200ms
Test Results – V7.0.1 WAN vs. LAN (Large Assembly Load)Load)
TcIC V7.0.1 Large Assembly Load 2-Tier Vs. 4-Tier
5000
6000 Almost no performance degradation as latency increases, except when
3000
4000
onds
2-Tier4-Tier, 0ms
CAD files have to be moved across the WAN (FCC cache and staging
directory empty)
2000
3000
Seco 4-Tier, 100ms
4-Tier, 200msdirectory empty)
0
1000
Full Staging Empty Staging Empty Staging
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 31
Full Staging Empty Staging Empty Staging
Full FCC Full FCC Empty FCC
Test Results – V7.0.1 WAN vs. LAN (Partial and Small Assembly Load)Assembly Load)
TcIC V7.0.1 Partial and Small Assembly Load 2-Tier Vs. 4-Tier
120
100
120
Modest performance degradation as
latency increases,
60
80
Seco
nds 2-Tier
4-Tier, 0ms4-Tier, 100ms4 Ti 200
except when CAD files have to be
moved across the WAN
20
40
S 4-Tier, 200ms WAN (FCC cache and staging
directory empty)
0
20
Full Staging Empty Staging Empty Staging Full Staging Empty Staging Empty Staging
Full FCC Full FCC Empty FCC Full FCC Full FCC Empty FCC
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 32
Partial Load Partial Load Partial Load Full Load Small Full Load Small Full Load Small
CATIA ConclusionsCATIA Conclusions
Compared with TcIC V6.7.1 with TcEng2005 SR1, the latest versions, TcIC V7.0.1 and Teamcenter 2007.1.2 (unified architecture) :
Show dramatic improvement in partial load performanceShow significant improvement in performance of other load scenariosShow the same performance for Save
These latest versions show only modest performance degradation in WAN environments as latency increases, except when CAD files need to be copied over the WAN. This configuration meets the Teamcenter 2007.1 performance requirements for WAN latency of 200ms.
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 33
Teamcenter Integration for Pro/E (IPEM)
IPEM 5.7 was delivered in Dec, 2006 providing 4 tier performance up to 60 msTeamcenter SOA was delivered in similar timeframe allowing the technical framework to achieve higher performance latency goalsDevelopment committed to improve the IPEM 4 tier performance to align with the Teamcenter ‘s rich clientthe Teamcenter s rich client
Goals have been achieved and delivered in Dec, 2007 with IPEM 7.0 releaseIPEM 7.0 has eliminated the latency constraint associated with metadataTeamcenter provides solution for file delivery and deployment flexibility toTeamcenter provides solution for file delivery and deployment flexibility to manage the file bandwidth constraints
Future Teamcenter (unified architecture) releases will continue to improve performance of SOA and FMS (which directly improves IPEM performance)
Future IPEM releases will continue to evaluate techniques to take maximum advantage of Teamcenter’s services and evaluate techniques to further compress the overall wall clock performance
For internal use only / Copyright © 2008 Siemens Corp. All rights reserved.
IPEM 7.0 ResultsIPEM 7.0 Results
1600
Latency Scaling - IPEM 7.0.0
1000
1200
1400
0 ms100 mbps
400
600
800
100060 ms8.5 mbps
100 ms5.1 mbps
200 ms2 5 b
SaveNew
Save Save As
0
200
400 2.5 mbps
IPEM 5.7.160 ms8.5 mbps
Wall clock performance normalized for metadata operationsFile transfer performance scales based on Windows TCP/IP 64KB packet size
New ModifiedSave As Open -
Firsttime
Open -Second
time
UpdateDirectory Cancel
Checkout
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 35
p pdivided by latency
Demonstrates that IPEM 7.0 out performs prior release at all latency measurements
Forward Look
For internal use only / Copyright © 2008 Siemens Corp. All rights reserved.
More Changes Great and Small – Teamcenter 8+More Changes Great and Small Teamcenter 8+
Continued application and framework changes to reduce “chattiness”Significant re-structuring of RAC kernel to reduce call countMany, many other improvements in various use cases to reduce call count and utilize cache
Infrastructure Changes“Store and Forward” file saves in FMSNew Firewall Friendly “Pull” InstallPerhaps – web tier streaming?
Take more advantage of multiple CPU machinesg p
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 37
Teamcenter GoalsTeamcenter Goals
Teamcenter (unified architecture) will be usable at:120 millisecond latency in Teamcenter Engineering 2005 and 2007200 millisecond latency in Teamcenter 2007 (unified architecture) 300 millisecond latency in Teamcenter 8 (unified architecture) and beyond
As measured by Teamcenter’s APA lab using results averaged across standard benchmark tests
Assumes 5x degradation between WAN and zero latency LAN is still “usable”Assumes T1 quality bandwidth on WAN
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 38
Summaryy
For internal use only / Copyright © 2008 Siemens Corp. All rights reserved.
SummarySummary
Four-tier deployments are slightly slower than two-tier when deployed on very fast Local Area Network
Difference is almost negligible now and may disappear or reverse in future releases
Numbers of CPUs in client vs. web tier machine may become significant difference in future
LAN must indeed be “very” fast to show 2 Tier’s advantageFour-tier deployments are superior to two-tier when almost any latency exists
Benchmarking with your use cases in your environment is very important in determining acceptability
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 40
ContactContact
Steve Chesney With the assistance ofSoftware Engineer - ConsultantSiemens PLM Software Inc.
With the assistance of others. Thanks to:
• Bill Halpin• The APA Lab
E-mail: [email protected] APA Lab
• Dave Cone• Stewart Bresler• Duane Olawsky• Duane Olawsky
May 2008© 2008. Siemens Product Lifecycle Management Software Inc. All rights reserved
Siemens PLM SoftwareSlide 41