- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How long should dd take?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2007 08:20 AM
10-18-2007 08:20 AM
How long should dd take?
dd if=/dev/dsk/c2t0d0 of=/dev/null bs=2048k
How long should it take?
GBR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2007 08:23 AM
10-18-2007 08:23 AM
Re: How long should dd take?
HOWEVER, it would run 5 to 8 times faster if you used the raw interface instead of the block.
dd if=/dev/rdsk/c2t0d0 of=/dev/null bs=2048k
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2007 08:26 AM
10-18-2007 08:26 AM
Re: How long should dd take?
GBR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2007 08:28 AM
10-18-2007 08:28 AM
Re: How long should dd take?
size of disks
speed of disks
type of disks
configuration of the disks
speed of the interface
skipping the buffer
....
....
....
A swag for a 36GB 15K SCSI-2 disk is about 20-30 minutes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2007 08:29 AM
10-18-2007 08:29 AM
Re: How long should dd take?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2007 08:30 AM
10-18-2007 08:30 AM
Re: How long should dd take?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2007 08:31 AM
10-18-2007 08:31 AM
Re: How long should dd take?
Use /dev/rdsk/xxxxx instead of /dev/dsk/xxxxx
For whatever reason, the block interface for doing "dd" commands is much slower.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2007 08:42 AM
10-18-2007 08:42 AM
Re: How long should dd take?
I'm running the command:
$> time dd if=/dev/rdsk/c3t6d0 of=/dev/null bs=2048 count=9216
I'll let you know what it says when done...
It's ~probably~ a U160 SCSI drive running at 10K rpm; that's from what I remember anyways...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2007 08:44 AM
10-18-2007 08:44 AM
Re: How long should dd take?
9216+0 records in
9216+0 records out
real 5:29.2
user 0.0
sys 3.1
So, that's 18G in 5 1/2 minutes using /rdsk/
interface...
I'm now running it from /dsk/ instead of /rdsk/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2007 09:05 AM
10-18-2007 09:05 AM
Re: How long should dd take?
Here's the final data for pulling 18G from a disk into /dev/null 2M at a time...
$> time dd if=/dev/rdsk/c3t6d0 of=/dev/null bs=2048k count=9216
9216+0 records in
9216+0 records out
real 5:29.2
user 0.0
sys 3.1
$> time dd if=/dev/dsk/c3t6d0 of=/dev/null bs=2048k count=9216
9216+0 records in
9216+0 records out
real 6:26.5
user 0.1
sys 2:09.8
So, to finally answer your question: 6 and 1/2 minutes
- sorry about all the info you apparently weren't interested in (rdsk)...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 07:21 AM
11-27-2008 07:21 AM