Created
June 27, 2022 01:37
-
-
Save gamozolabs/c85252009fd9c4a7b1df4e0d80904ce3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Data: | |
linux-5.18.6-gentoo source tree | |
Command: | |
time grep -rli "asdf" . | |
# Native | |
pleb@gamey /usr/src/linux $ time grep -rli "asdf" . | |
./drivers/tty/sysrq.o | |
./drivers/s390/block/dasd_ioctl.c | |
grep: ./certs/signing_key.pem: Permission denied | |
./arch/x86/boot/compressed/vmlinux.bin | |
./arch/s390/include/uapi/asm/dasd.h | |
./arch/powerpc/platforms/powermac/udbg_adb.c | |
./vmlinux.o | |
./.tmp_vmlinux.kallsyms1 | |
./.tmp_vmlinux.kallsyms2 | |
./vmlinux | |
real 0m8.359s | |
user 0m7.589s | |
sys 0m0.748s | |
# QEMU NVMe | |
qemu-system-x86_64 -nographic -nodefaults -drive file=foo.img,if=none,id=nvm -device nvme,serial=deadbeef,drive=nvm -kernel /boot/vmlinuz-5.18.6-gentoo-x86_64 -serial stdio -initrd /boot/initramfs-5.18.6-gentoo-x86_64.img -m 4096 -append console=ttyS0 -accel kvm | |
rescueshell /mnt/linux-5.18.6-gentoo # time grep -rli "asdf" . | |
./arch/powerpc/platforms/powermac/udbg_adb.c | |
./arch/s390/include/uapi/asm/dasd.h | |
./arch/x86/boot/compressed/vmlinux.bin | |
./vmlinux.o | |
./.tmp_vmlinux.kallsyms1 | |
./.tmp_vmlinux.kallsyms2 | |
./vmlinux | |
./drivers/tty/sysrq.o | |
./drivers/s390/block/dasd_ioctl.c | |
real 2m 20.00s | |
user 1m 58.76s | |
sys 0m 6.39s | |
# QEMU HDA | |
qemu-system-x86_64 -nographic -nodefaults -hda foo.img -kernel /boot/vmlinuz-5.18.6-gentoo-x86_64 -serial stdio -initrd /boot/initramfs-5.18.6-gentoo-x86_64.img -m 4096 -append console=ttyS0 -accel kvm | |
rescueshell /mnt/linux-5.18.6-gentoo # time grep -rli "asdf" . | |
./arch/powerpc/platforms/powermac/udbg_adb.c | |
./arch/s390/include/uapi/asm/dasd.h | |
./arch/x86/boot/compressed/vmlinux.bin | |
./vmlinux.o | |
./.tmp_vmlinux.kallsyms1 | |
./.tmp_vmlinux.kallsyms2 | |
./vmlinux | |
./drivers/tty/sysrq.o | |
./drivers/s390/block/dasd_ioctl.c | |
real 3m 0.93s | |
user 2m 0.10s | |
sys 0m 22.90s | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment