Re: system slow down strangeness

2020-09-08 Thread Gregory Edigarov




On 2020-09-08 19:38, Nick Holland wrote:

On 2020-09-08 04:16, Gregory Edigarov wrote:

Hello,

from around two weeks ago I am observing the overall system slow down.
Everything work stable,
but nearly every X application takes forever to open a window.
also I am using tiling wm, and when workspace is switched,
it takes a long time for the system to redraw a screen.
I also noticed that some console scripts like ansible-doc
are also starting slower then usual.

this system only has 8 Gb RAM temporarily,
but top says:

Memory: Real: 1764M/5673M act/tot Free: 2183M Cache: 3284M Swap: 0K/32G

so I do not think it is a memory issue.

was just fine before,  so wondering what has happen.
OpenBSD 6.8-beta (GENERIC.MP) #59: Fri Sep  4 22:46:14 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

well...that's less than two weeks old.  So I'm guessing either you had
the problem and figured, "let's upgrade, see if that fixes it" (not a
bad plan), or you are a regular upgrader (also good).  Can you say if
the problem started with an upgrade?  Or did it occur between upgrades?

Hm, well, yes, I am upgrading regularly. It's my home system,
so nothing mission critical. And therefore why not upgrade it and see 
what new you guys

are cooking ;-)
Usually upgrading on weekly basis.



...

sd0 at scsibus1 targ 0 lun 0: 

Any possibility you have a bad disk?

No, it seems more like it is software problem.
I did some tests, and came to a conclusion that it is chromium, some how 
while it is not in top for cpu it slows down

things significantly. for now switched to firefox and problem disappeared.
But, just for the record, firefox had issues with sigbus/segfault around 
a week ago. Now it is rock solid and fast again.






Re: system slow down strangeness

2020-09-08 Thread Gregory Edigarov




On 2020-09-08 21:18, Stuart Henderson wrote:

On 2020-09-08, Gregory Edigarov  wrote:

Hello,

from around two weeks ago I am observing the overall system slow down.
Everything work stable,
but nearly every X application takes forever to open a window.
also I am using tiling wm, and when workspace is switched,
it takes a long time for the system to redraw a screen.
I also noticed that some console scripts like ansible-doc
are also starting slower then usual.

this system only has 8 Gb RAM temporarily,
but top says:

Memory: Real: 1764M/5673M act/tot Free: 2183M Cache: 3284M Swap: 0K/32G

so I do not think it is a memory issue.

was just fine before,  so wondering what has happen.

OpenBSD 6.8-beta (GENERIC.MP) #59: Fri Sep  4 22:46:14 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

What was the previous kernel version? "zgrep OpenBSD /var/log/messages*"
may well find it.

Mesa was updated recently, and a number of changes were made to DRM drivers.

the previous was:
/var/log/messages.2.gz:Sep  5 00:41:28 lbld12 /bsd: OpenBSD 6.7-current 
(GENERIC.MP) #48: Fri Aug 28 23:21:33 MDT 2020




Re: system slow down strangeness

2020-09-08 Thread Stuart Henderson
On 2020-09-08, Gregory Edigarov  wrote:
> Hello,
>
> from around two weeks ago I am observing the overall system slow down. 
> Everything work stable,
> but nearly every X application takes forever to open a window.
> also I am using tiling wm, and when workspace is switched,
> it takes a long time for the system to redraw a screen.
> I also noticed that some console scripts like ansible-doc
> are also starting slower then usual.
>
> this system only has 8 Gb RAM temporarily,
> but top says:
>
> Memory: Real: 1764M/5673M act/tot Free: 2183M Cache: 3284M Swap: 0K/32G
>
> so I do not think it is a memory issue.
>
> was just fine before,  so wondering what has happen.
>
> OpenBSD 6.8-beta (GENERIC.MP) #59: Fri Sep  4 22:46:14 MDT 2020
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

What was the previous kernel version? "zgrep OpenBSD /var/log/messages*"
may well find it.

Mesa was updated recently, and a number of changes were made to DRM drivers.




Re: system slow down strangeness

2020-09-08 Thread Nick Holland
On 2020-09-08 04:16, Gregory Edigarov wrote:
> Hello,
> 
> from around two weeks ago I am observing the overall system slow down. 
> Everything work stable,
> but nearly every X application takes forever to open a window.
> also I am using tiling wm, and when workspace is switched,
> it takes a long time for the system to redraw a screen.
> I also noticed that some console scripts like ansible-doc
> are also starting slower then usual.
> 
> this system only has 8 Gb RAM temporarily,
> but top says:
> 
> Memory: Real: 1764M/5673M act/tot Free: 2183M Cache: 3284M Swap: 0K/32G
> 
> so I do not think it is a memory issue.
> 
> was just fine before,  so wondering what has happen.

> OpenBSD 6.8-beta (GENERIC.MP) #59: Fri Sep  4 22:46:14 MDT 2020
> dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

well...that's less than two weeks old.  So I'm guessing either you had
the problem and figured, "let's upgrade, see if that fixes it" (not a
bad plan), or you are a regular upgrader (also good).  Can you say if
the problem started with an upgrade?  Or did it occur between upgrades?

...
> sd0 at scsibus1 targ 0 lun 0:  

Any possibility you have a bad disk?  A few times in my life, I
have seen a bad disk that would have issues reading from the drive,
but succeed after a few retries, before it threw an error back to
the OS.  It would then reset its retry counter, and have the same
problem on the next read...and the one after that.  Result: horrible
performance, but it "worked".  (granted, I've been doing computer
support for almost 40 years now and I can think of two cases of this
happening that left me scratching my head for a long time, and maybe
a couple others similar to this that I don't recall so vividly, so
not exactly a common problem...but not unheard of, either.)

...
Nick.



system slow down strangeness

2020-09-08 Thread Gregory Edigarov

Hello,

from around two weeks ago I am observing the overall system slow down. 
Everything work stable,

but nearly every X application takes forever to open a window.
also I am using tiling wm, and when workspace is switched,
it takes a long time for the system to redraw a screen.
I also noticed that some console scripts like ansible-doc
are also starting slower then usual.

this system only has 8 Gb RAM temporarily,
but top says:

Memory: Real: 1764M/5673M act/tot Free: 2183M Cache: 3284M Swap: 0K/32G

so I do not think it is a memory issue.

was just fine before,  so wondering what has happen.

OpenBSD 6.8-beta (GENERIC.MP) #59: Fri Sep  4 22:46:14 MDT 2020
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 8501665792 (8107MB)
avail mem = 8228966400 (7847MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 3.2 @ 0xe6cc0 (31 entries)
bios0: vendor American Megatrends Inc. version "P4.20" date 06/18/2020
bios0: ASRock B450 Pro4
acpi0 at bios0: ACPI 6.0
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP APIC FPDT FIDT SSDT SSDT SSDT MCFG AAFT HPET 
UEFI PCCT SSDT CRAT CDIT SSDT SSDT WSMT SSDT
acpi0: wakeup devices GPP0(S4) GPP1(S4) GPP3(S4) GPP4(S4) GPP5(S4) 
GPP6(S4) GPP7(S4) GPP8(S4) GPP9(S4) GPPA(S4) GPPB(S4) GPPC(S4) GPPD(S4) 
GPPE(S4) GPPF(S4) GP10(S4) [...]

acpitimer0 at acpi0: 3579545 Hz, 32 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Ryzen 5 3600 6-Core Processor, 3593.71 MHz, 17-71-00
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu0: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 
64b/line 8-way L2 cache, 32MB 64b/line disabled L3 cache
cpu0: ITLB 64 4KB entries fully associative, 64 4MB entries fully 
associative
cpu0: DTLB 64 4KB entries fully associative, 64 4MB entries fully 
associative

cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 99MHz
cpu0: mwait min=64, max=64, C-substates=1.1, IBE
cpu1 at mainbus0: apid 2 (application processor)
cpu1: AMD Ryzen 5 3600 6-Core Processor, 3593.25 MHz, 17-71-00
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu1: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 
64b/line 8-way L2 cache, 32MB 64b/line disabled L3 cache
cpu1: ITLB 64 4KB entries fully associative, 64 4MB entries fully 
associative
cpu1: DTLB 64 4KB entries fully associative, 64 4MB entries fully 
associative

cpu1: smt 0, core 1, package 0
cpu2 at mainbus0: apid 4 (application processor)
cpu2: AMD Ryzen 5 3600 6-Core Processor, 3593.25 MHz, 17-71-00
cpu2: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu2: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 
64b/line 8-way L2 cache, 32MB 64b/line disabled L3 cache
cpu2: ITLB 64 4KB entries fully associative, 64 4MB entries fully 
associative
cpu2: DTLB 64 4KB entries fully associative, 64 4MB entries fully 
associative

cpu2: smt 0, core 2, package 0
cpu3 at mainbus0: apid 8 (application processor)
cpu3: AMD Ryzen 5 3600 6-Core Processor, 3593.26 MHz, 17-71-00
cpu3: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,PCLMUL,MWAIT,SSSE3,FMA3,CX16,SSE4.1,SSE4.2,MOVBE,POPCNT,AES,XSAVE,AVX,F16C,RDRAND,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,TCE,TOPEXT,CPCTR,DBKP,PCTRL3,MWAITX,ITSC,FSGSBASE,BMI1,AVX2,SMEP,BMI2,PQM,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA,UMIP,IBPB,STIBP,SSBD,XSAVEOPT,XSAVEC,XGETBV1,XSAVES
cpu3: 32KB 64b/line 8-way I-cache, 32KB 64b/line 8-way D-cache, 512KB 
64b/line 8-way L2 cache, 32MB 64b/line disabled L3