Skip to content

Repeated timestamps in latency log files #971

Open
@pzoxiuv

Description

@pzoxiuv

This seems to be the same as #947, but I'm using the latest from master and still seeing the issue.

Config file:

[global]
directory=/var/data/
size=64m

[test]
rw=write
time_based
runtime=1m
write_lat_log=/host/fio_out_lat
log_avg_msec=50

And here's a segment of the log file:

3250, 2407, 1, 0, 0
3300, 2467, 1, 0, 0
3350, 2459, 1, 0, 0
3400, 2502, 1, 0, 0
3450, 2493, 1, 0, 0
3500, 2497, 1, 0, 0
3550, 2471, 1, 0, 0
5471, 194581, 1, 0, 0
5475, 4039507, 1, 0, 0
5475, 13797, 1, 0, 0
5475, 6633, 1, 0, 0
5475, 6187, 1, 0, 0
5475, 5457, 1, 0, 0
...
5475, 5063, 1, 0, 0
5475, 5510, 1, 0, 0
5475, 5537, 1, 0, 0
5500, 5902, 1, 0, 0
5553, 5831, 1, 0, 0
5600, 6004, 1, 0, 0

The first several lines are as expected, but then there's 38 lines with the same timestamp. It seems like maybe the timestamp just isn't being updated? I think there's the correct number of lines: (5500-3550)/50 = 39

Metadata

Metadata

Assignees

No one assigned

    Labels

    triagedIssue cause is understood but a patch is needed to fix it

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions