[sheepdog-users] Snapshot and Cache stress test

MORITA Kazutaka morita.kazutaka at gmail.com
Wed Aug 21 03:26:06 CEST 2013


At Tue, 20 Aug 2013 17:33:11 +0800,
Liu Yuan wrote:
> 
> On Tue, Aug 20, 2013 at 11:14:00AM +0200, Valerio Pachera wrote:
> > I've been trying with qemu cache=directsync.
> > Sheepdog daemon version 0.7.0.
> > 
> > The first run it didn't crash.
> > 
> > The second run I got
> > 
> >   Aug 20 11:06:15  ERROR [main] gateway_op_done(119) leaving sheepdog cluster.
> > 
> > I noticed a node has a slightly different date/time of 18 seconds.
> > I'm going to fix that and repeat the test.
> > 
> > Here's the vid list.
> > Notice there are several id 0!
> > 
> > # dog vdi list
> >   Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
> > s big          3   50 GB  468 MB  0.0 MB 2013-08-20 10:57   4fd25b
> > 3
> > s big          4   50 GB   28 MB  456 MB 2013-08-20 11:00   4fd25c
> > 3
> > s big          5   50 GB   64 MB  472 MB 2013-08-20 11:00   4fd25d
> > 3
> > s big          6   50 GB   28 MB  524 MB 2013-08-20 11:01   4fd25e
> > 3
> > s big          7   50 GB   28 MB  540 MB 2013-08-20 11:01   4fd25f
> > 3
> >   big          0   50 GB   28 MB  556 MB 2013-08-20 11:01   4fd260
> > 3
> > s big          9   50 GB   20 MB  576 MB 2013-08-20 11:01   4fd261
> > 3
> > s big         10   50 GB   28 MB  584 MB 2013-08-20 11:02   4fd262
> > 3
> > s big         11   50 GB   24 MB  604 MB 2013-08-20 11:02   4fd263
> > 3
> > s big         12   50 GB   28 MB  616 MB 2013-08-20 11:02   4fd264
> > 3
> > s big         13   50 GB   24 MB  636 MB 2013-08-20 11:02   4fd265
> > 3
> > s big         14   50 GB  132 MB  636 MB 2013-08-20 11:02   4fd266
> > 3
> > s big         15   50 GB   24 MB  760 MB 2013-08-20 11:03   4fd267
> > 3
> > s big         16   50 GB   28 MB  772 MB 2013-08-20 11:04   4fd268
> > 3
> >   big          0   50 GB   24 MB  792 MB 2013-08-20 11:04   4fd269
> > 3
> > s big         18   50 GB   24 MB  808 MB 2013-08-20 11:04   4fd26a
> > 3
> > s big         19   50 GB   28 MB  820 MB 2013-08-20 11:04   4fd26b
> > 3
> > s big         20   50 GB   24 MB  840 MB 2013-08-20 11:04   4fd26c
> > 3
> > s big         21   50 GB   24 MB  856 MB 2013-08-20 11:05   4fd26d
> > 3
> > s big         22   50 GB   24 MB  872 MB 2013-08-20 11:05   4fd26e
> > 3
> > s big         23   50 GB   24 MB  888 MB 2013-08-20 11:05   4fd26f
> > 3
> > s big         24   50 GB   24 MB  904 MB 2013-08-20 11:05   4fd270
> > 3
> > s big         25   50 GB   24 MB  920 MB 2013-08-20 11:05   4fd271
> > 3
> > s big         26   50 GB   24 MB  936 MB 2013-08-20 11:05   4fd272
> > 3
> >   big          0   50 GB   24 MB  952 MB 2013-08-20 11:06   4fd273
> > 3
> >   big          0   50 GB   24 MB  968 MB 2013-08-20 11:06   4fd274
> > 3
> > s big         29   50 GB   20 MB  980 MB 2013-08-20 11:06   4fd275
> > 3
> > s big         30   50 GB   24 MB  992 MB 2013-08-20 11:06   4fd276
> > 3
> > s big         31   50 GB   28 MB 1004 MB 2013-08-20 11:06   4fd277
> > 3
> > s big         32   50 GB   24 MB  1.0 GB 2013-08-20 11:06   4fd278
> > 3
> > s big         33   50 GB   28 MB  1.0 GB 2013-08-20 11:07   4fd279
> > 3
> > s big         34   50 GB   28 MB  1.0 GB 2013-08-20 11:07   4fd27a
> > 3
> > s big         35   50 GB   12 MB  1.0 GB 2013-08-20 11:07   4fd27b
> > 3
> > s big         36   50 GB  0.0 MB  1.1 GB 2013-08-20 11:07   4fd27c
> > 3
> > s big         37   50 GB  4.0 MB  1.1 GB 2013-08-20 11:07   4fd27d
> > 3
> > s big         38   50 GB  0.0 MB  1.1 GB 2013-08-20 11:08   4fd27e
> > 3
> > s big         39   50 GB  0.0 MB  1.1 GB 2013-08-20 11:08   4fd27f
> > 3
> > s big         40   50 GB  0.0 MB  1.1 GB 2013-08-20 11:08   4fd280
> > 3
> > s big         41   50 GB  0.0 MB  1.1 GB 2013-08-20 11:08   4fd281
> > 3
> > s big         42   50 GB  0.0 MB  1.1 GB 2013-08-20 11:08   4fd282
> > 3
> > s big         43   50 GB  0.0 MB  1.1 GB 2013-08-20 11:08   4fd283
> > 3
> > s big         44   50 GB  0.0 MB  1.1 GB 2013-08-20 11:09   4fd284
> > 3
> > s big         45   50 GB  0.0 MB  1.1 GB 2013-08-20 11:09   4fd285
> > 3
> >   big          0   50 GB  0.0 MB  1.1 GB 2013-08-20 11:09   4fd286     3
> > -- 
> 
> Kazutaka, I suspect that 24cf669 introduce the segfault, any ideas? And we'd
> better put Valerio's test into our tests/functional too.

I couldn't reproduce it, but the problem happens even with v0.7.0,
right?  I guess it is the problem of the live snapshot feature.

Valerio, can you try the following tree?  It contains some fixes for
sheepdog.

  git://github.com/sheepdog/qemu.git

Thanks,

Kazutaka



More information about the sheepdog-users mailing list