I am anything but an OpenBSD expert, but from other operating systems knowledge I would suggest, that you see file system cache in action.
Your system comes with much more RAM than needed, at least initially, and that RAM is used to cache slow hard disk operations. If you copy 100MB, these 100MB will be loaded in RAM and will stay there, until other processes need that RAM and file system cache is flushed. You can verify this easily by repeatedly calling that command. Keep copying that large file and deleting the copy, and check, whether your RAM irretrievably fills up, or whether everything remains fine. On Mon, 2023-05-15 at 09:10 +0000, bugreport555 wrote: > > Synopsis: Some programs appear to cause system to leak memory, fill > > ram > > Category: system amd64 > > Environment: > System : OpenBSD 7.3 > Details : OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT > 2023 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > Architecture: OpenBSD.amd64 > Machine : amd64 > > > Description: > Somehow last email turned into one line. > Running code frome shell no matter ksh/bash st/xterm causes to "leak > ram". > Some programs cause that other no idea... The example one does. I > observe that for cp. > Lost ram is close to file size. Cought it with conky and systat. It's > a mystery how can this happen. I can't gasp it because. > Looking at cp code buf is static allocated once 64*1024 size, Even if > free is never called > AND somehow system would decide to just leave that part of memory to > rot. It's too small... > For my example code in how to repeate I used: > > 101 MB dir containing with subdirs 674 files > I get a summary of calls parsed from ktrace+kdump ( I have a shitty > program i wrote for that ) > > Summary of all calls in all threads and forks: > read 2636 > write 2000 > open 1310 > close 1310 > stat 713 > fstat 674 > fstatat 674 > ftruncate 636 > lseek 636 > getdents 76 > chmod 38 > mkdir 38 > mmap 15 > mimmutable 6 > mprotect 6 > issetugid 2 > umask 2 > munmap 1 > execve 1 > getthrid 1 > __set_tcb 1 > getuid 1 > lstat 1 > sysctl 1 > getentropy 1 > minherit 1 > > Since it does not occure only on cp but many programs cause it I > belive it's one of syscalls that behaves in a broken way. > That is it. those are just my blind shots. I hope this somehow helps. > > > How-To-Repeat: > cp -R 100_mb_dir /tmp/garbage > > Fix: > no idea > > OpenBSD 7.3 (GENERIC.MP) #1125: Sat Mar 25 10:36:29 MDT 2023 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 68545159168 (65369MB) > avail mem = 66448367616 (63370MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 3.3 @ 0xe6f40 (72 entries) > bios0: vendor American Megatrends Inc. version "2407" date 07/12/2021 > bios0: ASUS ROG STRIX B550-A GAMING > acpi0 at bios0: ACPI 6.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP SSDT SSDT SSDT FIDT WSMT MCFG HPET IVRS WPBT > PCCT SSDT CRAT CDIT SSDT SSDT SSDT SSDT APIC SSDT SSDT FPDT > acpi0: wakeup devices GP12(S4) GP13(S4) XHC0(S4) GP30(S4) GP31(S4) > X161(S4) SWUS(S4) SWDS(S4) X162(S4) PTXH(S4) X1_1(S4) X1_2(S4) > X1_3(S4) I225(S4) X162(S4) M2_2(S4) > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpimcfg0 at acpi0 > acpimcfg0: addr 0xf0000000, bus 0-127 > acpihpet0 at acpi0: 14318180 Hz > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu0: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 100MHz > cpu0: mwait min=64, max=64, C-substates=1.1, IBE > cpu1 at mainbus0: apid 2 (application processor) > cpu1: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu1: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu1: smt 0, core 1, package 0 > cpu2 at mainbus0: apid 4 (application processor) > cpu2: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu2: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu2: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu2: smt 0, core 2, package 0 > cpu3 at mainbus0: apid 6 (application processor) > cpu3: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu3: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu3: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu3: smt 0, core 3, package 0 > cpu4 at mainbus0: apid 8 (application processor) > cpu4: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu4: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu4: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu4: smt 0, core 4, package 0 > cpu5 at mainbus0: apid 10 (application processor) > cpu5: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu5: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu5: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu5: smt 0, core 5, package 0 > cpu6 at mainbus0: apid 12 (application processor) > cpu6: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu6: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu6: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu6: smt 0, core 6, package 0 > cpu7 at mainbus0: apid 14 (application processor) > cpu7: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu7: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu7: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu7: smt 0, core 7, package 0 > cpu8 at mainbus0: apid 1 (application processor) > cpu8: AMD Ryzen 7 3800X 8-Core Processor, 3900.01 MHz, 17-71-00 > cpu8: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu8: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu8: smt 1, core 0, package 0 > cpu9 at mainbus0: apid 3 (application processor) > cpu9: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu9: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu9: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, 512KB > 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu9: smt 1, core 1, package 0 > cpu10 at mainbus0: apid 5 (application processor) > cpu10: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu10: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu10: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, > 512KB 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu10: smt 1, core 2, package 0 > cpu11 at mainbus0: apid 7 (application processor) > cpu11: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu11: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu11: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, > 512KB 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu11: smt 1, core 3, package 0 > cpu12 at mainbus0: apid 9 (application processor) > cpu12: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu12: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu12: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, > 512KB 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu12: smt 1, core 4, package 0 > cpu13 at mainbus0: apid 11 (application processor) > cpu13: AMD Ryzen 7 3800X 8-Core Processor, 3900.01 MHz, 17-71-00 > cpu13: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu13: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, > 512KB 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu13: smt 1, core 5, package 0 > cpu14 at mainbus0: apid 13 (application processor) > cpu14: AMD Ryzen 7 3800X 8-Core Processor, 3900.00 MHz, 17-71-00 > cpu14: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu14: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, > 512KB 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu14: smt 1, core 6, package 0 > cpu15 at mainbus0: apid 15 (application processor) > cpu15: AMD Ryzen 7 3800X 8-Core Processor, 3900.01 MHz, 17-71-00 > cpu15: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE > 36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE > 4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE > 1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP, > OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI > 1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,ST > IBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES > cpu15: 32KB 64b/line 8-way D-cache, 32KB 64b/line 8-way I-cache, > 512KB 64b/line 8-way L2 cache, 16MB 64b/line 16-way L3 cache > cpu15: smt 1, core 7, package 0 > ioapic0 at mainbus0: apid 17 pa 0xfec00000, version 21, 24 pins, > can't remap > ioapic1 at mainbus0: apid 18 pa 0xfec01000, version 21, 32 pins, > can't remap > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 9 (GP12) > acpiprt2 at acpi0: bus 10 (GP13) > acpiprt3 at acpi0: bus -1 (GP30) > acpiprt4 at acpi0: bus -1 (GP31) > acpiprt5 at acpi0: bus -1 (GPP0) > acpiprt6 at acpi0: bus -1 (GPP2) > acpiprt7 at acpi0: bus -1 (GPP3) > acpiprt8 at acpi0: bus -1 (GPP4) > acpiprt9 at acpi0: bus -1 (GPP5) > acpiprt10 at acpi0: bus -1 (GPP6) > acpiprt11 at acpi0: bus -1 (GPP7) > acpiprt12 at acpi0: bus 6 (GPP8) > acpiprt13 at acpi0: bus -1 (GPP9) > acpiprt14 at acpi0: bus -1 (GPPA) > acpiprt15 at acpi0: bus -1 (GPPB) > acpiprt16 at acpi0: bus -1 (GPPC) > acpiprt17 at acpi0: bus -1 (GPPD) > acpiprt18 at acpi0: bus -1 (GPPE) > acpiprt19 at acpi0: bus -1 (GPPF) > acpiprt20 at acpi0: bus -1 (GP10) > acpiprt21 at acpi0: bus 1 (GPP1) > acpipci0 at acpi0 PCI0: 0x00000010 0x00000011 0x00000000 > acpicmos0 at acpi0 > acpibtn0 at acpi0: PWRB > amdgpio0 at acpi0 GPIO uid 0 addr 0xfed81500/0x400 irq 7, 184 pins > "ACPI0010" at acpi0 not configured > acpicpu0 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu1 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu2 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu3 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu4 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu5 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu6 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu7 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu8 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu9 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu10 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu11 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu12 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu13 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu14 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > acpicpu15 at acpi0: C2(0@18 io@0x414), C1(0@1 mwait), PSS > "AMDIF030" at acpi0 not configured > "PNP0C14" at acpi0 not configured > "PNP0C14" at acpi0 not configured > "PNP0C14" at acpi0 not configured > "PNP0C14" at acpi0 not configured > "PNP0C14" at acpi0 not configured > cpu0: 3900 MHz: speeds: 3900 2800 2200 MHz > pci0 at mainbus0 bus 0 > ksmn0 at pci0 dev 0 function 0 "AMD 17h Root Complex" rev 0x00 > "AMD 17h IOMMU" rev 0x00 at pci0 dev 0 function 2 not configured > pchb0 at pci0 dev 1 function 0 "AMD 17h Host" rev 0x00 > ppb0 at pci0 dev 1 function 2 "AMD 17h PCIE" rev 0x00: msi > pci1 at ppb0 bus 1 > xhci0 at pci1 dev 0 function 0 "AMD 500 Series xHCI" rev 0x00: msi, > xHCI 1.10 > usb0 at xhci0: USB revision 3.0 > uhub0 at usb0 configuration 1 interface 0 "AMD xHCI root hub" rev > 3.00/1.00 addr 1 > ahci0 at pci1 dev 0 function 1 "AMD 500 Series AHCI" rev 0x00: msi, > AHCI 1.3.1 > ahci0: port busy after first PMP probe FIS > ahci0: port busy after first PMP probe FIS > ahci0: port 0: 6.0Gb/s > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD20EZBX-00A, 01.0> > naa.50014ee2158c00bb > sd0: 1907729MB, 512 bytes/sector, 3907029168 sectors, thin > ppb1 at pci1 dev 0 function 2 "AMD 500 Series PCIE" rev 0x00 > pci2 at ppb1 bus 2 > ppb2 at pci2 dev 0 function 0 "AMD 500 Series PCIE" rev 0x00: msi > pci3 at ppb2 bus 3 > ppb3 at pci2 dev 8 function 0 "AMD 500 Series PCIE" rev 0x00: msi > pci4 at ppb3 bus 4 > ppb4 at pci2 dev 9 function 0 "AMD 500 Series PCIE" rev 0x00: msi > pci5 at ppb4 bus 5 > igc0 at pci5 dev 0 function 0 "Intel I225-V" rev 0x03, msix, 4 > queues, address 04:42:1a:09:33:19 > pchb1 at pci0 dev 2 function 0 "AMD 17h Host" rev 0x00 > pchb2 at pci0 dev 3 function 0 "AMD 17h Host" rev 0x00 > ppb5 at pci0 dev 3 function 1 "AMD 17h PCIE" rev 0x00: msi > pci6 at ppb5 bus 6 > ppb6 at pci6 dev 0 function 0 "ATI PCIE" rev 0xc7 > pci7 at ppb6 bus 7 > ppb7 at pci7 dev 0 function 0 "ATI PCIE" rev 0x00 > pci8 at ppb7 bus 8 > amdgpu0 at pci8 dev 0 function 0 "ATI Navi 23" rev 0xc7 > drm0 at amdgpu0 > amdgpu0: msi > azalia0 at pci8 dev 0 function 1 "ATI Navi 2x HD Audio" rev 0x00: msi > azalia0: no supported codecs > pchb3 at pci0 dev 4 function 0 "AMD 17h Host" rev 0x00 > pchb4 at pci0 dev 5 function 0 "AMD 17h Host" rev 0x00 > pchb5 at pci0 dev 7 function 0 "AMD 17h Host" rev 0x00 > ppb8 at pci0 dev 7 function 1 "AMD 17h PCIE" rev 0x00 > pci9 at ppb8 bus 9 > vendor "AMD", unknown product 0x148a (class instrumentation unknown > subclass 0x00, rev 0x00) at pci9 dev 0 function 0 not configured > pchb6 at pci0 dev 8 function 0 "AMD 17h Host" rev 0x00 > ppb9 at pci0 dev 8 function 1 "AMD 17h PCIE" rev 0x00 > pci10 at ppb9 bus 10 > vendor "AMD", unknown product 0x1485 (class instrumentation unknown > subclass 0x00, rev 0x00) at pci10 dev 0 function 0 not configured > ccp0 at pci10 dev 0 function 1 "AMD 17h Crypto" rev 0x00 > xhci1 at pci10 dev 0 function 3 "AMD 17h xHCI" rev 0x00: msi, xHCI > 1.10 > usb1 at xhci1: USB revision 3.0 > uhub1 at usb1 configuration 1 interface 0 "AMD xHCI root hub" rev > 3.00/1.00 addr 1 > azalia1 at pci10 dev 0 function 4 "AMD 17h HD Audio" rev 0x00: msi > azalia1: codecs: Realtek ALC1220 > audio0 at azalia1 > piixpm0 at pci0 dev 20 function 0 "AMD FCH SMBus" rev 0x61: SMI > iic0 at piixpm0 > iic0: addr 0x20 00=04 02=01 04=6a 06=6a 08=6a 09=38 0a=0f 0b=0e 0c=03 > 0d=20 0e=e2 0f=43 10=43 13=58 20=04 21=02 22=04 24=6a 26=6a 28=6a > 29=14 2a=0f 2b=0e 2c=02 2d=30 2e=e2 2f=44 32=58 40=17 41=15 42=8f > 43=ab 45=06 46=01 47=06 48=05 50=0f 51=07 52=55 53=ff 61=24 words > 00=0400 01=0002 02=0100 03=00d4 04=6a00 05=00d4 06=6a00 07=00d4 > spdmem0 at iic0 addr 0x52: 32GB DDR4 SDRAM PC4-19200 > spdmem1 at iic0 addr 0x53: 32GB DDR4 SDRAM PC4-19200 > iic1 at piixpm0 > pcib0 at pci0 dev 20 function 3 "AMD FCH LPC" rev 0x51 > pchb7 at pci0 dev 24 function 0 "AMD 17h Data Fabric" rev 0x00 > pchb8 at pci0 dev 24 function 1 "AMD 17h Data Fabric" rev 0x00 > pchb9 at pci0 dev 24 function 2 "AMD 17h Data Fabric" rev 0x00 > pchb10 at pci0 dev 24 function 3 "AMD 17h Data Fabric" rev 0x00 > pchb11 at pci0 dev 24 function 4 "AMD 17h Data Fabric" rev 0x00 > pchb12 at pci0 dev 24 function 5 "AMD 17h Data Fabric" rev 0x00 > pchb13 at pci0 dev 24 function 6 "AMD 17h Data Fabric" rev 0x00 > pchb14 at pci0 dev 24 function 7 "AMD 17h Data Fabric" rev 0x00 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > uhidev0 at uhub0 port 5 configuration 1 interface 0 "Logitech USB > Keyboard" rev 1.10/49.00 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > uhidev1 at uhub0 port 5 configuration 1 interface 1 "Logitech USB > Keyboard" rev 1.10/49.00 addr 2 > uhidev1: iclass 3/0 > ucc0 at uhidev1: 1301 usages, 20 keys, array > wskbd2 at ucc0 mux 1 > uhidev2 at uhub0 port 10 configuration 1 interface 2 "AsusTek > Computer Inc. AURA LED Controller" rev 2.00/1.00 addr 3 > uhidev2: iclass 3/0, 236 report ids > uhid0 at uhidev2 reportid 236: input=64, output=64, feature=0 > ugen0 at uhub0 port 10 configuration 1 "AsusTek Computer Inc. AURA > LED Controller" rev 2.00/1.00 addr 3 > uhub2 at uhub0 port 11 configuration 1 interface 0 "Genesys Logic > USB2.0 Hub" rev 2.00/60.90 addr 4 > uhidev3 at uhub1 port 2 configuration 1 interface 0 "PixArt HP USB > Optical Mouse" rev 2.00/1.00 addr 2 > uhidev3: iclass 3/1 > ums0 at uhidev3: 3 buttons, Z dir > wsmouse0 at ums0 mux 0 > vscsi0 at root > scsibus2 at vscsi0: 256 targets > softraid0 at root > scsibus3 at softraid0: 256 targets > root on sd0a (68fff7058c689b41.a) swap on sd0b dump on sd0b > drm:pid0:smu_v11_0_check_fw_version *WARNING* SMU driver if version > not matched > amdgpu0: DIMGREY_CAVEFISH GC 10.3.4 28 CU rev 0x00 > amdgpu0: 1920x1080, 32bpp > wsdisplay0 at amdgpu0 mux 1: console (std, vt100 emulation), using > wskbd0 > wskbd1: connecting to wsdisplay0 > wskbd2: connecting to wsdisplay0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > > Controller /dev/usb0: > addr 01: 1022:0000 AMD, xHCI root hub > addr 02: 046d:c31c Logitech, USB Keyboard > addr 03: 0b05:1939 AsusTek Computer Inc., AURA LED Controller > addr 04: 05e3:0608 Genesys Logic, USB2.0 Hub > Controller /dev/usb1: > addr 01: 1022:0000 AMD, xHCI root hub > addr 02: 03f0:094a PixArt, HP USB Optical Mouse