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


Groups > ger.ct > #535421

Re: A thousand files ...

From Bonita Montero <Bonita.Montero@gmail.com>
Newsgroups ger.ct, de.comp.os.unix.linux.misc
Subject Re: A thousand files ...
Date 2021-12-27 10:33 +0100
Organization A noiseless patient Spider
Message-ID <sqc194$b1t$1@dont-email.me> (permalink)
References <sq55rr$kik$1@dont-email.me> <sq5bn0$85n$1@solani.org> <sq5u75$mmd$1@dont-email.me> <sqalrt$n7i$1@solani.org>

Cross-posted to 2 groups.

Show all headers | View raw


Am 26.12.2021 um 22:12 schrieb Hendrik van der Heijden:

> Doch, beim Schreiben ist das total relevant, mehr als beim Lesen.

Die Betriebssysteme geben eigentlich so gut wie alle ihren freien,
also nicht zu irgendwelchen working sets gehörigen, Speicher als
Cache frei. Und ich meine: Ich schreibe da gerade mal 400MB, das
geht in jeglichen Write Buffer heutiger Systeme.
Und wenn das so relevant wäre, dann müsste das Windows-System ja
einen Vorteil haben, denn das hat 64GB DDR4-2666-ECC, während das
Linux 16GB DDR4-2133-ECC hat.

> Das entscheidet, ob und wann was konsistent und persitiert sein muss.
> Strengstenfalls muss jeder fclose-Call warten, bis alle (Meta)Daten
> von der Disk rückgemeldet geschrieben sind, ...

Nö, das macht kein Betriebssystem; das wird asynchron weggeschrieben.
Es kann also mit Leichtigkeit passieren, dass wenn das System wärhend
des Schreibens in eine gerade erstellte Datei crasht, die nach dem
Reboot nicht mehr wiederzufinden ist. Will man das nicht, dann muss
man nach dem letzten write() ein fsync() machen; dann sind alle Meta-
und Nutzdaten der vorangegangenen Änderungen persistetn.

> Wenn zwischendurch der Strom weg ist, sind dann alle
> Dateien, deren fclose returned hat noch da.

Das ist einwandfrei falsch, s.O.

Back to ger.ct | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-24 20:08 +0100
  Re: A thousand files ... Hendrik van der Heijden <hvdh@gmx.de> - 2021-12-24 21:48 +0100
    Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-25 03:04 +0100
      Re: A thousand files ... Andreas Kohlbach <ank@spamfence.net> - 2021-12-25 05:16 -0500
        Re: A thousand files ... Gerrit Heitsch <gerrit@laosinh.s.bawue.de> - 2021-12-25 11:23 +0100
        Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-25 11:51 +0100
          Re: A thousand files ... Andreas Kohlbach <ank@spamfence.net> - 2021-12-25 12:01 -0500
      Re: A thousand files ... Hendrik van der Heijden <hvdh@gmx.de> - 2021-12-26 22:12 +0100
        Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-27 10:33 +0100
          Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-27 11:21 +0100
            Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-27 18:32 +0100
              Re: A thousand files ... Dietz Proepper <dietz-usenet@rotfl.franken.de> - 2021-12-28 11:33 +0100
                Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-28 11:47 +0100
                Re: A thousand files ... Dietz Proepper <dietz-usenet@rotfl.franken.de> - 2021-12-29 00:12 +0100
                Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-29 06:20 +0100
                Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-29 06:29 +0100
                Re: A thousand files ... Dietz Proepper <dietz-usenet@rotfl.franken.de> - 2021-12-29 10:49 +0100
                Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-29 11:58 +0100
                Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-29 11:59 +0100
                Re: A thousand files ... Dietz Proepper <dietz-usenet@rotfl.franken.de> - 2021-12-29 12:01 +0100
                Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-29 12:23 +0100
                Re: A thousand files ... "Dr. Joachim Neudert" <neudert@5sl.org> - 2021-12-29 12:44 +0100
                Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-29 14:30 +0100
  Re: A thousand files ... spamfalle2@arcor.de (Marc Stibane) - 2021-12-25 19:46 +0100
    Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-25 20:25 +0100
      Re: A thousand files ... spamfalle2@arcor.de (Marc Stibane) - 2021-12-25 22:32 +0100
  Re: A thousand files ... Bonita Montero <Bonita.Montero@gmail.com> - 2021-12-31 12:27 +0100

csiph-web