SlideShare una empresa de Scribd logo
1 de 24
Descargar para leer sin conexión
May 1, 2013 1
Improving Utilization of Acceleration
Platforms by Using Off-Platform Test
Generation
May 1, 2013
Wisam Kadry, Dmitry Krestyashyn, Arkadiy Morgenshtein,
Amir Nahir, Vitali Sokhin, Elena Tsanko
IBM Research - Haifa
May 1, 2013 2
Outline
Introduction
• Functional verification
• Exercisers for Post-Si validation
• Exercisers on Accelerators (EoA)
Threadmill Overview
• Architecture
• Main features
Offline Generation Mode
• Motivation
• Methodology
Results
• Utilization improvement
• Coverage improvement
Conclusions and Future Work
May 1, 2013 3
Typical Functional Verification Flow
Test
Template
Coverage
Analysis Tool
Coverage
Information
Random
Stimuli
Generator
Test
Test
Fail
PassDUV
Simulator
Checking,
Assertions
Coverage
Reports
May 1, 2013 4
Software
Simulation
Acceleration
Prototyping
Silicon
Speed
ControllabilityandObservability
10 1K 100K 10M 1G
Pre and Post Silicon Tradeoffs
May 1, 2013 5
• Run operating-systems and application
– Very limited coverage
– Very little variability
– Hard to debug
• Run test-cases generated by pre-silicon test-generators
– Long generation time implies many servers need to feed one silicon
platform
– Low utilization due to loading time
– Poor solutions for built-in online checking at test level
• Pre-Si checking uses checkers of the simulation platforms, unavailable at Post-Si
• Exercisers
Post Silicon Validation Alternatives
May 1, 2013 6
Exercisers: Post Silicon Validation Tools
Exerciser - program that runs on a testing environment (accelerator
or/and silicon) and “exercises” the design by testing interesting
scenarios on it
May 1, 2013 7
Exerciser requirements
Include a random stimuli generation component (as in pre-silicon)
Valid stimuli
Adhere to user requests
High quality stimuli
Generate many test-cases from the same test-template
Simple and fast
Can run on early bring-up silicon
Eases debugging
Increases platform utilization
Self-contained
Minimal interaction with the environment
Loaded once on the DUV, runs “forever”
Bare-Metal
Contains OS services required by the test-cases
Enables complete machine control
May 1, 2013 8
Threadmill: IBM Post-Silicon Exerciser
Test
Template
System
Configuration
Architectural
Model &
Testing
Knowledge
Generator
&
Kernel
Generation
Checking
Execution
OS services
Test Template
Topology
Architectural
Model
Exerciser Image
Test Template
Topology
Architectural
Model
Test Template
Topology
Architectural
Model
Exerciser Image
Builder
Test
Template
Test
Template
Silicon
Accelerator
Reference
Model
May 1, 2013 9
Def language for test-templates:
Rich language to describe the test-plan scenarios
Multi-threaded support (each thread with its own scenario)
Checking:
Multi pass checking: comparing values of architectural resources (GPRs,
SPRs, memory) between different executions of the same test-case
Variability originates from changes to the state of the design
Timing variations in multithreaded processing
Randomization of uArch modes of the processors – thread priority,
internal control modes
Variations in pipeline and cache states
User ability to specify self checking as part of the test-case
Threadmill - Main Features
May 1, 2013 10
Generation:
Concurrent multi-threaded generation
Light-weight, on-platform
Static: no reference model and no state tracking
Very fast :100s of tests per second on silicon
Utilization: 90% generation, 10% execution and checking
Threadmill - Main Features
May 1, 2013 11
Large number of processors, each of which simulates a small portion of the
design and pass the results between them
Processors running in parallel, allowing high execution performance
Orders of magnitude faster than simulation
Allow good observability and coverage analysis
Allow tests execution of billions of cycles at pre-Si stage
The platform used extensively and simultaneously by multiple projects and
locations
High cost and limited resources dictate request for utilization efficiency
Accelerators
May 1, 2013 12
Exercisers on Accelerator
Motivation:
Verification of early design models – more cycles, longer tests than in simulation
Debug at bring-up stage (better observability than Si, higher speed than simulation)
Utilization of failure event checkers, available only on Accelerator
SW validation
Test quality analysis – coverage (count, specific functions hit)
Challenges:
High system cost and limited resource availability dictate a need for utilization
efficiency improvement
Tests ran by the exercisers should target coverage maximization within constrains of
limited resources
Proposed approach – Off-Platform Generation
May 1, 2013 13
Threadmill Offline Generation Mode
Execution
Checking
TC1
RES
t0
Generation
TC10
RES
t0
Execution
Checking
TC1
RES
t0
Generation
Execution
Checking
TC1
RES
t0
Generation
Execution
New Image
Checking
TC1
Results
Accelerator
Generation
TC10
Results
Generation
Checking
Execution
OS services
Test Template
Topology
Architectural
Model
Exerciser Image
Test Template
Topology
Architectural
Model
Test Template
Topology
Architectural
Model
Exerciser Image
Test Template
Generator&
Kernel
Builder
Architectural
Model
Reference
ModelConfiguration
May 1, 2013 14
Threadmill Offline Generation Mode
• Create image with generator component enabled
– Include empty data structures for the test-cases, memory initializations,
translation tables and expected results
• Run the post-silicon application on a software reference model
• Extract the necessary data of test-cases, memory and results from the run
on a software reference model
– Fill data structures with all the data
• Produce an image that includes all harvested data.
– Disable the generator component
• Load the image to the acceleration platform
• Run the image without the overhead associated with the generation of
test-cases and initializations.
May 1, 2013 15
Offline vs. Regular Generation
Pro’s
• No cycles “waste” for on-platform generation
• More test cases can be ran for same number of cycles
• Higher test coverage can be expected
• Comparison with SW reference model may reveal 2+2=5 bugs
Con’s
• Depends on a reference model
• Big-size image loading influences number of test cases
May 1, 2013 16
Experimental Setup
• Two example test templates used as benchmarks:
– Random: 100 random instructions
– Directed: some threads perform load/stores; other threads run
functional scenario
• For each test template 3 images were prepared:
– Regular mode
– Offline mode with 50 test-cases
– Offline mode with 100 test-cases
May 1, 2013 17
1.35 M1.3 M4.8 MCycles per test-case
10050124Num of test-cases
135 M65 M595 MTotal Accelerator
cycles
44.3 MB23.7 MB3.5 MBImage size
15.8 min8 min0.6 minTime to prepare
image
Offline mode 100 TCOffline mode 50 TCRegular mode
Accelerator utilization improvement: x3.7
Results – Random Test
May 1, 2013 18
1.45 M1.4 M7 MCycles per test-case
1005042Num of test-cases
145 M70 M295 MTotal Accelerator
cycles
45.9 MB24.6 MB3.7 MBImage size
17.9 min10.2 min0.7 minTime to prepare
image
Offline mode 100 TCOffline mode 50 TCRegular mode
Accelerator utilization improvement: x5
Results – Directed Test
May 1, 2013 19
Coverage Comparison
•About 50,000 coverage events are analyzed in the Accelerator model
•A test of a new special feature of the next Power design was selected for
coverage comparison
• Only events related to the specific functionality were analyzed
• Exerciser code does not use the analyzed feature - less coverage “noise”
•Number of covered events (out of 310 analyzed events):
• Offline – 237
• Regular – 209
•Total count of hits of all events:
• Offline – 117,020
• Regular – 56,708
May 1, 2013 20
1
10
100
1000
10000
100000
coverage events
#hits
hitCounter_offline
hitCounter_regular
Coverage Comparison
Events hit only by OfflineOffline achieves more hits
for most events
May 1, 2013 21
Conclusions and Future Work
• More TCs – higher chance of triggering various scenarios
• Improved coverage
• Quality assessment of test content that is later used at bring-up
• The Offline generation concept may be used in future as basis for
a dedicated tool for Accelerator-based verification
May 1, 2013 22
References
• A. Adir, S. Copty, S. Landa, A. Nahir, G. Shurek, A. Ziv, C. Meissner,
J. Schumann, “A unified methodology for pre-silicon verification and
post-silicon validation” – DATE 2011
• A. Adir, M. Golubev, S. Landa, A. Nahir, G. Shurek, V. Sokhin, A. Ziv,
“Threadmill: A post-silicon exerciser for multi-threaded processors” –
DAC 2011
• A. Adir, A. Nahir, G. Shurek, A. Ziv, C. Meissner, J. Schumann,
“Leveraging pre-silicon verification resources for the post-silicon
validation of the IBM POWER7 processor” – DAC 2011
May 1, 2013 23
May 1, 2013 24
Thank You!

Más contenido relacionado

Similar a TRACK F: Improving Utilization of Acceleration Platforms by Using Off-Platform Test Generation/ Arkadiy Morgenshtein

Performance tuning Grails Applications GR8Conf US 2014
Performance tuning Grails Applications GR8Conf US 2014Performance tuning Grails Applications GR8Conf US 2014
Performance tuning Grails Applications GR8Conf US 2014Lari Hotari
 
Tools. Techniques. Trouble?
Tools. Techniques. Trouble?Tools. Techniques. Trouble?
Tools. Techniques. Trouble?Testplant
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Performance tuning Grails applications
Performance tuning Grails applicationsPerformance tuning Grails applications
Performance tuning Grails applicationsLari Hotari
 
Performance tuning Grails applications
 Performance tuning Grails applications Performance tuning Grails applications
Performance tuning Grails applicationsGR8Conf
 
QA Team Goes to Agile and Continuous integration
QA Team Goes to Agile and Continuous integrationQA Team Goes to Agile and Continuous integration
QA Team Goes to Agile and Continuous integrationSujit Ghosh
 
Automated Discovery of Performance Regressions in Enterprise Applications
Automated Discovery of Performance Regressions in Enterprise ApplicationsAutomated Discovery of Performance Regressions in Enterprise Applications
Automated Discovery of Performance Regressions in Enterprise ApplicationsSAIL_QU
 
Building an Experimentation Platform in Clojure
Building an Experimentation Platform in ClojureBuilding an Experimentation Platform in Clojure
Building an Experimentation Platform in ClojureSrihari Sriraman
 
TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6Sravanthi N
 
Application Performance Tuning Techniques
Application Performance Tuning TechniquesApplication Performance Tuning Techniques
Application Performance Tuning TechniquesRam Nagesh
 
Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon
 
Automatic Performance Modelling from Application Performance Management (APM)...
Automatic Performance Modelling from Application Performance Management (APM)...Automatic Performance Modelling from Application Performance Management (APM)...
Automatic Performance Modelling from Application Performance Management (APM)...Paul Brebner
 
Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Shelley Lambert
 
Performance evaluation of a multi-core system using Systems development meth...
 Performance evaluation of a multi-core system using Systems development meth... Performance evaluation of a multi-core system using Systems development meth...
Performance evaluation of a multi-core system using Systems development meth...Yoshifumi Sakamoto
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance TestingMark Price
 
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Lionel Briand
 
VCS_QAPerformanceSlides
VCS_QAPerformanceSlidesVCS_QAPerformanceSlides
VCS_QAPerformanceSlidesMichael Cowan
 
Past Experiences and Future Challenges using Automatic Performance Modelling ...
Past Experiences and Future Challenges using Automatic Performance Modelling ...Past Experiences and Future Challenges using Automatic Performance Modelling ...
Past Experiences and Future Challenges using Automatic Performance Modelling ...Paul Brebner
 

Similar a TRACK F: Improving Utilization of Acceleration Platforms by Using Off-Platform Test Generation/ Arkadiy Morgenshtein (20)

Performance tuning Grails Applications GR8Conf US 2014
Performance tuning Grails Applications GR8Conf US 2014Performance tuning Grails Applications GR8Conf US 2014
Performance tuning Grails Applications GR8Conf US 2014
 
Tools. Techniques. Trouble?
Tools. Techniques. Trouble?Tools. Techniques. Trouble?
Tools. Techniques. Trouble?
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Performance tuning Grails applications
Performance tuning Grails applicationsPerformance tuning Grails applications
Performance tuning Grails applications
 
Performance tuning Grails applications
 Performance tuning Grails applications Performance tuning Grails applications
Performance tuning Grails applications
 
QA Team Goes to Agile and Continuous integration
QA Team Goes to Agile and Continuous integrationQA Team Goes to Agile and Continuous integration
QA Team Goes to Agile and Continuous integration
 
Automated Discovery of Performance Regressions in Enterprise Applications
Automated Discovery of Performance Regressions in Enterprise ApplicationsAutomated Discovery of Performance Regressions in Enterprise Applications
Automated Discovery of Performance Regressions in Enterprise Applications
 
Building an Experimentation Platform in Clojure
Building an Experimentation Platform in ClojureBuilding an Experimentation Platform in Clojure
Building an Experimentation Platform in Clojure
 
TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6
 
Application Performance Tuning Techniques
Application Performance Tuning TechniquesApplication Performance Tuning Techniques
Application Performance Tuning Techniques
 
Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016Modelon Modelica executable requirements Ansys Conference 2016
Modelon Modelica executable requirements Ansys Conference 2016
 
Automatic Performance Modelling from Application Performance Management (APM)...
Automatic Performance Modelling from Application Performance Management (APM)...Automatic Performance Modelling from Application Performance Management (APM)...
Automatic Performance Modelling from Application Performance Management (APM)...
 
Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014Cloud-based Test Microservices JavaOne 2014
Cloud-based Test Microservices JavaOne 2014
 
Performance evaluation of a multi-core system using Systems development meth...
 Performance evaluation of a multi-core system using Systems development meth... Performance evaluation of a multi-core system using Systems development meth...
Performance evaluation of a multi-core system using Systems development meth...
 
Real-World Load Testing of ADF Fusion Applications Demonstrated - Oracle Ope...
Real-World Load Testing of ADF Fusion Applications Demonstrated  - Oracle Ope...Real-World Load Testing of ADF Fusion Applications Demonstrated  - Oracle Ope...
Real-World Load Testing of ADF Fusion Applications Demonstrated - Oracle Ope...
 
Continuous Performance Testing
Continuous Performance TestingContinuous Performance Testing
Continuous Performance Testing
 
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...Making Model-Driven Verification Practical and Scalable: Experiences and Less...
Making Model-Driven Verification Practical and Scalable: Experiences and Less...
 
VCS_QAPerformanceSlides
VCS_QAPerformanceSlidesVCS_QAPerformanceSlides
VCS_QAPerformanceSlides
 
Past Experiences and Future Challenges using Automatic Performance Modelling ...
Past Experiences and Future Challenges using Automatic Performance Modelling ...Past Experiences and Future Challenges using Automatic Performance Modelling ...
Past Experiences and Future Challenges using Automatic Performance Modelling ...
 
Pm 6 testing
Pm 6 testingPm 6 testing
Pm 6 testing
 

Más de chiportal

Prof. Zhihua Wang, Tsinghua University, Beijing, China
Prof. Zhihua Wang, Tsinghua University, Beijing, China Prof. Zhihua Wang, Tsinghua University, Beijing, China
Prof. Zhihua Wang, Tsinghua University, Beijing, China chiportal
 
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...chiportal
 
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...chiportal
 
Prof. Uri Weiser,Technion
Prof. Uri Weiser,TechnionProf. Uri Weiser,Technion
Prof. Uri Weiser,Technionchiportal
 
Ken Liao, Senior Associate VP, Faraday
Ken Liao, Senior Associate VP, FaradayKen Liao, Senior Associate VP, Faraday
Ken Liao, Senior Associate VP, Faradaychiportal
 
Prof. Danny Raz, Director, Bell Labs Israel, Nokia
 Prof. Danny Raz, Director, Bell Labs Israel, Nokia  Prof. Danny Raz, Director, Bell Labs Israel, Nokia
Prof. Danny Raz, Director, Bell Labs Israel, Nokia chiportal
 
Marco Casale-Rossi, Product Mktg. Manager, Synopsys
Marco Casale-Rossi, Product Mktg. Manager, SynopsysMarco Casale-Rossi, Product Mktg. Manager, Synopsys
Marco Casale-Rossi, Product Mktg. Manager, Synopsyschiportal
 
Dr.Efraim Aharoni, ESD Leader, TowerJazz
Dr.Efraim Aharoni, ESD Leader, TowerJazzDr.Efraim Aharoni, ESD Leader, TowerJazz
Dr.Efraim Aharoni, ESD Leader, TowerJazzchiportal
 
Eddy Kvetny, System Engineering Group Leader, Intel
Eddy Kvetny, System Engineering Group Leader, IntelEddy Kvetny, System Engineering Group Leader, Intel
Eddy Kvetny, System Engineering Group Leader, Intelchiportal
 
Dr. John Bainbridge, Principal Application Architect, NetSpeed
 Dr. John Bainbridge, Principal Application Architect, NetSpeed  Dr. John Bainbridge, Principal Application Architect, NetSpeed
Dr. John Bainbridge, Principal Application Architect, NetSpeed chiportal
 
Xavier van Ruymbeke, App. Engineer, Arteris
Xavier van Ruymbeke, App. Engineer, ArterisXavier van Ruymbeke, App. Engineer, Arteris
Xavier van Ruymbeke, App. Engineer, Arterischiportal
 
Asi Lifshitz, VP R&D, Vtool
Asi Lifshitz, VP R&D, VtoolAsi Lifshitz, VP R&D, Vtool
Asi Lifshitz, VP R&D, Vtoolchiportal
 
Zvika Rozenshein,General Manager, EngineeringIQ
Zvika Rozenshein,General Manager, EngineeringIQZvika Rozenshein,General Manager, EngineeringIQ
Zvika Rozenshein,General Manager, EngineeringIQchiportal
 
Lewis Chu,Marketing Director,GUC
Lewis Chu,Marketing Director,GUC Lewis Chu,Marketing Director,GUC
Lewis Chu,Marketing Director,GUC chiportal
 
Gert Goossens,Sen. Director, ASIP Tools, Synopsys
Gert Goossens,Sen. Director, ASIP Tools, SynopsysGert Goossens,Sen. Director, ASIP Tools, Synopsys
Gert Goossens,Sen. Director, ASIP Tools, Synopsyschiportal
 
Tuvia Liran, Director of VLSI, Nano Retina
Tuvia Liran, Director of VLSI, Nano RetinaTuvia Liran, Director of VLSI, Nano Retina
Tuvia Liran, Director of VLSI, Nano Retinachiportal
 
Sagar Kadam, Lead Software Engineer, Open-Silicon
Sagar Kadam, Lead Software Engineer, Open-SiliconSagar Kadam, Lead Software Engineer, Open-Silicon
Sagar Kadam, Lead Software Engineer, Open-Siliconchiportal
 
Ronen Shtayer,Director of ASG Operations & PMO, NXP Semiconductor
Ronen Shtayer,Director of ASG Operations & PMO, NXP SemiconductorRonen Shtayer,Director of ASG Operations & PMO, NXP Semiconductor
Ronen Shtayer,Director of ASG Operations & PMO, NXP Semiconductorchiportal
 
Prof. Emanuel Cohen, Technion
Prof. Emanuel Cohen, TechnionProf. Emanuel Cohen, Technion
Prof. Emanuel Cohen, Technionchiportal
 
Prof. Ramez Daniel, Technion
Prof. Ramez Daniel, TechnionProf. Ramez Daniel, Technion
Prof. Ramez Daniel, Technionchiportal
 

Más de chiportal (20)

Prof. Zhihua Wang, Tsinghua University, Beijing, China
Prof. Zhihua Wang, Tsinghua University, Beijing, China Prof. Zhihua Wang, Tsinghua University, Beijing, China
Prof. Zhihua Wang, Tsinghua University, Beijing, China
 
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...
 
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...
Prof. Steve Furber, University of Manchester, Principal Designer of the BBC M...
 
Prof. Uri Weiser,Technion
Prof. Uri Weiser,TechnionProf. Uri Weiser,Technion
Prof. Uri Weiser,Technion
 
Ken Liao, Senior Associate VP, Faraday
Ken Liao, Senior Associate VP, FaradayKen Liao, Senior Associate VP, Faraday
Ken Liao, Senior Associate VP, Faraday
 
Prof. Danny Raz, Director, Bell Labs Israel, Nokia
 Prof. Danny Raz, Director, Bell Labs Israel, Nokia  Prof. Danny Raz, Director, Bell Labs Israel, Nokia
Prof. Danny Raz, Director, Bell Labs Israel, Nokia
 
Marco Casale-Rossi, Product Mktg. Manager, Synopsys
Marco Casale-Rossi, Product Mktg. Manager, SynopsysMarco Casale-Rossi, Product Mktg. Manager, Synopsys
Marco Casale-Rossi, Product Mktg. Manager, Synopsys
 
Dr.Efraim Aharoni, ESD Leader, TowerJazz
Dr.Efraim Aharoni, ESD Leader, TowerJazzDr.Efraim Aharoni, ESD Leader, TowerJazz
Dr.Efraim Aharoni, ESD Leader, TowerJazz
 
Eddy Kvetny, System Engineering Group Leader, Intel
Eddy Kvetny, System Engineering Group Leader, IntelEddy Kvetny, System Engineering Group Leader, Intel
Eddy Kvetny, System Engineering Group Leader, Intel
 
Dr. John Bainbridge, Principal Application Architect, NetSpeed
 Dr. John Bainbridge, Principal Application Architect, NetSpeed  Dr. John Bainbridge, Principal Application Architect, NetSpeed
Dr. John Bainbridge, Principal Application Architect, NetSpeed
 
Xavier van Ruymbeke, App. Engineer, Arteris
Xavier van Ruymbeke, App. Engineer, ArterisXavier van Ruymbeke, App. Engineer, Arteris
Xavier van Ruymbeke, App. Engineer, Arteris
 
Asi Lifshitz, VP R&D, Vtool
Asi Lifshitz, VP R&D, VtoolAsi Lifshitz, VP R&D, Vtool
Asi Lifshitz, VP R&D, Vtool
 
Zvika Rozenshein,General Manager, EngineeringIQ
Zvika Rozenshein,General Manager, EngineeringIQZvika Rozenshein,General Manager, EngineeringIQ
Zvika Rozenshein,General Manager, EngineeringIQ
 
Lewis Chu,Marketing Director,GUC
Lewis Chu,Marketing Director,GUC Lewis Chu,Marketing Director,GUC
Lewis Chu,Marketing Director,GUC
 
Gert Goossens,Sen. Director, ASIP Tools, Synopsys
Gert Goossens,Sen. Director, ASIP Tools, SynopsysGert Goossens,Sen. Director, ASIP Tools, Synopsys
Gert Goossens,Sen. Director, ASIP Tools, Synopsys
 
Tuvia Liran, Director of VLSI, Nano Retina
Tuvia Liran, Director of VLSI, Nano RetinaTuvia Liran, Director of VLSI, Nano Retina
Tuvia Liran, Director of VLSI, Nano Retina
 
Sagar Kadam, Lead Software Engineer, Open-Silicon
Sagar Kadam, Lead Software Engineer, Open-SiliconSagar Kadam, Lead Software Engineer, Open-Silicon
Sagar Kadam, Lead Software Engineer, Open-Silicon
 
Ronen Shtayer,Director of ASG Operations & PMO, NXP Semiconductor
Ronen Shtayer,Director of ASG Operations & PMO, NXP SemiconductorRonen Shtayer,Director of ASG Operations & PMO, NXP Semiconductor
Ronen Shtayer,Director of ASG Operations & PMO, NXP Semiconductor
 
Prof. Emanuel Cohen, Technion
Prof. Emanuel Cohen, TechnionProf. Emanuel Cohen, Technion
Prof. Emanuel Cohen, Technion
 
Prof. Ramez Daniel, Technion
Prof. Ramez Daniel, TechnionProf. Ramez Daniel, Technion
Prof. Ramez Daniel, Technion
 

Último

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilV3cube
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 

Último (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 

TRACK F: Improving Utilization of Acceleration Platforms by Using Off-Platform Test Generation/ Arkadiy Morgenshtein

  • 1. May 1, 2013 1 Improving Utilization of Acceleration Platforms by Using Off-Platform Test Generation May 1, 2013 Wisam Kadry, Dmitry Krestyashyn, Arkadiy Morgenshtein, Amir Nahir, Vitali Sokhin, Elena Tsanko IBM Research - Haifa
  • 2. May 1, 2013 2 Outline Introduction • Functional verification • Exercisers for Post-Si validation • Exercisers on Accelerators (EoA) Threadmill Overview • Architecture • Main features Offline Generation Mode • Motivation • Methodology Results • Utilization improvement • Coverage improvement Conclusions and Future Work
  • 3. May 1, 2013 3 Typical Functional Verification Flow Test Template Coverage Analysis Tool Coverage Information Random Stimuli Generator Test Test Fail PassDUV Simulator Checking, Assertions Coverage Reports
  • 4. May 1, 2013 4 Software Simulation Acceleration Prototyping Silicon Speed ControllabilityandObservability 10 1K 100K 10M 1G Pre and Post Silicon Tradeoffs
  • 5. May 1, 2013 5 • Run operating-systems and application – Very limited coverage – Very little variability – Hard to debug • Run test-cases generated by pre-silicon test-generators – Long generation time implies many servers need to feed one silicon platform – Low utilization due to loading time – Poor solutions for built-in online checking at test level • Pre-Si checking uses checkers of the simulation platforms, unavailable at Post-Si • Exercisers Post Silicon Validation Alternatives
  • 6. May 1, 2013 6 Exercisers: Post Silicon Validation Tools Exerciser - program that runs on a testing environment (accelerator or/and silicon) and “exercises” the design by testing interesting scenarios on it
  • 7. May 1, 2013 7 Exerciser requirements Include a random stimuli generation component (as in pre-silicon) Valid stimuli Adhere to user requests High quality stimuli Generate many test-cases from the same test-template Simple and fast Can run on early bring-up silicon Eases debugging Increases platform utilization Self-contained Minimal interaction with the environment Loaded once on the DUV, runs “forever” Bare-Metal Contains OS services required by the test-cases Enables complete machine control
  • 8. May 1, 2013 8 Threadmill: IBM Post-Silicon Exerciser Test Template System Configuration Architectural Model & Testing Knowledge Generator & Kernel Generation Checking Execution OS services Test Template Topology Architectural Model Exerciser Image Test Template Topology Architectural Model Test Template Topology Architectural Model Exerciser Image Builder Test Template Test Template Silicon Accelerator Reference Model
  • 9. May 1, 2013 9 Def language for test-templates: Rich language to describe the test-plan scenarios Multi-threaded support (each thread with its own scenario) Checking: Multi pass checking: comparing values of architectural resources (GPRs, SPRs, memory) between different executions of the same test-case Variability originates from changes to the state of the design Timing variations in multithreaded processing Randomization of uArch modes of the processors – thread priority, internal control modes Variations in pipeline and cache states User ability to specify self checking as part of the test-case Threadmill - Main Features
  • 10. May 1, 2013 10 Generation: Concurrent multi-threaded generation Light-weight, on-platform Static: no reference model and no state tracking Very fast :100s of tests per second on silicon Utilization: 90% generation, 10% execution and checking Threadmill - Main Features
  • 11. May 1, 2013 11 Large number of processors, each of which simulates a small portion of the design and pass the results between them Processors running in parallel, allowing high execution performance Orders of magnitude faster than simulation Allow good observability and coverage analysis Allow tests execution of billions of cycles at pre-Si stage The platform used extensively and simultaneously by multiple projects and locations High cost and limited resources dictate request for utilization efficiency Accelerators
  • 12. May 1, 2013 12 Exercisers on Accelerator Motivation: Verification of early design models – more cycles, longer tests than in simulation Debug at bring-up stage (better observability than Si, higher speed than simulation) Utilization of failure event checkers, available only on Accelerator SW validation Test quality analysis – coverage (count, specific functions hit) Challenges: High system cost and limited resource availability dictate a need for utilization efficiency improvement Tests ran by the exercisers should target coverage maximization within constrains of limited resources Proposed approach – Off-Platform Generation
  • 13. May 1, 2013 13 Threadmill Offline Generation Mode Execution Checking TC1 RES t0 Generation TC10 RES t0 Execution Checking TC1 RES t0 Generation Execution Checking TC1 RES t0 Generation Execution New Image Checking TC1 Results Accelerator Generation TC10 Results Generation Checking Execution OS services Test Template Topology Architectural Model Exerciser Image Test Template Topology Architectural Model Test Template Topology Architectural Model Exerciser Image Test Template Generator& Kernel Builder Architectural Model Reference ModelConfiguration
  • 14. May 1, 2013 14 Threadmill Offline Generation Mode • Create image with generator component enabled – Include empty data structures for the test-cases, memory initializations, translation tables and expected results • Run the post-silicon application on a software reference model • Extract the necessary data of test-cases, memory and results from the run on a software reference model – Fill data structures with all the data • Produce an image that includes all harvested data. – Disable the generator component • Load the image to the acceleration platform • Run the image without the overhead associated with the generation of test-cases and initializations.
  • 15. May 1, 2013 15 Offline vs. Regular Generation Pro’s • No cycles “waste” for on-platform generation • More test cases can be ran for same number of cycles • Higher test coverage can be expected • Comparison with SW reference model may reveal 2+2=5 bugs Con’s • Depends on a reference model • Big-size image loading influences number of test cases
  • 16. May 1, 2013 16 Experimental Setup • Two example test templates used as benchmarks: – Random: 100 random instructions – Directed: some threads perform load/stores; other threads run functional scenario • For each test template 3 images were prepared: – Regular mode – Offline mode with 50 test-cases – Offline mode with 100 test-cases
  • 17. May 1, 2013 17 1.35 M1.3 M4.8 MCycles per test-case 10050124Num of test-cases 135 M65 M595 MTotal Accelerator cycles 44.3 MB23.7 MB3.5 MBImage size 15.8 min8 min0.6 minTime to prepare image Offline mode 100 TCOffline mode 50 TCRegular mode Accelerator utilization improvement: x3.7 Results – Random Test
  • 18. May 1, 2013 18 1.45 M1.4 M7 MCycles per test-case 1005042Num of test-cases 145 M70 M295 MTotal Accelerator cycles 45.9 MB24.6 MB3.7 MBImage size 17.9 min10.2 min0.7 minTime to prepare image Offline mode 100 TCOffline mode 50 TCRegular mode Accelerator utilization improvement: x5 Results – Directed Test
  • 19. May 1, 2013 19 Coverage Comparison •About 50,000 coverage events are analyzed in the Accelerator model •A test of a new special feature of the next Power design was selected for coverage comparison • Only events related to the specific functionality were analyzed • Exerciser code does not use the analyzed feature - less coverage “noise” •Number of covered events (out of 310 analyzed events): • Offline – 237 • Regular – 209 •Total count of hits of all events: • Offline – 117,020 • Regular – 56,708
  • 20. May 1, 2013 20 1 10 100 1000 10000 100000 coverage events #hits hitCounter_offline hitCounter_regular Coverage Comparison Events hit only by OfflineOffline achieves more hits for most events
  • 21. May 1, 2013 21 Conclusions and Future Work • More TCs – higher chance of triggering various scenarios • Improved coverage • Quality assessment of test content that is later used at bring-up • The Offline generation concept may be used in future as basis for a dedicated tool for Accelerator-based verification
  • 22. May 1, 2013 22 References • A. Adir, S. Copty, S. Landa, A. Nahir, G. Shurek, A. Ziv, C. Meissner, J. Schumann, “A unified methodology for pre-silicon verification and post-silicon validation” – DATE 2011 • A. Adir, M. Golubev, S. Landa, A. Nahir, G. Shurek, V. Sokhin, A. Ziv, “Threadmill: A post-silicon exerciser for multi-threaded processors” – DAC 2011 • A. Adir, A. Nahir, G. Shurek, A. Ziv, C. Meissner, J. Schumann, “Leveraging pre-silicon verification resources for the post-silicon validation of the IBM POWER7 processor” – DAC 2011
  • 24. May 1, 2013 24 Thank You!