[sheepdog] Why Sheepdog is talking more CPU ?

Hitoshi Mitake mitake.hitoshi at gmail.com
Thu Jun 25 14:58:04 CEST 2015


At Wed, 24 Jun 2015 19:47:52 +0530,
ankit bhardwaj wrote:
> 
> [1  <text/plain; UTF-8 (quoted-printable)>]
> I am using QEMU 2.0.0 and Sheepdog daemon version 0.7.5 on Ubuntu 14.04.

The version is too old. Could you try v0.9.2? 0.7.x doesn't have a
change for parallelizing I/O with worker threads. It means single CPU
will be very busy than others.

Thanks,
Hitoshi

> 
> On Wed, Jun 24, 2015 at 6:01 PM, Hitoshi Mitake <mitake.hitoshi at gmail.com>
> wrote:
> 
> > At Tue, 23 Jun 2015 20:16:05 +0530,
> > ankit bhardwaj wrote:
> > >
> > > [1  <multipart/related (7bit)>]
> > > [1.1  <multipart/alternative (7bit)>]
> > > [1.1.1  <text/plain; UTF-8 (quoted-printable)>]
> > > I am using "sheep -n /mnt/sheep/0 -c
> > zookeeper:IP1:2181,IP2:2181,IP3:2181"
> > > to start sheep on each node. And in the question I was mostly talking
> > about
> > > reading speed. Writing speed was quite less than the native disk writing.
> > >
> > > On my machine I am able to run 10 VMs comfortably , within 40 seconds
> > when
> > > I am using local disk. But when I try to boot these VM in 3 node- 3
> > replica
> > > sheepdog cluster, CPU becomes the bottleneck after booting 3 VM
> > > simultaneously.  Here is the graph for booing 5 VM simultaneously in
> > > sheepdog cluster.
> >
> > Thanks for your detailed report. Could you provide version of sheepdog and
> > QEMU?
> >
> > Thanks,
> > Hitoshi
> >
> > >
> > >
> > > 鈥>
> > > I want to run more number of VMs. Is there anything, that can be done in
> > > terms of setup, number of node, Number of replicas etc ?
> > >
> > >
> > > On Tue, Jun 23, 2015 at 5:51 PM, Hitoshi Mitake <
> > mitake.hitoshi at gmail.com>
> > > wrote:
> > >
> > > > At Tue, 23 Jun 2015 11:57:53 +0530,
> > > > ankit bhardwaj wrote:
> > > > >
> > > > > [1  <multipart/alternative (7bit)>]
> > > > > [1.1  <text/plain; UTF-8 (7bit)>]
> > > > > I am using 3 node cluster , with 3 copies of disk image. So, each
> > node
> > > > have
> > > > > a full copy of disk image.
> > > >
> > > > Could you provide an option for your sheep processes?
> > > >
> > > > Thanks,
> > > > Hitoshi
> > > >
> > > > >
> > > > > On Tue, Jun 23, 2015 at 10:37 AM, Vasiliy Tolstov <
> > v.tolstov at selfip.ru>
> > > > > wrote:
> > > > >
> > > > > > 2015-06-23 1:40 GMT+03:00 ankit bhardwaj <ankitbhrdwj27 at gmail.com
> > >:
> > > > > > > I am new to Sheepdog. Though I have gained enough knowledge to
> > > > deploy and
> > > > > > > use sheepdog for qemu-kvm VMs. I tried to benchmark Sheepdog and
> > > > found
> > > > > > that:
> > > > > > >
> > > > > > > 1. Sheepdog's Maximum Read/Write Speed is around 70-80% compared
> > to
> > > > local
> > > > > > > storage. That too when the condition are in favour of sheepdog.
> > > > Example:
> > > > > > > Full copy of data on same node and Reading or writing sequential
> > Data
> > > > > > etc.
> > > > > > >
> > > > > > > 2. When using VM disk image to boot VM from Sheepdog storage,
> > some
> > > > extra
> > > > > > > system activities increase the load on the CPU from 30-40%.
> > > > > > >
> > > > > > > Can you please tell me,:
> > > > > > > Why the speed is slow, even if all the data is on the same
> > machine ?
> > > > > > > What activity in sheepdog is eating up my processor cycles ?
> > > > > > >
> > > > > > >
> > > > > > > Sorry for the loosely described experiments and results.
> > > > > >
> > > > > >
> > > > > > I think we need command line for running sheepdog and how you
> > format
> > > > > > you cluster (erasure coded or replicas) ?
> > > > > >
> > > > > > --
> > > > > > Vasiliy Tolstov,
> > > > > > e-mail: v.tolstov at selfip.ru
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Ankit Bhardwaj
> > > > > [1.2  <text/html; UTF-8 (quoted-printable)>]
> > > > >
> > > > > [2  <text/plain; us-ascii (7bit)>]
> > > > > --
> > > > > sheepdog mailing list
> > > > > sheepdog at lists.wpkg.org
> > > > > https://lists.wpkg.org/mailman/listinfo/sheepdog
> > > >
> > >
> > >
> > >
> > > --
> > > Ankit Bhardwaj
> > > [1.1.2  <text/html; UTF-8 (quoted-printable)>]
> > >
> > > [2 Sheepdog_Resource_usage.png <image/png (base64)>]
> > >
> >
> 
> 
> 
> -- 
> Ankit Bhardwaj
> [2  <text/html; UTF-8 (quoted-printable)>]
> 


More information about the sheepdog mailing list