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


Groups > linux.debian.user > #207136

Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file

From David <bouncingcats@gmail.com>
Newsgroups linux.debian.user
Subject Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file
Date 2019-04-08 16:40 +0200
Message-ID <xKDBg-7Tb-29@gated-at.bofh.it> (permalink)
References <xJXsm-70X-1@gated-at.bofh.it> <xKmAp-5Fz-1@gated-at.bofh.it> <xKmAp-5Fz-5@gated-at.bofh.it> <xKBJ7-6Bs-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 8 Apr 2019 at 22:38, <rhkramer@gmail.com> wrote:
> On Sunday, April 07, 2019 04:22:41 PM Reco wrote:
> > On Sun, Apr 07, 2019 at 10:10:58PM +0200, Carles Pina i Estany wrote:
>
> > > In my SSDs I have:
> > > /sys/fs/ext4/dm-0/lifetime_write_kbytes
> > >
> > > I'm not sure if this is specific for SSD?
> >
> > No, it's not. It's filesystem-specific though.
> > Meaning - you have to use ext4 to see this attribute, but the device
> > where the ext4 filesystem resides does not matter.
>
> Well, to clarify, if you have multiple ext4  filesystems, does that represent
> the sum of lifetime_write_kbytes of all of those filesystems?

No, the device is in the path, after the filesystem type.
The device above is dm-0. Here's an example from this machine,
for device sda10:
$ cat /sys/fs/ext4/sda10/lifetime_write_kbytes
8589077

A quick search found this (it's not recent) which might give you
some things to try:
https://serverfault.com/questions/238033/measuring-total-bytes-written-under-linux

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


Thread

Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-06 19:40 +0200
  Re: Measuring (or calculating) how many bytes are actually written to  disk when I repeatedly save a file "Alexander V. Makartsev" <avbetev@gmail.com> - 2019-04-06 22:40 +0200
  Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file Stefan Monnier <monnier@iro.umontreal.ca> - 2019-04-06 23:50 +0200
    Re: Measuring (or calculating) how many bytes are actually written to  disk when I repeatedly save a file Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-04-07 00:40 +0200
    Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Curt <curty@free.fr> - 2019-04-07 11:50 +0200
      Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Curt <curty@free.fr> - 2019-04-07 12:00 +0200
      Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-07 15:10 +0200
    Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-07 14:20 +0200
      Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Erik Christiansen <dvalin@internode.on.net> - 2019-04-07 15:00 +0200
      Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file Stefan Monnier <monnier@iro.umontreal.ca> - 2019-04-07 18:30 +0200
  Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Andy Smith <andy@strugglers.net> - 2019-04-07 03:30 +0200
    Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-07 15:00 +0200
  Re: [OFF-LIST] Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-07 14:00 +0200
  Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Carles Pina i Estany <carles@pina.cat> - 2019-04-07 22:30 +0200
    Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Reco <recoverym4n@enotuniq.net> - 2019-04-07 22:30 +0200
      Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Curt <curty@free.fr> - 2019-04-08 09:50 +0200
        Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-08 14:50 +0200
          Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-08 15:40 +0200
          Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Curt <curty@free.fr> - 2019-04-08 15:40 +0200
            Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-08 15:50 +0200
              Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Curt <curty@free.fr> - 2019-04-08 16:20 +0200
                Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-08 17:00 +0200
                Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file Gene Heskett <gheskett@shentel.net> - 2019-04-08 18:20 +0200
                Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Curt <curty@free.fr> - 2019-04-08 19:00 +0200
                Re: Measuring (or calculating) how many bytes are actually written to  disk when I repeatedly save a file "Alexander V. Makartsev" <avbetev@gmail.com> - 2019-04-08 19:20 +0200
            Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Andy Smith <andy@strugglers.net> - 2019-04-12 11:20 +0200
              Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Curt <curty@free.fr> - 2019-04-12 14:10 +0200
                Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-12 19:20 +0200
                Re: Measuring (or calculating) how many bytes are actually written  to disk when I repeatedly save a file Michael Stone <mstone@debian.org> - 2019-04-12 20:50 +0200
                Re: Measuring (or calculating) how many bytes are actually written to  disk when I repeatedly save a file "Alexander V. Makartsev" <avbetev@gmail.com> - 2019-04-12 22:50 +0200
          Re: Measuring (or calculating) how many bytes are actually written to  disk when I repeatedly save a file "Alexander V. Makartsev" <avbetev@gmail.com> - 2019-04-08 15:50 +0200
            Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-08 18:00 +0200
      Re: Measuring (or calculating) how many bytes are actually written to disk when I repeatedly save a file rhkramer@gmail.com - 2019-04-08 14:40 +0200
        Re: Measuring (or calculating) how many bytes are actually written to  disk when I repeatedly save a file David <bouncingcats@gmail.com> - 2019-04-08 16:40 +0200

csiph-web