Re: OpenBSD 6.6-current shutter about one time every 1-3 seconds

2020-03-12 Thread Martin
I removed all the pkg_scripts from loading on 6.6-current and tried to test the 
system under full load (150Gb database reindexing) with apm -H. Stutters are 
present, but have minimal possible visual affect to foreground programs. apm -A 
works as expected, by rising CPU frequency to high value when db reindexed.

apm -L rises shutter effect significantly.

In most cases of testing, it looks like some system process(es), possible disk 
I/O procedures case bumbles.

The last test was dd urandom data directly to external USB3.0 disk. Stutters 
increase their visibility to console applications like ncurses based visualizer 
or simply USB keyboard symbols input.

I think ktrace will be good tool to analyze it or what tool can be used?

Martin

‐‐‐ Original Message ‐‐‐
On Wednesday, March 11, 2020 6:25 PM, Peter J. Philipp  wrote:

> On Wed, Mar 11, 2020 at 06:12:44PM +, Martin wrote:
> 
>
> > Peter, can you share which software you started in /etc/rc.conf.local
> > by
> > pkg_scripts="imapd..."
> > I'll try to find some correlation.
> > Martin
>
> pkg_scripts="isc_named cyrus_imapd saslauthd"
>
> along with apmd -A, vmd, sndiod -f rsnd/0 -f rsnd/1, portmap, nfsd, mountd,
> unwind, rad, tftpd, xenodm, dhcpd
>
> It's just the workstation I power up every day when I'm home.
>
> Hope that helps,
> -peter




Re: OpenBSD 6.6-current shutter about one time every 1-3 seconds

2020-03-11 Thread Martin
I use significantly slower hardware than yours, AMD SOC with ordinary 2.5" 
7200rpm HDD (bioctl encrypted). The same HDD has been installed on the same 
platform when OpenBSD was 6.5-current with the same encryption level.

Cyrus imapd implementations don't present in my setup. 
Dovecot+opensmtpd+PostgresSQL are working in production and I don't see any 
activity of them which can cause stutters.

I think it can be USB2/3 issues, but I don't know how to diagnose it.

Hope somebody give an advice regarding diagnose on system level of the 6.6 
itself and 3rd party software behavior.

Peter, can you share which software you started in /etc/rc.conf.local
by
pkg_scripts="imapd..."

I'll try to find some correlation.

Martin

‐‐‐ Original Message ‐‐‐
On Wednesday, March 11, 2020 5:40 PM, Peter J. Philipp  wrote:

> On Wed, Mar 11, 2020 at 05:28:11PM +, Martin wrote:
>
> > Hello list,
> > After upgrade from 6.5 to 6.6-current amd64 (all the latest patches 
> > installed) system stutters. It affects on all visible and background 
> > activity. For instance, when typing USB keyboard skip symbols, disk write 
> > operations bumble as well, voip RTP traffic interrupts for less then a 
> > second.
> > What the best way to determine the cause of this behavior? Currently 
> > looking some ways to diagnose the problem reason.
> > Martin
>
> Hi Martin,
>
> I get that too, it started when I moved cyrus imapd to my local system a year
> or more ago. I've learned to live with it. To elaborate, something cyrus
> imapd does is when a mail comes in via fetchmail that mplayer which plays
> flac's or streams from an icecast starts stuttering. The combination of
> cyrus, thunderbird, and fetchmail may be to blame too, dunno. It may be
> disk related? I have a Samsung SSD. My workstation is a 2014 Xeon E3-1275
> with 32 GB RAM.
>
> Regards,
> -peter




Re: OpenBSD 6.6-current shutter about one time every 1-3 seconds

2020-03-11 Thread Peter J. Philipp
On Wed, Mar 11, 2020 at 06:12:44PM +, Martin wrote:

> Peter, can you share which software you started in /etc/rc.conf.local
> by
> pkg_scripts="imapd..."
> 
> I'll try to find some correlation.
> 
> Martin

pkg_scripts="isc_named cyrus_imapd saslauthd"

along with apmd -A, vmd, sndiod -f rsnd/0 -f rsnd/1, portmap, nfsd, mountd,
unwind, rad, tftpd, xenodm, dhcpd

It's just the workstation I power up every day when I'm home.

Hope that helps,
-peter



OpenBSD 6.6-current shutter about one time every 1-3 seconds

2020-03-11 Thread Martin
Hello list,

After upgrade from 6.5 to 6.6-current amd64 (all the latest patches installed) 
system stutters. It affects on all visible and background activity. For 
instance, when typing USB keyboard skip symbols, disk write operations bumble 
as well, voip RTP traffic interrupts for less then a second.

What the best way to determine the cause of this behavior? Currently looking 
some ways to diagnose the problem reason.

Martin


Re: OpenBSD 6.6-current shutter about one time every 1-3 seconds

2020-03-11 Thread Peter J. Philipp
On Wed, Mar 11, 2020 at 05:28:11PM +, Martin wrote:
> Hello list,
> 
> After upgrade from 6.5 to 6.6-current amd64 (all the latest patches 
> installed) system stutters. It affects on all visible and background 
> activity. For instance, when typing USB keyboard skip symbols, disk write 
> operations bumble as well, voip RTP traffic interrupts for less then a second.
> 
> What the best way to determine the cause of this behavior? Currently looking 
> some ways to diagnose the problem reason.
> 
> Martin

Hi Martin,

I get that too, it started when I moved cyrus imapd to my local system a year
or more ago.  I've learned to live with it.  To elaborate, something cyrus 
imapd does is when a mail comes in via fetchmail that mplayer which plays
flac's or streams from an icecast starts stuttering.  The combination of 
cyrus, thunderbird, and fetchmail may be to blame too, dunno.  It may be
disk related?  I have a Samsung SSD.  My workstation is a 2014 Xeon E3-1275 
with 32 GB RAM.

Regards,
-peter