£1200 laptop from four years ago:
£20k server from 2019:
New £1300 laptop:
real 0m40.083s
user 8m57.941s
sys 0m48.364s
538.61s user 48.13s system 1492% cpu 39.319 total
I mean… talk about an upgrade.
$ inxi -Cm
Memory: RAM: total: 13.58 GiB used: 6.42 GiB (47.3%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU: Info: 8-Core model: AMD Ryzen 7 5800H with Radeon Graphics bits: 64 type: MT MCP cache: L2: 4 MiB
Speed: 1397 MHz min/max: 1200/3200 MHz Core speeds (MHz): 1: 1397 2: 1401 3: 1978 4: 2693 5: 1932
6: 1886 7: 3163 8: 2022 9: 1397 10: 1397 11: 1400 12: 1540 13: 3985 14: 1396 15: 2845 16: 1397
1 Like
real 1m55.727s
user 25m16.033s
sys 2m15.099s
[ricklinux@eos-kde linux-5.15.5]$
pebcak
November 26, 2021, 7:11pm
144
The process seems to error out on me
The last few lines of the output:
make: *** [Makefile:1175: prepare0] Error 2
make: *** Waiting for unfinished jobs....
real 0m2.018s
user 0m8.092s
sys 0m2.132s
Full output
[pebcak@enos-gnome linux-5.8.3]$ make mrproper
[pebcak@enos-gnome linux-5.8.3]$ make defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/confdata.o
HOSTCC scripts/kconfig/expr.o
LEX scripts/kconfig/lexer.lex.c
YACC scripts/kconfig/parser.tab.[ch]
HOSTCC scripts/kconfig/lexer.lex.o
HOSTCC scripts/kconfig/parser.tab.o
HOSTCC scripts/kconfig/preprocess.o
HOSTCC scripts/kconfig/symbol.o
HOSTCC scripts/kconfig/util.o
HOSTLD scripts/kconfig/conf
*** Default configuration is based on ‘x86_64_defconfig’
configuration written to .config
[pebcak@enos-gnome linux-5.8.3]$ time(make -j$(nproc))
SYSTBL arch/x86/include/generated/asm/syscalls_32.h
SYSTBL arch/x86/include/generated/asm/syscalls_64.h
SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h
SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h
SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h
WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h
WRAP arch/x86/include/generated/uapi/asm/errno.h
WRAP arch/x86/include/generated/uapi/asm/fcntl.h
WRAP arch/x86/include/generated/uapi/asm/ioctl.h
WRAP arch/x86/include/generated/uapi/asm/ioctls.h
WRAP arch/x86/include/generated/uapi/asm/ipcbuf.h
WRAP arch/x86/include/generated/uapi/asm/param.h
WRAP arch/x86/include/generated/uapi/asm/poll.h
WRAP arch/x86/include/generated/uapi/asm/resource.h
WRAP arch/x86/include/generated/uapi/asm/sockios.h
WRAP arch/x86/include/generated/uapi/asm/termbits.h
WRAP arch/x86/include/generated/uapi/asm/socket.h
WRAP arch/x86/include/generated/uapi/asm/termios.h
WRAP arch/x86/include/generated/uapi/asm/types.h
HOSTCC arch/x86/tools/relocs_32.o
HOSTCC arch/x86/tools/relocs_64.o
HOSTCC arch/x86/tools/relocs_common.o
WRAP arch/x86/include/generated/asm/early_ioremap.h
WRAP arch/x86/include/generated/asm/export.h
WRAP arch/x86/include/generated/asm/dma-contiguous.h
WRAP arch/x86/include/generated/asm/mm-arch-hooks.h
WRAP arch/x86/include/generated/asm/irq_regs.h
WRAP arch/x86/include/generated/asm/mcs_spinlock.h
WRAP arch/x86/include/generated/asm/mmiowb.h
UPD include/config/kernel.release
UPD include/generated/uapi/linux/version.h
HOSTCC scripts/kallsyms
HOSTCC scripts/sorttable
HOSTCC scripts/asn1_compiler
HOSTCC scripts/extract-cert
HOSTCC scripts/selinux/genheaders/genheaders
HOSTCC scripts/selinux/mdp/mdp
UPD include/generated/utsrelease.h
DESCEND objtool
HOSTCC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/fixdep.o
HOSTLD /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/fixdep-in.o
LINK /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/fixdep
HOSTLD arch/x86/tools/relocs
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/exec-cmd.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/help.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/pager.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/parse-options.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/run-command.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/sigchain.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/subcmd-config.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/weak.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/special.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/check.o
MKDIR /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/arch/x86/lib/
GEN /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/arch/x86/lib/inat-tables.c
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/orc_gen.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/orc_dump.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/arch/x86/decode.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/builtin-check.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/builtin-orc.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/elf.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/objtool.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/libstring.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/libctype.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/str_error_r.o
CC /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/librbtree.o
LD /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/libsubcmd-in.o
AR /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/libsubcmd.a
LD /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/arch/x86/objtool-in.o
HOSTCC scripts/mod/mk_elfconfig
CC scripts/mod/devicetable-offsets.s
CC scripts/mod/empty.o
UPD scripts/mod/devicetable-offsets.h
MKELF scripts/mod/elfconfig.h
HOSTCC scripts/mod/modpost.o
HOSTCC scripts/mod/sumversion.o
HOSTCC scripts/mod/file2alias.o
HOSTLD scripts/mod/modpost
CC kernel/bounds.s
CALL scripts/atomic/check-atomics.sh
/bin/sh: line 1: bc: command not found
make[1]: *** [Kbuild:24: include/generated/timeconst.h] Error 127
make[1]: *** Waiting for unfinished jobs…
LD /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/objtool-in.o
LINK /home/pebcak/KernetTest/linux-5.8.3/tools/objtool/objtool
make: *** [Makefile:1175: prepare0] Error 2
make: *** Waiting for unfinished jobs…
real 0m2.018s
user 0m8.092s
sys 0m2.132s
Am I doing something wrong?
What commands are you using?
pebcak
November 26, 2021, 7:16pm
146
These from @alenbasic
Well, we’re not going to do anything with this kernel when compiled, you can just delete it afterwards since it’s just for performance benchmark reasons. In terms of what to do more step by step:
Open a terminal
cd into a directory where you’ll want to download the file
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.8.3.tar.xz
once it’s finished downloading, run tar -axf linux-5.8.3.tar.xz to extract the files and cd linux-5.8.3/
from there, run the commands I mentioned above: m…
It’s hidden under the “Full output” in my previous post.
It seems too quick anyway.
1 Like
pebcak
November 26, 2021, 7:18pm
149
Yeah, shockingly so! Then I looked at the output…
pebcak
November 26, 2021, 7:36pm
151
make: *** [Makefile:1175: prepare0] Error 2`
Line 1173-1175 in MakeFile:
prepare0: archprepare
$(Q)$(MAKE) $(build)=scripts/mod
$(Q)$(MAKE) $(build)=.
Does anyone have some idea what might be wrong?
I just ran it again and i got no times?
Kernel: arch/x86/boot/bzImage is ready (#1 )
Do you have base-devel installed? (also bc is a separate command but I’m surprised if it’s needed for compiling the kernel).
ricklinux:
You got it already?
Yup. In process of installing and getting everything tweaked. I’m going to try dual-booting this one so I might be able to play with VR (ALVR didn’t work when I tried it).
Already, it’s surprising how much smoother, quieter, and cooler everything is. (my past three laptops have had constant fan noise, and then this one… so quiet).
1 Like
pebcak
November 27, 2021, 10:40am
154
Thanks for the reply!
I had all the packages in base-devel already installed but not bc (I missed this /bin/sh: line 1: bc: command not found )
Now here is my not so flattering time:
real 2m28.705s|
user 33m34.890s
sys 3m49.538s
with:
$ inxi -Cm
Memory: RAM: total: 15.07 GiB used: 2.48 GiB (16.5%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU: Info: 8-Core model: AMD Ryzen 7 4800U with Radeon Graphics bits: 64 type: MT MCP cache: L2: 4 MiB
Speed: 3250 MHz min/max: 1400/1800 MHz Core speeds (MHz): 1: 3250 2: 3973 3: 3115 4: 4158 5: 1848
6: 2770 7: 3203 8: 2418 9: 1462 10: 1416 11: 1866 12: 1404 13: 4182 14: 1480 15: 2548 16: 1657
pebcak
November 27, 2021, 10:46am
155
jonathon:
Already, it’s surprising how much smoother, quieter, and cooler everything is. (my past three laptops have had constant fan noise, and then this one… so quiet).
Is this one you linked to before?
View our range of laptops and notebooks. We stock award winning laptops from brands such as HP, Lenovo, Acer, Asus, Dell, MSI, Toshiba, Fujitsu, Microsoft and Apple, and offer free delivery on all our laptops!
This is far too slow for that processor - are you compiling on a 5400rpm HDD? Try again with it in RAM (e.g. extract under /tmp or /dev/shm), pretty sure it shouldn’t be slower than my old laptop…
1 Like
jonathon:
Try again with it in RAM
This makes a big difference … I ran on one of my laptops with the files on nvme drive:
real 1m50.345s
user 12m38.686s
sys 1m5.072s
versus in a RAM drive:
real 1m15.071s
user 8m38.415s
sys 0m45.800s
same hardware for both runs…
Memory: RAM: total: 15.49 GiB used: 3.39 GiB (21.9%)
RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU: Info: Quad Core model: Intel Core i7-8550U bits: 64 type: MT MCP cache: L2: 8 MiB
Speed: 3701 MHz min/max: 400/4000 MHz Core speeds (MHz): 1: 3701 2: 3705 3: 3708 4: 3700 5: 3700 6: 3705 7: 3706
Drives: Local Storage: total: 4.34 TiB used: 1.26 TiB (29.0%)
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKKW512G7 size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD
serial: <filter> rev: PSF109C temp: 21.9 C scheme: MBR
1 Like
pebcak
November 29, 2021, 11:22am
158
Thanks @jonathon !
The machine has an M.2 SSD.
I’ll redo the test as per your suggestion later on an post the result.
1 Like
Joseph
November 29, 2021, 12:11pm
159
A year later. 4800HS
real 0m45.835s
user 9m58.770s
sys 1m3.239s
1 Like
this will change in few weeks
start your engine …
1 Like