bugThe GNU Hurd - Bugs: bug #17193, performance of `dd' w.r.t....

 
 

bug #17193: performance of `dd' w.r.t. different block sizes

Submitter:  Thomas Schwinge <tschwinge>
Submitted:  Mon 24 Jul 2006 02:44:01 PM UTC
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Reproducibility:  None
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

  Spam posted by anonymous
  Spam posted by anonymous
Mon 24 Jul 2006 02:44:01 PM UTC, original submission:  

20:03 <antrik> with "dd if=/dev/hd0s6 of=/dev/hd0s8 bs=512" I get the same 20 kbyte/s as with cat
20:03 <antrik> but with bs=1k, I already get 75 k...
20:03 <antrik> 130 with 2k
20:04 <antrik> 230 with 4k
20:04 <antrik> and so on
20:04 <ness> Does copying the files stress ipc (I'd guess)?
20:05 <ness> Because overhead is smaller for larger payload sizes...
20:08 <antrik> well, with larger block sizes, the disk seeks considerably less; looks like each single copied block is written immediately...
20:09 <antrik> that doesn't explain the unexpected jump between 512 byte and 1024 byte block size, though
20:10 <antrik> maybe with 1024 it is fast enought so the disk access is optimized a bit at least, or something
20:11 <antrik> or it's some sheduling issue
20:27 <antrik> also, with sizes <512 there is no further slowdown
20:27 <antrik> (well, except when going <16...)
23:21 <antrik> interesting... if I give a larger blocksize to dd, the relative CPU consumption rises compared to that one of pflocal...
23:21 <antrik> and the CPU consumption of /dev/zero drops nearly to 0

Thomas Schwinge <tschwinge>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

 

 

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2008-07-09 tschwinge Attached File#16049 Removed
2008-07-09 None Attached File- Added feed_rss10_80x15.png, #16049

Back to the top


Powered by Savane 3.9