mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 21:14:27 +01:00
gem5: document kernel boot speedup
This commit is contained in:
12
README.adoc
12
README.adoc
@@ -10201,6 +10201,18 @@ It is obviously not possible to understand what they actually do from their comm
|
|||||||
* `drm: Add component-aware simple encoder` allows you to see images through VNC: <<gem5-graphic-mode>>
|
* `drm: Add component-aware simple encoder` allows you to see images through VNC: <<gem5-graphic-mode>>
|
||||||
* `gem5: Add support for gem5's extended GIC mode` adds support for more than 8 cores: <<gem5-arm-more-than-8-cores>>
|
* `gem5: Add support for gem5's extended GIC mode` adds support for more than 8 cores: <<gem5-arm-more-than-8-cores>>
|
||||||
|
|
||||||
|
==== gem5 arm Linux kernel patches boot speedup
|
||||||
|
|
||||||
|
We have observed that with the kernel patches, boot is 2x faster, falling from 1m40s to 50s.
|
||||||
|
|
||||||
|
With link:https://stackoverflow.com/questions/49797246/how-to-monitor-for-how-much-time-each-line-of-stdout-was-the-last-output-line-in/49797547#49797547[`ts`], we see that a large part of the difference is at the message:
|
||||||
|
|
||||||
|
....
|
||||||
|
clocksource: Switched to clocksource arch_sys_counter
|
||||||
|
....
|
||||||
|
|
||||||
|
which takes 4s on the patched kernel, and 30s on the unpatched one! TODO understand why, especially if it is a config difference, or if it actually comes from a patch.
|
||||||
|
|
||||||
=== m5out directory
|
=== m5out directory
|
||||||
|
|
||||||
When you run gem5, it generates an `m5out` directory at:
|
When you run gem5, it generates an `m5out` directory at:
|
||||||
|
|||||||
Reference in New Issue
Block a user