Posted on Nov 25, 2013 by
Happy Kangaroo
Disk write performance will be more accurate if iperf3 uses fflush() after each block to eliminate disk cache effects.
Comment #1
Posted on Nov 25, 2013 by Happy Kangaroo(No comment was entered for this change.)
Comment #2
Posted on Nov 25, 2013 by Happy Bearfflush() is for stdio and the -F stuff does not use stdio, it's doing read()/write(). So this particular cache effect does not apply. There are of course other caches in the pipeline.
Comment #3
Posted on Nov 25, 2013 by Happy BearMaybe fsync() is what we want? I'll give that a try.
Comment #4
Posted on Nov 25, 2013 by Happy KangarooI think I meant 'fsync':
Comment #5
Posted on Nov 25, 2013 by Happy Bear(No comment was entered for this change.)
Status: Fixed
Labels:
Type-Defect
Priority-Medium
Milestone-3.1a1