Bug 1200428 (disk_clone_using_sg_dd)
Summary: | [RFE] disk clone: if xcopy (RFE bug 1069557) is not available, use sg_dd (better performance than 'dd') | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Simon Sekidde <ssekidde> |
Component: | vdsm | Assignee: | Yaniv Lavi <ylavi> |
Status: | CLOSED DEFERRED | QA Contact: | Raz Tamir <ratamir> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 3.4.5 | CC: | amureini, bazulay, fsimonce, lpeer, lsurette, nsoffer, srevivo, ssekidde, ykaul, ylavi |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | Flags: | sherold:
Triaged+
|
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-11-26 11:44:04 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1314382 |
Description
Simon Sekidde
2015-03-10 14:28:12 UTC
(In reply to Simon Sekidde from comment #0) > 4. repeated the same test using dd and block sized aligned to the PE size of > the volume (32MB) > > [root@localhost]# dd if=d4ebc4c0-0092-4f60-8979-2d6c241cc7ef > iflag=direct,fullblock of=f22756f4-129a-434c-84a2-8a5f0aa1e10c oflag=direct > bs=32M > 5184+0 records in > 5184+0 records out > 173946175488 bytes (174 GB) copied, 587.914 s, 296 MB/s > > 5. repeated the same test using sgp_dd, 12 threads and direct IO (32mb > blocks) > > [root@localhost 809c8fb5-400e-4648-bc86-1e4b6dd76bda]# sgp_dd time=1 thr=12 > if=d4ebc4c0-0092-4f60-8979-2d6c241cc7ef iflag=direct > of=f22756f4-129a-434c-84a2-8a5f0aa1e10c oflag=direct bpt=65535 > Assume default 'bs' (block size) of 512 bytes > time to transfer data was 568.471145 secs, 305.99 MB/sec > 339738624+0 records in > 339738624+0 records out According to this, there is no significant difference between sg_dd and dd. Nobody will ever tell the difference between 587 and 568 seconds. What is the difference between sg_dd and dd when copying multiple disks in the same time? - While I assume sgp_dd could be faster than 'dd', we need to account for the CPU usage as well - I don't see this above. - For the usual case of 'clone' VM, I prefer we invest in XCOPY support (via ddpt?) |