On Fri, Sep 22, 2023 at 03:11:07PM -0300, vitmau...@gmail.com wrote:
> Hi,
> 
> I used the command "cd /SRC && dump 0f - . | (cd /DST && restore -rf - )"
> as suggested by the "Disk Setup" section of the FAQ to transfer everything
> from one of my old hard disks to the one that should replace it. However,
> I'm stuck with something around 35 megabytes/s of speed transfer (measured
> using "systat -h io") following this path. If I use rsync, I get something
> around 70 megabytes/s (measured by both the "--progress" option and

I have a question and a comment. When I use 
# systat -h iostat 

I get the following display:
DEVICE               READ    WRITE     RTPS     WTPS      SEC
sd0                   39M      819     6803        0      1.0
sd1                     0      40M        0      641      0.3
Totals                39M      40M     6803      641      1.2

What does RTPS and WTPS mean? 

I am using OpenBSD 7.3 GENERIC.MP#3 amd64. I dump with the following
command:

dump -0au -f /mnt/OpenBSDHome-lvl0.dump /dev/rwd0g

/dev/rwd0g is /home.
I get thes results:

DUMP: Date of this level 0 dump: Fri Sep 22 20:50:47 2023
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rsd0k to /mnt/OpenBSDHome-lvl0.dump
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 30528073 tape blocks.
  DUMP: Volume 1 started at: Fri Sep 22 20:50:47 2023
  DUMP: dumping (Pass III) [directories]
  DUMP: dumping (Pass IV) [regular files]
  DUMP: 39.68% done, finished in 0:07
  DUMP: 79.49% done, finished in 0:02
  DUMP: 30557849 tape blocks on 1 volume
  DUMP: Date of this level 0 dump: Fri Sep 22 20:50:47 2023
  DUMP: Volume 1 completed at: Fri Sep 22 21:03:21 2023
  DUMP: Volume 1 took 0:12:34
  DUMP: Volume 1 transfer rate: 40527 KB/s
  DUMP: Date this dump completed:  Fri Sep 22 21:03:21 2023
  DUMP: Average transfer rate: 40527 KB/s
  DUMP: level 0 dump on Fri Sep 22 20:50:47 2023

I am getting an average transfer rate of 40527/1024 = 39.577 GB/sec. I
don't think that is bad at all. It's dumping /home to a USB external
hard drive. The dumped machine is a Lenovo T440 Thinkpad with Softdeps
enabled, on an SSD drive. What do you folks think?

--
Kind regards,
Jonathan

Reply via email to