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


Groups > linux.debian.user > #207086

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

From Nicholas Geovanis <nickgeovanis@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-07 00:40 +0200
Message-ID <xK28G-1pB-3@gated-at.bofh.it> (permalink)
References <xJXsm-70X-1@gated-at.bofh.it> <xK1mh-TF-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, Apr 6, 2019, 4:44 PM Stefan Monnier <monnier@iro.umontreal.ca>
wrote:

>
> > 2. A lot of my editing involves editing near (but not at) the end of
> > a file.  I assume (I know) that the software that saves the file is
> > smart enough not to rewrite the entire file but instead to preserve
> > the beginning of the file and just rewrite the changed part of the
> > file (or from there to the end of the file).
>
> Not completely sure if "you assume" or "you know" it to be the case.
> Especially given that you then add:
>
> > Can anyone confirm that,
>
> which suggest you're not really sure (unless it referred to something
> else).
>

Let's say you are using vi. Last I heard, it will buffer the entire file
contents on the initial open (unless you use the right option etc). How
about on file write?
I don't know.
I submit that rather than try to figure out each app, just install sar and
related utilities and view the aggregate throughput. Maybe use cacti for
quicker-to-screen graphics if you want.


        Stefan
>
>

Back to linux.debian.user | Previous | Next — Previous in thread | Next 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