Skip to content

Pings become synchronized after a while #24

Closed
@patrakov

Description

@patrakov

The code initially tries to "Space out pings by ping interval / number of reflectors". However, this spacing-out does not persist. After the night, the pings became almost 100% synchronized, thus losing the temporal resolution:

1649738354.339253 1      3      0   1   [1649738354.247817] 9.9.9.9         8421   29457  38400  8951   0 idle           idle           556    163    -64    -96    1.2    -12.5 
1649738354.422146 1      3      0   1   [1649738354.258872] 1.1.1.1         8422   57339  57600  261    0 idle           idle           556    163    -64    -96    1.2    -12.5 
1649738354.506180 1      3      0   1   [1649738354.264873] 8.8.4.4         8421   53699  55700  2003   0 idle           idle           556    163    -64    -96    2.2    -12.5 
1649738354.589174 1      3      0   1   [1649738354.275154] 8.8.8.8         8421   60394  65800  5411   0 idle           idle           556    163    -64    -96    2.2    -12.5 
1649738358.336279 110    12     19  7   [1649738358.248908] 9.9.9.9         8422   29463  35600  6143   0 low            idle           544    166    -64    -98    2.2    -14.5 
1649738358.437099 110    12     20  7   [1649738358.263852] 1.1.1.1         8423   57340  58700  1361   0 low            idle           544    166    -64    -98    2.2    -14.5 
1649738358.519066 110    12     20  7   [1649738358.273839] 8.8.8.8         8422   60394  60700  306    0 low            idle           544    166    -64    -98    0.2    -14.5 
1649738358.601200 110    12     20  7   [1649738358.276845] 8.8.4.4         8422   53708  63400  9701   0 low            idle           544    166    -64    -98    0.2    -14.5 
1649738362.349216 4      3      0   1   [1649738362.258866] 9.9.9.9         8423   29474  41400  11937  0 idle           idle           544    166    -65    -98    2.2    -12.5 
1649738362.431115 4      3      0   1   [1649738362.267916] 1.1.1.1         8424   57341  58800  1460   0 idle           idle           544    166    -65    -98    2.2    -12.5 
1649738362.514163 4      3      0   1   [1649738362.278377] 8.8.8.8         8423   60394  61200  806    0 idle           idle           544    166    -65    -97    0.2    -12.5 
1649738362.595243 4      3      0   1   [1649738362.276988] 8.8.4.4         8423   53713  59600  5892   0 idle           idle           544    166    -65    -97    0.2    -12.5 
1649738366.357298 12     16     2   9   [1649738366.259868] 9.9.9.9         8424   29482  38400  8926   0 idle           idle           533    169    -64    -97    3.2    -13.5 
1649738366.459498 12     16     2   9   [1649738366.271022] 1.1.1.1         8425   57341  57900  559    0 idle           idle           533    169    -64    -97    3.2    -13.5 
1649738366.541186 12     16     2   9   [1649738366.285891] 8.8.8.8         8424   60398  64600  4206   0 idle           idle           533    169    -63    -98    2.2    -14.5 
1649738366.625145 12     16     2   9   [1649738366.288897] 8.8.4.4         8424   53726  67300  13587  0 idle           idle           533    169    -63    -98    2.2    -14.5 
1649738370.351141 159    110    29  65  [1649738370.260978] 9.9.9.9         8425   29488  35600  6118   0 medium         medium         533    169    -61    -94    4.2    -13.5 
1649738370.436131 159    110    29  65  [1649738370.275232] 1.1.1.1         8426   57341  58100  759    0 medium         medium         533    169    -61    -94    4.2    -13.5 
1649738370.521240 159    110    29  65  [1649738370.285985] 8.8.8.8         8425   60398  60800  402    0 medium         medium         533    169    -62    -95    0.2    -12.5 
1649738370.603143 159    110    29  65  [1649738370.290986] 8.8.4.4         8425   53737  65500  11774  0 medium         medium         533    169    -62    -95    0.2    -12.5 
1649738374.361174 291    31     54  18  [1649738374.268897] 9.9.9.9         8426   29497  39400  9912   0 medium         idle           533    172    -63    -96    4.2    -13.5 
1649738374.453875 291    31     54  18  [1649738374.281093] 1.1.1.1         8427   57341  57900  559    0 medium         idle           533    172    -63    -96    4.2    -13.5 
1649738374.537167 291    31     54  18  [1649738374.287952] 8.8.4.4         8426   53741  58600  4863   0 medium         idle           533    172    -64    -97    4.2    -13.5 
1649738374.619121 291    31     54  18  [1649738374.290958] 8.8.8.8         8426   60399  61800  1402   0 medium         idle           533    172    -64    -97    4.2    -13.5 

(The last four columns are signal strength measurements due to a local modification, please ignore, actually only the timestamps in the first column are relevant).

The suspected cause is that the ping processes were put to sleep, and there is nothing that restores the spacing-out when sending SIGCONT.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions