Performance of dd in solaris 10

I ran a test the other day of dd'ing an entire 9g drive to another 9g driver under solaris 9, and solaris 10. solaris 10 was 2x faster. I know sun had been working on performance enhancements, and had speeded up system calls and such, but this seems like a huge enhancement, esp for something that seems low level like dd. Does anybody have an explanation on what made dd so much faster under solaris 10 ?

I'll be looking forward to finding other features like this in solaris 10!

-

SunOS 5.9 Generic_112233-05 sun4u sparc SUNW,UltraSPARC-IIi-Engine

# time dd bs=2048k if=/dev/rdsk/c1t1d0s2 of=/dev/rdsk/c1t6d0s2

4316+1 records in

4316+1 records out

real59:22.2

user0.0

sys10.0

SunOS 5.10 s10_69 sun4u sparc SUNW,UltraSPARC-IIi-Engine

# time dd bs=2048k if=/dev/rdsk/c1t1d0s2 of=/dev/rdsk/c1t6d0s2

4316+1 records in

4316+1 records out

real31:39.8

user0.0

sys 1.6

[974 byte] By [ironarm] at [2007-11-26 0:44:21]
# 1

That is a happy surprise. In my tests of dd over the years, we

max out at the media speed of the device.

Also, was this an x86 platform? If so, check to see if

DMA is enabled. prtconf -pv

and look for

something like *-dma-enabled

for the

appropriate driver.

-- richard

relling1 at 2007-7-5 19:39:56 > top of Java-index,Solaris Operating System,Solaris 10 Features...