Commit Graph

361 Commits

Author SHA1 Message Date
Ciro Santilli
901a38809c Sketch parsec build 2018-02-28 17:40:04 +00:00
Ciro Santilli
567515c067 lscpu was working after all... oh, and I can count boot cycles with gem5 much more easily 2018-02-28 14:33:23 +00:00
Ciro Santilli
7228f75ac7 Update QEMU text mode behaviour description 2018-02-28 06:31:28 +00:00
Ciro Santilli
bff0252d15 gem5 add full system FS keywords to text 2018-02-28 06:18:21 +00:00
Ciro Santilli
e208cc15eb Code -- escape v2 2018-02-28 06:15:20 +00:00
Ciro Santilli
aaf6b99c56 Document educational hardware models on toplevel 2018-02-28 05:17:19 +00:00
Ciro Santilli
6f7dd3de24 Fix em dash... https://github.com/asciidoctor/asciidoctor/issues/2582 2018-02-28 04:54:03 +00:00
Ciro Santilli
ddc156bed8 gem5 break system parameters into multiple sections 2018-02-28 04:29:50 +00:00
Ciro Santilli
b887993681 Simplify gem5 documentation structure 2018-02-28 03:50:17 +00:00
Ciro Santilli
8a6dfdca43 Fix gem5 GDB debug 2018-02-28 03:24:28 +00:00
Ciro Santilli
13367a4a5e Merge branch 'master' of github.com:cirosantilli/linux-kernel-module-cheat 2018-02-28 02:52:33 +00:00
Ciro Santilli
321761f177 Get rid of action to make things simpler 2018-02-28 02:48:57 +00:00
Ciro Santilli
0b1eaf316c Explain why cant check DerivO3CPU cache impact 2018-02-27 14:51:42 +00:00
Ciro Santilli
cc347bbef7 gem5 sort out most of the cache situation 2018-02-27 12:57:07 +00:00
Ciro Santilli
05d8a324f7 gem5: fix and improve some benchmarks 2018-02-27 07:59:03 +00:00
Ciro Santilli
44a26f0478 Sketch x86 command with caches 2018-02-26 18:20:57 +00:00
Ciro Santilli
19b55c57cc Document cache experiments, failed attempt to install lscpu 2018-02-26 17:42:49 +00:00
Ciro Santilli
68788a8f35 fix gem5-shell quoting 2018-02-26 11:31:10 +00:00
Ciro Santilli
7cff306a0b Multiple gem5 instances, make it easier on gem5-shell 2018-02-26 08:21:25 +00:00
Ciro Santilli
4519c63b01 Summarize Linux cache attempts 2018-02-26 08:16:03 +00:00
Ciro Santilli
1b797928e1 Link to android kernel playground 2018-02-26 07:23:02 +00:00
Ciro Santilli
e80a2b21ed QEMU x86 kvm bench 2018-02-26 07:17:25 +00:00
Ciro Santilli
5ae86f0df7 GEM5 develop system param tweaking a bit more 2018-02-25 21:47:48 +00:00
Ciro Santilli
e22b52508b Document cycle accurate would make the simulation even slower 2018-02-25 20:45:28 +00:00
Ciro Santilli
d9302d1d76 Add x86 benchmark 2018-02-25 20:41:54 +00:00
Ciro Santilli
2092180ac8 Update GEM5 to master to fix x86 boot via 3feeb994ae613fd6b3734c1a991285b2ecbd1946
See also: http://gem5-users.gem5.narkive.com/CQh9J6fU/fail-to-run-fs-mode-with-linux-kernel-v4-8-13-and-ubuntu-image-16-04-1

Start sketching how to tweak system parameters, number of CPUs works, caches don't.
2018-02-25 20:27:35 +00:00
Ciro Santilli
a20baebb36 Create a .profile for fun 2018-02-25 11:49:11 +00:00
Ciro Santilli
2eff007f7c GEM5 checkpoint switch to HPI for benchmarking.
Don't pass -e on checkpoint restore.

Add benchmarks to how much GEM5 is slower than QEMU.

Rename Kernel boot command line arguments to match kernel docs name.

Document how to pass extra options to GEM5.

Start listing interesting benchmarks to run on GEM5.

Add an openmp hello world.
2018-02-25 10:59:28 +00:00
Ciro Santilli
42d86576cd Move to the more automated gem5-bench benchmarking script.
Enable everything in the toolchain in preparation to future benchmarking
to prevent future rebuilds, notably C++, Fortran and LTO support.

Document compiler optimizations for benchmarking.

Document graph-build for monitoring build times.
2018-02-24 05:32:30 +00:00
Ciro Santilli
8a5c310535 Document failed bisect of ARM kernel module debug 2018-02-24 04:10:27 +00:00
Ciro Santilli
c01df4301d Merge branch 'master' of github.com:cirosantilli/linux-kernel-module-cheat 2018-02-24 03:53:16 +00:00
Ciro Santilli
ecca3480ad bak 2018-02-24 03:52:46 +00:00
Ciro Santilli
52d07614c3 GEM5 benchmark cycle counting 2018-02-23 12:37:49 +00:00
Ciro Santilli
75fd05c1c8 Document m5 exit 2018-02-23 10:08:27 +00:00
Ciro Santilli
7bd23baae8 Add m5 to path 2018-02-23 10:01:58 +00:00
Ciro Santilli
e076e0eb64 Move gem5 doc down since much of it is diffed with qemu 2018-02-23 04:58:47 +00:00
Ciro Santilli
baca62a883 Allow passing options to gem5 itself instead of fs.py 2018-02-23 04:55:17 +00:00
Ciro Santilli
a1776aef80 QEMU guest agent qemu-ga 2018-02-23 04:35:03 +00:00
Ciro Santilli
a1cd07d6ed Rename rungem5-shell to gem5-shell to make shorter 2018-02-23 02:24:40 +00:00
Ciro Santilli
4a9469d83c GEM5 aarch64 2018-02-22 18:50:27 +00:00
Ciro Santilli
5a1d5ba7a9 Merge branch 'master' of github.com:cirosantilli/linux-kernel-module-cheat 2018-02-22 17:45:21 +00:00
Ciro Santilli
ecdded0316 gem5 vs qemu license 2018-02-22 15:46:59 +00:00
Ciro Santilli
b895ba1815 Document that GEM5 snapshot is better than QEMU since guest started 2018-02-22 11:47:16 +00:00
Ciro Santilli
cd34810607 Document ARM kernel module step debugging is broken 2018-02-22 10:12:06 +00:00
Ciro Santilli
6420c31986 GEM5 gdb debug
Improve GEM5 documentation in general.

Fix documentation for x86 kernel module debugging example, fop_write had been made static,
and use timer.ko instead of fops which is more reliable and fun.
2018-02-22 10:05:57 +00:00
Ciro Santilli
ff71f19fa6 GEM5 don't pass norandmaps twice 2018-02-22 08:39:03 +00:00
Ciro Santilli
80e299850d GEM5 vm GDB debug 2018-02-22 08:35:11 +00:00
Ciro Santilli
e4dde335ed Document initrd is good as it uses pristine image 2018-02-22 08:25:32 +00:00
Ciro Santilli
be8897304b Fix nested list 2018-02-22 00:37:22 +00:00
Ciro Santilli
2c4a9476be Fix x86 build with GEM5. Boot still fails as before.
Use ./run -g instead of ./rungem5.

More convenient GEM5 kernel command line options with -e differentially.
2018-02-22 00:23:57 +00:00