Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm on OS X, and I'm copying a large amount of data from one partition to another. Because of the nature of a magnetic disk, I feel this would go much faster if I can get 'cp' to use a huge buffer of a few hundred megs.

Is this easily possible at all? I'm copying several directories recursively.

share|improve this question

No matter what you do in between, shuffling data within solid-state memory chips, the processes of reading and writing a magnetic/mechanical disk, which requires physically moving pieces of metal, will take orders of magnitude more time, and there's no way to avoid that.

share|improve this answer
Well I figure if the disk reads 100 megs, moves the head, and then writes should be much faster than doing this for every couple of kb's. This is very easily testable. – Evert Feb 16 '12 at 12:35
Random access is just faster that sequential access – Evert Feb 16 '12 at 12:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .