cirosantilli / linux-kernel-module-cheat

The perfect emulation setup to study and develop the Linux kernel v5.4.3, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 24.04 host.
https://cirosantilli.com/linux-kernel-module-cheat
GNU General Public License v3.0
4.21k stars 605 forks source link

Parsec input size #46

Closed andrewzigerelli closed 5 years ago

andrewzigerelli commented 5 years ago
./build-buildroot \
  --arch x86_64 \
  --config 'BR2_PACKAGE_PARSEC_BENCHMARK=y' \
  --config 'BR2_PACKAGE_PARSEC_BENCHMARK_INPUT_SIZE="simsmall"' \
  -- parsec-benchmark-reconfigure \
;

fails during the build with:

make[1]: *** No rule to make target 'parsec-benchmark-reconfigure'. Stop. Makefile:79: recipe for target '_all' failed

Further, do you have any advice about the rest of parsec that doesn't compile? I know I could just bite the bullet and use the disk image from UT, but I really like your setup and am willing to put in some time to make more benchmarks works.

Thanks!

cirosantilli commented 5 years ago

Hey,

See if this fixed the problem: https://github.com/cirosantilli/linux-kernel-module-cheat/commit/9f6ddbc436f344dd77dd9d5646dbe643f97533e4

I debugged it by looking at what sample_package is doing and comparing them.

For the missing benchmarks: I have summarized my investigation of missing parts at: https://github.com/cirosantilli/parsec-benchmark/tree/75d55ac446a43c47efb1044844a108c6c330184c

But basically, there are two types of problems:

Then send a pull request ;-)

andrewzigerelli commented 5 years ago

Thank you very much! I should have made my grep for parsec-benchmark more general...