Difference between revisions of "Documentation"
From gem5
Nilayvaish (talk | contribs) m (→Running gem5: Added Fast Forwarding to the description of the new page.) |
m |
||
(33 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
Welcome to the gem5 documentation. We've worked hard to add and organize everything in a more reasonable format, however we still haven't got to everything. All the documentation is a wiki, so we encourage you to add and edit sections as you find omissions and bugs. | Welcome to the gem5 documentation. We've worked hard to add and organize everything in a more reasonable format, however we still haven't got to everything. All the documentation is a wiki, so we encourage you to add and edit sections as you find omissions and bugs. | ||
+ | |||
+ | For an overview, we have posted slides and most importantly '''video''' of a tutorial at HiPEAC Computer Systems Week. See [[Tutorials]]. | ||
'''Old Documentation:''' We have some old documentation and have been trying to move everything to the new format, but we haven't quite succeeded yet. If you don't find the answer you're looking for here, you might want to check [[OldDocumentation | the old documentation]]. | '''Old Documentation:''' We have some old documentation and have been trying to move everything to the new format, but we haven't quite succeeded yet. If you don't find the answer you're looking for here, you might want to check [[OldDocumentation | the old documentation]]. | ||
Line 9: | Line 10: | ||
# [[Dependencies]] - Things you'll need that aren't part of gem5 itself. | # [[Dependencies]] - Things you'll need that aren't part of gem5 itself. | ||
# [[Build System]] - How to run or modify gem5's build system. | # [[Build System]] - How to run or modify gem5's build system. | ||
− | + | # [[Download | Full System and Benchmark Files]] - Disk images for operating system and benchmark applications, and how to install them. | |
+ | # [[gem5 101]] - Six part course covering all the basics of gem5 (and some advanced material too). | ||
+ | |||
== Running gem5 == | == Running gem5 == | ||
# [[Running gem5]] - Starting a simulation from the command line. | # [[Running gem5]] - Starting a simulation from the command line. | ||
+ | # [[Output Files]] - Output obtained from simulation | ||
# [[Checkpoints]], Fast Forwarding - How to create Checkpoints, restore the checkpointed state, fast forward simulation. | # [[Checkpoints]], Fast Forwarding - How to create Checkpoints, restore the checkpointed state, fast forward simulation. | ||
# [[Regression Tests]] - Running the regression tests. | # [[Regression Tests]] - Running the regression tests. | ||
# [[SimObjects]] - What SimObjects are and how they work. | # [[SimObjects]] - What SimObjects are and how they work. | ||
− | # [[Configuration Scripts]] - | + | # [[Configuration / Simulation Scripts]] - Explains how to configure the simulator and run simulations |
− | |||
− | |||
− | |||
# [[Visualization]] -- Tools to help visualize what is going on in a system | # [[Visualization]] -- Tools to help visualize what is going on in a system | ||
== Workloads == | == Workloads == | ||
# [[Compiling workloads | Compiling]] - How to compile workloads to run within gem5. | # [[Compiling workloads | Compiling]] - How to compile workloads to run within gem5. | ||
− | # [[Multiprogrammed workloads]] - Multiprogrammed workloads in SE mode. | + | # [[Multiprogrammed workloads | Multi-programmed]] - Multiprogrammed workloads in SE mode. |
− | # [[Multithreaded workloads]] - Multithreaded workloads in SE mode. | + | # [[Multithreaded workloads | Multi-threaded]] - Multithreaded workloads in SE mode. |
# Benchmark suites | # Benchmark suites | ||
## [[SPEC benchmarks | SPEC]] - SPEC benchmarks in SE mode. | ## [[SPEC benchmarks | SPEC]] - SPEC benchmarks in SE mode. | ||
− | ## [[ | + | ## [[Splash benchmarks | SPLASH]] - SPLASH benchmarks (SE or FS mode?) |
## [[PARSEC benchmarks | PARSEC]] - PARSEC benchmarks in FS mode. | ## [[PARSEC benchmarks | PARSEC]] - PARSEC benchmarks in FS mode. | ||
# [[Disk images]] - Setting up a disk image. | # [[Disk images]] - Setting up a disk image. | ||
Line 35: | Line 36: | ||
== Development == | == Development == | ||
# [[Functional Testers]] | # [[Functional Testers]] | ||
− | ## [[ | + | #* [[Directed Test]] |
− | ## [[ | + | #* [[memtest]] |
− | ## [[ | + | #* [[Garnet Synthetic Traffic]] |
− | # | + | #* [[Ruby Random Tester]] |
− | # [[Debugging]] | + | # Debugging - features designed specifically to help you figure out what's going on. |
+ | #* [[Trace Based Debugging | Trace-Based Debugging]]: figuring out what gem5 is doing using debug traces | ||
+ | #* [[Debugger Based Debugging | Debugger-Based Debugging]]: using gdb to debug gem5 | ||
+ | #* [[Debugging Simulated Code]]: debugging the system/program running on top of gem5 | ||
# [[Coding Style]] | # [[Coding Style]] | ||
− | # [[ | + | # [[Adding Functionality]] |
+ | #* [[Managing Local Changes with Mercurial Queues]] | ||
+ | #* [[Extras | Compiling Additional Code with EXTRAS]] | ||
# [[Source Code Documentation]] | # [[Source Code Documentation]] | ||
− | # [[ | + | # [[Submitting Contributions]] |
== Infrastructure == | == Infrastructure == | ||
Line 53: | Line 59: | ||
== Memory System == | == Memory System == | ||
# [[General Memory System]] - Shared infrastructure between the Classic and Ruby models | # [[General Memory System]] - Shared infrastructure between the Classic and Ruby models | ||
− | # [[Classic Memory System]] - Description of our easily configurable, | + | # [[Classic Memory System]] - Description of our easily configurable, crossbar-based memory system |
# [[Ruby]] - Description of our detailed and flexible memory system. Lots of information here. | # [[Ruby]] - Description of our detailed and flexible memory system. Lots of information here. | ||
− | # | + | #* [[SLICC|SLICC Overview]] |
− | # | + | #* [[GEMS-gem5_SLICC_Transition_Guide|SLICC Transistion Guide]] |
+ | #* [[Interconnection_Network]] | ||
== Full System == | == Full System == | ||
Line 78: | Line 85: | ||
# [[O3CPU | Out-of-Order CPU Model]] | # [[O3CPU | Out-of-Order CPU Model]] | ||
# [[InOrder | In Order CPU Model]] | # [[InOrder | In Order CPU Model]] | ||
+ | # [[TraceCPU | Trace CPU Model ]] | ||
# [[Adding a New CPU Model]] | # [[Adding a New CPU Model]] | ||
== ISA Implementations == | == ISA Implementations == | ||
− | # [[ | + | # [[Architecture Support]] -- What architectures are supported by gem5 and what features of them are implemented |
+ | # [[Status Matrix]] | ||
# [[ISA Parser]] | # [[ISA Parser]] | ||
# [[Alpha Implementation]] | # [[Alpha Implementation]] |
Latest revision as of 01:22, 28 November 2016
Welcome to the gem5 documentation. We've worked hard to add and organize everything in a more reasonable format, however we still haven't got to everything. All the documentation is a wiki, so we encourage you to add and edit sections as you find omissions and bugs.
For an overview, we have posted slides and most importantly video of a tutorial at HiPEAC Computer Systems Week. See Tutorials.
Old Documentation: We have some old documentation and have been trying to move everything to the new format, but we haven't quite succeeded yet. If you don't find the answer you're looking for here, you might want to check the old documentation.
Contents
Getting Started
- Introduction - A quick introduction to gem5.
- Source Code - Information about the source code itself.
- Dependencies - Things you'll need that aren't part of gem5 itself.
- Build System - How to run or modify gem5's build system.
- Full System and Benchmark Files - Disk images for operating system and benchmark applications, and how to install them.
- gem5 101 - Six part course covering all the basics of gem5 (and some advanced material too).
Running gem5
- Running gem5 - Starting a simulation from the command line.
- Output Files - Output obtained from simulation
- Checkpoints, Fast Forwarding - How to create Checkpoints, restore the checkpointed state, fast forward simulation.
- Regression Tests - Running the regression tests.
- SimObjects - What SimObjects are and how they work.
- Configuration / Simulation Scripts - Explains how to configure the simulator and run simulations
- Visualization -- Tools to help visualize what is going on in a system
Workloads
- Compiling - How to compile workloads to run within gem5.
- Multi-programmed - Multiprogrammed workloads in SE mode.
- Multi-threaded - Multithreaded workloads in SE mode.
- Benchmark suites
- Disk images - Setting up a disk image.
- Linux kernel - Preparing a Linux kernel for use in gem5.
- m5ops - How to talk to the simulator from within a simulated workload.
Development
- Functional Testers
- Debugging - features designed specifically to help you figure out what's going on.
- Trace-Based Debugging: figuring out what gem5 is doing using debug traces
- Debugger-Based Debugging: using gdb to debug gem5
- Debugging Simulated Code: debugging the system/program running on top of gem5
- Coding Style
- Adding Functionality
- Source Code Documentation
- Submitting Contributions
Infrastructure
Memory System
- General Memory System - Shared infrastructure between the Classic and Ruby models
- Classic Memory System - Description of our easily configurable, crossbar-based memory system
- Ruby - Description of our detailed and flexible memory system. Lots of information here.
Full System
Syscall Emulation
Instruction Execution
CPU Models
ISA Implementations
- Architecture Support -- What architectures are supported by gem5 and what features of them are implemented
- Status Matrix
- ISA Parser
- Alpha Implementation
- ARM Implementation
- MIPS Implementation
- Power Implementation
- SPARC Implementation
- X86 Implementation
- Defining ISAs