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


Groups > comp.sys.raspberry-pi > #10446

Re: When does a program write to the SD card

From druck <news@druck.org.uk>
Newsgroups comp.sys.raspberry-pi
Subject Re: When does a program write to the SD card
Date 2016-01-27 20:24 +0000
Organization A noiseless patient Spider
Message-ID <n8b8s2$tlv$1@dont-email.me> (permalink)
References <v38iabtlq7oapgb1f4i523kbv3pojn826b@4ax.com>

Show all headers | View raw


On 27/01/2016 20:01, Jon wrote:
> I've read much about the SD card being a weak link reliability wise.
> Although many think this issue is overstated.   In any case,  how can
> I tell when my application is causing SD card writes?
> I am using Python 2.7.9 and do not programmically write to the SD card
> (i.e. no open file etc).
> Is there some other controllable reasons a program would increase the
> SD card writes?

If your program isn't writing to a filing system, it shouldn't be 
causing any disc writes (ignoring causing swapping due to large memory use).

What will be causing disc writes is whatever operating you are using, as 
this will be writing to the file system pretty constantly for one reason 
or another. There are many article on tuning various Pi OS's to reduce 
disc writes.

---druck

Back to comp.sys.raspberry-pi | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

When does a program write to the SD card Jon - 2016-01-27 15:01 -0500
  Re: When does a program write to the SD card druck <news@druck.org.uk> - 2016-01-27 20:24 +0000
    Re: When does a program write to the SD card Jon - 2016-01-28 10:37 -0500
  Re: When does a program write to the SD card Anssi Saari <as@sci.fi> - 2016-01-28 10:23 +0200
  Re: When does a program write to the SD card Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-28 13:10 +0000
    When does a program write to the SD card removemefirst.Richard.Menedetter@f31.n310.z2.fidonet.org (Richard Menedetter) - 2016-01-28 14:32 +1200
      Re: When does a program write to the SD card Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-28 21:01 +0000
        When does a program write to the SD card removemefirst.Richard.Menedetter@f31.n310.z2.fidonet.org (Richard Menedetter) - 2016-01-29 01:40 +1200
          Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-01-29 09:45 +0000
            When does a program write to the SD card removemefirst.Richard.Menedetter@f31.n310.z2.fidonet.org (Richard Menedetter) - 2016-01-29 12:17 +1200
              Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-01-29 12:22 +0000
                Re: When does a program write to the SD card Dave Higton <dave@davehigton.me.uk> - 2016-01-29 14:52 +0000
                Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-01-29 15:34 +0000
                Re: When does a program write to the SD card druck <news@druck.org.uk> - 2016-02-04 23:52 +0000
                Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-02-05 00:37 +0000
                When does a program write to the SD card NOSPAM.Richard.Menedetter@f31.n310.z2.binkp.net (Richard Menedetter) - 2016-02-02 18:34 +1200
                Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-02-02 18:00 +0000
          Re: When does a program write to the SD card Martin Gregorie <martin@address-in-sig.invalid> - 2016-01-29 11:41 +0000
            When does a program write to the SD card NOSPAM.Richard.Menedetter@f31.n310.z2.binkp.net (Richard Menedetter) - 2016-02-02 18:29 +1200
        Re: When does a program write to the SD card "Dave Liquorice" <allsortsnotthisbit@howhill.com> - 2016-01-31 10:42 +0000
          Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-01-31 11:04 +0000
          Re: When does a program write to the SD card Ronald Pfeiffer <ronald.pfeiffer@gmx.de> - 2016-02-05 02:22 +0100
            Re: When does a program write to the SD card druck <news@druck.org.uk> - 2016-02-07 12:29 +0000
              Re: When does a program write to the SD card Rob Morley <nospam@ntlworld.com> - 2016-02-07 13:59 +0000
                Re: When does a program write to the SD card The Natural Philosopher <tnp@invalid.invalid> - 2016-02-07 14:10 +0000
                Re: When does a program write to the SD card druck <news@druck.org.uk> - 2016-02-07 16:00 +0000

csiph-web