Strange gaps in raw sensor logs

Hi, I’m using copter3.6.0 and in my logs I see strange holes which occur periodically:

The gaps seems very regular, each is divided in 3 sections, below the detail of one gap with measured time intervals:

If I add another sensor (and related logs), e.g. GPS, the gaps increase in frequency without changing their length (~1.2s).

Is this normal? Can this be related to some sort of cpu load or maybe SD card writing?
Is this only affecting logs or also true readings?

Side note: I’m using SCHED_LOOP_RATE at 800

Here’s another log with longer duration where the regularity is clear:

1 Like

have you tried a larger LOG_FILE_BUFSIZE ?

I tried now, yes increasing LOG_FILE_BUFSIZE reduced the gap frequency, thanks!