We have tried to use simulator and design various scenarios for testing 
dmclock,but the results are ideal when we test limit and proportion in some 
scenarios  ,

failed in reservation case .And we cannot ignore the truth ,the simulator 
differs with ceph running environment .Dmclock proportion take no effects in 
ceph deployment

environment for what we have said in last email about dmclock theory defect in 
proportion .

-----邮件原件-----
发件人: J. Eric Ivancich [mailto:ivanc...@redhat.com]
发送时间: 2017年6月13日 22:12
收件人: lijie 11803 (RD); Users, Ceph
主题: Re: About dmClock tests confusion after integrating dmClock QoS library 
into ceph codebase

On 06/02/2017 03:49 AM, Lijie wrote:
> Hi Eric,
>
> Our team has developed QOS feature on ceph using the dmclock library
> from community. We treat a rbd as a dmclock client instead of pool as .
> We tested our code and the result is   confusing .
>
>
>
> Testing environment: single server with 16 cores  , RAM of 32G, 8
> non-systerm disks,each runs one OSD. We set
> osd_op_num_threads_per_shard=2, osd_op_num_shards=5 on each OSD. The
> Size of our RBD is 100G. The qos params of RBD is (r:1K, p:100, l:2k),
> rbd_cache = false , allow_limit_break = false.
>
>
>
> Conclusion:   we only got 1500 IOPS while the system serves much more
> than the limit value 2000.
>
> We used fio and adjusted  osd_op_num_shards .And we found that iops
> runs bigger along as the growth of osd_op_num_shards. Finally it can
> break the limit value .( fio iops = 2300 while osd_op_num_shards = 20) .
>
>
>
> So would you mind to provide your test environment and result about
> dmclock library? And we would be appreciated if you offer some other
> direction . It will really be a great help for us.


Are you using src/common/mClockPriorityQueue.h? Because it makes sure 
allow_limit_break is true and asserts that as long as the dmclock queue is not 
empty, it will retrieve a request when pull_request is called 
(assert(pr.is_retn());). If allow_limit_break is false, that assert can fail.

I'm guessing you've created your own interface to the dmclock library, because 
of the issue outlined above.

The dmclock library has a simulator built on top of it, which you can use to 
design various scenarios and see how it works.

You can run it, for example, by:

    $ git clone g...@github.com:ceph/dmclock.git
    $ cd dmclock/
    $ mkdir build
    $ cd build
    $ cmake ..
    $ make dmclock-sims
    $ sim/dmc_sim -c ../sim/dmc_sim_100th.conf

where the file dmc_sim_100th.conf describes the scenario being simulated.

I'm not fully clear I understand your approach. If you can describe it in more 
detail, I'll try to address any questions.

Eric
-------------------------------------------------------------------------------------------------------------------------------------
本邮件及其附件含有新华三技术有限公司的保密信息,仅限于发送给上面地址中列出
的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
邮件!
This e-mail and its attachments contain confidential information from New H3C, 
which is
intended only for the person or entity whose address is listed above. Any use 
of the
information contained herein in any way (including, but not limited to, total 
or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify 
the sender
by phone or email immediately and delete it!
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to