Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On my SSD imaging (Source and Destination are 2 SSDs) I get 12GBpm using CloneZilla while with dd I get only 5GBpm.
What makes Clonezilla so much faster than dd?

share|improve this question
6  
Perhaps you need to tune the block size for dd –  Iain Apr 3 '13 at 11:46
    
Would that make such a drastic difference? –  Lelouch Lamperouge Apr 3 '13 at 11:47
    
suck it and see ? –  Iain Apr 3 '13 at 11:48
1  
Would it make such a drastic difference? OMG YES! –  symcbean Apr 3 '13 at 14:11
1  
Are you mentioning the "overall average" speed or the instantaneous speed? As noted in existing answers that makes a huge difference. –  Alvin Wong Apr 3 '13 at 15:54

2 Answers 2

up vote 16 down vote accepted

dd just reads from block 0 to block 99999 and copies the data.

Clonezilla understands filesystems and understands when there is nothing to be copied (because that's empty space or data from a file that's been deleted).

Once you know not to copy all the useless data, it is much easier to copy the real data.

From the web page "For unsupported file system, sector-to-sector copy is done by dd in Clonezilla."

share|improve this answer

Well, that depends on what Clonezilla uses to do the cloning.

It uses different tools depending on the type of partition, taken from their website:

Based on Partclone (default), Partimage (optional), ntfsclone (optional), or dd to image or clone a partition. 

It will use them in that order typically to try and copy your partition. dd is a last resort because it is just sector by sector copying and does not have any optimization built in that would be based on the filesystem type of the partition. For example, cloning an ntfs partition would be a lot fast than cloning a hfs partition (at least with an older version of clonezilla, haven't used it in a while) because there was no built in tool for efficient hfs+ copying, and it used dd.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.