Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 fix random IO statistics reporting bug and some improvements

open-works-for-me
Mika Kuoppala
None
9
2008-08-18
2008-08-12
rank
No

This patch did several jobs:

1. redefine DEFAULT_RANDOM_OPS from 1000 to 1024, which made the random IO more accurate;
2. change parameters' type of update_latency_info from struct timeval to its according pointers, which runs more effeciently;
3. blocks = io_ops;

Among this the 3rd is the most important point:
1. the former code has statistics bug in reporting random IO rate (sometimes it reports an SATA has 10,000 MB/s writing rate!): the original author just misused one variable.

Discussion

  • rank
    rank
    2008-08-12

    patch to the latest CVS head which stopped at v0.4.1 on 2008-04-18

     
  • rank
    rank
    2008-08-12

    Logged In: YES
    user_id=1429137
    Originator: YES

    it reports one SATA disk has 10,000 MB/s writing performance, do you believe it?

     
  • rank
    rank
    2008-08-13

    • priority: 5 --> 9
    • assigned_to: nobody --> jmm
    • status: open --> open-works-for-me
     
  • rank
    rank
    2008-08-18

    • assigned_to: jmm --> miku