Re: from raid456 patch, about the tiotest tool

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: rae l
Date: Wednesday, September 3, 2008 - 3:21 am

On Tue, Sep 2, 2008 at 4:02 PM, rae l <crquan@gmail.com> wrote:

Regretfully, the tiotest v0.4.1 still have bugs that I haven't
resolved, even applied my previous patch,

such as this reported on a single SATA disk, simple dd benchmark
report its bandwidth is 70MB/s, do you believe it has 1489.8 MB/s
random read performance?

But it's weird when I'm using systemtap on it,

# stap -ve 'probe kernel.function("vfs_read@fs/read_write.c") { ... }'

it reports all pread successfully return fast,

# ./tiotest -R -d /dev/sdb5 -f 1 -r 1024000 -t 1
Tiotest results for 1 concurrent io threads:
,----------------------------------------------------------------------.
| Item                  | Time     | Rate         | Usr CPU  | Sys CPU |
+-----------------------+----------+--------------+----------+---------+
| Write           1 MBs |    0.1 s |   8.814 MB/s |   0.0 %  |   8.8 % |
| Random Write 4000 MBs |    5.1 s | 785.431 MB/s |  11.2 %  |  86.8 % |
| Read            1 MBs |    0.0 s | 1037.344 MB/s |   0.0 %  |   0.0 % |
| Random Read  4000 MBs |    2.7 s | 1489.866 MB/s |  27.6 %  |  72.2 % |
`----------------------------------------------------------------------'
Tiotest latency results:
,-------------------------------------------------------------------------.
| Item         | Average latency | Maximum latency | % >2 sec | % >10 sec |
+--------------+-----------------+-----------------+----------+-----------+
| Write        |        0.007 ms |        0.028 ms |  0.00000 |   0.00000 |
| Random Write |        0.004 ms |        0.229 ms |  0.00000 |   0.00000 |
| Read         |        0.003 ms |        0.058 ms |  0.00000 |   0.00000 |
| Random Read  |        0.002 ms |        0.222 ms |  0.00000 |   0.00000 |
|--------------+-----------------+-----------------+----------+-----------|
| Total        |        0.003 ms |        0.229 ms |  0.00000 |   0.00000 |
`--------------+-----------------+-----------------+----------+-----------'



-- 
Denis Cheng
Linux Application Developer

"One of my most productive days was throwing away 1000 lines of code."
 - Ken Thompson.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: from raid456 patch, about the tiotest tool, rae l, (Wed Sep 3, 3:21 am)