[sheepdog-users] Testing snapshot-object-reclaim

Valerio Pachera sirio81 at gmail.com
Mon Apr 14 16:47:00 CEST 2014


I also have the test run on the usual 3 nodes.
This time I run 'dog node info' after deleting each snapshot.
It may be interesting to compare it with the single node test.

sheep -v
Sheepdog daemon version 0.8.0_153_g5d14638

qemu-system-x86_64 --version
QEMU emulator version 1.7.92, Copyright (c) 2003-2008 Fabrice Bellard

dog node list
  Id   Host:Port         V-Nodes       Zone
   0   192.168.10.4:7000        75   67807424
   1   192.168.10.5:7000        147   84584640
   2   192.168.10.6:7000        162  101361856

dog vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
  test         0  5.0 GB  864 MB  0.0 MB 2014-04-14 14:50   7c2b25    2:1

dog node info
Id      Size    Used    Avail   Use%
 0      217 GB  432 MB  217 GB    0%
 1      423 GB  432 MB  422 GB    0%
 2      467 GB  432 MB  467 GB    0%
Total   1.1 TB  1.3 GB  1.1 TB    0%
Total virtual image size        5.0 GB

dog vdi snapshot test
dog vdi snapshot test
dog vdi snapshot test
dog vdi snapshot test
dog vdi snapshot test
dog vdi snapshot test

dog vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
s test         1  5.0 GB  864 MB  0.0 MB 2014-04-14 14:50   7c2b25    2:1
s test         2  5.0 GB  4.5 GB  228 MB 2014-04-14 14:55   7c2b26    2:1
s test         3  5.0 GB   36 MB  4.7 GB 2014-04-14 14:57   7c2b27    2:1
s test         4  5.0 GB  4.4 GB  256 MB 2014-04-14 14:58   7c2b28    2:1
s test         5  5.0 GB   20 MB  4.7 GB 2014-04-14 15:29   7c2b29    2:1
s test         6  5.0 GB   28 MB  4.7 GB 2014-04-14 15:29   7c2b2a    2:1
  test         0  5.0 GB  0.0 MB  4.7 GB 2014-04-14 15:30   7c2b2b    2:1

dog node info
Id      Size    Used    Avail   Use%
 0      220 GB  5.0 GB  215 GB    2%
 1      425 GB  5.0 GB  420 GB    1%
 2      470 GB  5.0 GB  465 GB    1%
Total   1.1 TB  15 GB   1.1 TB    1%
Total virtual image size        5.0 GB

dog vdi delete -s 1 test
dog node info
Id      Size    Used    Avail   Use%
 0      220 GB  4.7 GB  215 GB    2%
 1      425 GB  4.6 GB  421 GB    1%
 2      470 GB  4.7 GB  465 GB    1%
Total   1.1 TB  14 GB   1.1 TB    1%
Total virtual image size        5.0 GB

time dog vdi delete -s 2 test

real    1m53.872s
user    0m0.000s
sys     0m0.000s

dog node info
Id      Size    Used    Avail   Use%
 0      220 GB  9.3 GB  211 GB    4%
 1      425 GB  4.6 GB  421 GB    1%
 2      470 GB  9.3 GB  460 GB    1%
Total   1.1 TB  23 GB   1.1 TB    2%
Total virtual image size        5.0 GB

time dog vdi delete -s 3 test

real    2m6.240s
user    0m0.000s
sys     0m0.000s

dog node info
Id      Size    Used    Avail   Use%
 0      219 GB  2.7 GB  216 GB    1%
 1      424 GB  2.4 GB  422 GB    0%
 2      468 GB  2.7 GB  466 GB    0%
Total   1.1 TB  7.9 GB  1.1 TB    0%
Total virtual image size        5.0 GB

time dog vdi delete -s 4 test

real    0m13.789s
user    0m0.000s
sys     0m0.000s

dog node info
Id      Size    Used    Avail   Use%
 0      219 GB  2.7 GB  216 GB    1%
 1      424 GB  2.4 GB  422 GB    0%
 2      468 GB  2.7 GB  466 GB    0%
Total   1.1 TB  7.9 GB  1.1 TB    0%
Total virtual image size        5.0 GB

time dog vdi delete -s 5 test

real    1m52.807s
user    0m0.000s
sys     0m0.000s

dog node info
Id      Size    Used    Avail   Use%
 0      219 GB  7.1 GB  212 GB    3%
 1      424 GB  2.4 GB  422 GB    0%
 2      468 GB  7.1 GB  461 GB    1%
Total   1.1 TB  17 GB   1.1 TB    1%
Total virtual image size        5.0 GB

time dog vdi delete -s 6 test

real    2m44.440s
user    0m0.000s
sys     0m0.000s

dog node info
Id      Size    Used    Avail   Use%
 0      219 GB  7.1 GB  212 GB    3%
 1      424 GB  2.4 GB  422 GB    0%
 2      468 GB  7.1 GB  461 GB    1%
Total   1.1 TB  17 GB   1.1 TB    1%
Total virtual image size        5.0 GB

dog vdi list
  Name        Id    Size    Used  Shared    Creation time   VDI id  Copies  Tag
  test         0  5.0 GB  0.0 MB  4.7 GB 2014-04-14 15:30   7c2b2b    2:1
time dog vdi delete test

real    1m25.355s
user    0m0.000s
sys     0m0.000s

dog node info
Id      Size    Used    Avail   Use%
 0      217 GB  713 MB  217 GB    0%
 1      423 GB  212 MB  422 GB    0%
 2      467 GB  713 MB  466 GB    0%
Total   1.1 TB  1.6 GB  1.1 TB    0%
Total virtual image size        0.0 MB



More information about the sheepdog-users mailing list