Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #273096

Re: Disk drive zero-fill benchmarks for various synchronization methods and block sizes

From Michael Stone <mstone@debian.org>
Newsgroups linux.debian.user
Subject Re: Disk drive zero-fill benchmarks for various synchronization methods and block sizes
Date 2024-09-16 05:00 +0200
Message-ID <Jna81-cB0d-1@gated-at.bofh.it> (permalink)
References <Jkuwh-aUoK-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Sep 08, 2024 at 10:59:58AM -0700, David Christensen wrote:
>2. Using dd(1) with sync(1):
>3. Using dd(1) without explicit synchronization:

These two tests are identical, as dd has exited (and all the performance 
information has been printed) before sync runs. The flag you want[1] is 
conv=fsync which runs sync before exiting, thus making the stats reflect 
the time taken to flush to disk.

Mike Stone

[1] insofar as you want to use dd at all; as I've said before, it's 
almost never the best tool for the task unless you're trying to reblock 
data from a mainframe 3490 tape to a unix 9 track or somesuch. I haven't 
needed to do that in almost 25 years. In general cp will provide the 
best possible performance using familiar parameters and without the need 
to try to understand how to apply flags based on a 1960s-era mainframe 
directive to a modern unix system. I suppose if you enjoy impressing 
people with obscure command syntax (and if you know people who can be 
impressed by same) dd is its own reward.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Disk drive zero-fill benchmarks for various synchronization methods  and block sizes David Christensen <dpchrist@holgerdanske.com> - 2024-09-08 20:10 +0200
  Re: Disk drive zero-fill benchmarks for various synchronization methods and block sizes Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-09-09 11:00 +0200
    Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes David Wright <deblis@lionunicorn.co.uk> - 2024-09-09 15:40 +0200
      Re: Disk drive zero-fill benchmarks for various synchronization methods and block sizes Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-09-10 11:00 +0200
        Re: Disk drive zero-fill benchmarks for various synchronization methods and block sizes Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-09-13 14:10 +0200
          Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes <tomas@tuxteam.de> - 2024-09-13 20:40 +0200
            Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes Michael Stone <mstone@debian.org> - 2024-09-16 04:50 +0200
              Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes <tomas@tuxteam.de> - 2024-09-16 06:40 +0200
          Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes Jeffrey Walton <noloader@gmail.com> - 2024-09-13 21:10 +0200
            Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes David Christensen <dpchrist@holgerdanske.com> - 2024-09-14 01:40 +0200
            Re: Disk drive zero-fill benchmarks for various synchronization methods and block sizes Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-09-16 11:10 +0200
              Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes <tomas@tuxteam.de> - 2024-09-16 11:20 +0200
                Re: Disk drive zero-fill benchmarks for various synchronization methods and block sizes Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-09-16 12:50 +0200
                Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes <tomas@tuxteam.de> - 2024-09-16 13:00 +0200
                Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes Michael Stone <mstone@debian.org> - 2024-09-16 13:20 +0200
          Re: Disk drive zero-fill benchmarks for various synchronization methods and  block sizes "Rick Thomas" <rick.thomas@pobox.com> - 2024-09-13 23:20 +0200
          Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes David Wright <deblis@lionunicorn.co.uk> - 2024-09-16 21:20 +0200
  Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes Michael Stone <mstone@debian.org> - 2024-09-16 05:00 +0200
    Re: Disk drive zero-fill benchmarks for various synchronization methods and block sizes Anssi Saari <anssi.saari@debian-user.mail.kapsi.fi> - 2024-09-16 12:20 +0200
      Re: Disk drive zero-fill benchmarks for various synchronization  methods and block sizes Michael Stone <mstone@debian.org> - 2024-09-16 13:40 +0200

csiph-web