Menu

#398 Write-performance slows down after 1TB con.written every time every system; Large Containers

1.0
open
nobody
None
2020-11-03
2020-11-01
Jakob
No

Hello,

from about 1 TB of continuous writing to a container with different files, the combination of VeraCrypt and large container starts to slow down and fill up the Windows write cache, while the system actually only writes 1 ~ 4MB / s, the TaskManager shows something from 60 ~ 80MB / s write-performance on the hard disk drive.

At the beginning it starts normally as one would expect with 100MB / s read / write - after about 1TB continuous writing with VeraCrypt the problem occurs on different systems.

Drive / container size = 10 TB / ...
Partition: NTFS / Large "format x: / Q / L / FS: NTFS / A: 4096"; align
MFT Zone: 100; 60; 20 ... (20GB) "fsutil behavior query mftzone"
OS = Windows 8.1
VeraVersion = "<= 1.24.7"
Crypt: AES; Whirlpool; ...
System: Intel 8400T; 4960X ... 32GB ... 64GB


German

Hallo,

ab etwa 1 TB durchgehendem Beschreiben eines Containers mit unterschiedlichen Dateien fängt die Kombination aus VeraCrypt und großem Container an langsamer zu werden und den Windows Schreibcache aufzufüllen, wärend das System tatsächlich nur 1~4MB/s schreibt, zeigt der TaskManager irgendwas von 60~80MB/s Schreibleistung auf dem Festplattenlaufwerk an.

Am Anfang startet das normal wie man das erwarten würde mit 100MB/s lesen/schreiben - nach etwa 1TB durchgehendem Schreiben mit VeraCrypt tritt das Problem auf verschiedenen Systemen auf.

Laufwerk / Containergröße = 10 TB / ...
Partition: NTFS / Large "format x: /Q /L /FS:NTFS /A:4096"; align
MFT Zone: 100;60;20 ... (20GB) "fsutil behavior query mftzone"
OS = Windows 8.1
VeraVersion = "<=1.24.7"
Crypt: AES; Whirpool; ...
System: Intel 8400T; 4960X ... 32GB ... 64GB

Problem = in verschiedenen Systemen und Konfigurationen der Container

Discussion

  • Jakob

    Jakob - 2020-11-01

    Update: Windows own VHXD containers do not seem to be susceptible or only slightly susceptible if you mount them in the OS and encrypt the entire partition with VeraCrypt.
    When writing, there is around 65% net writing performance.

    When writing to a VeraCrypt container after approx.> 1TB in about 5% net.


    German

    Update: Windows eigene VHXD Container scheinen nicht oder nur wenig anfällig zu sein, wenn man diese ins OS mountet und mit VeraCrypt die gesamte Partition verschlüsselt.
    Beim Beschreiben bleiben in etwa 65% Nettoschreibleistung.

    Beim Beschreiben eines VeraCrypt Container nach ca. >1TB in etwa Netto 5%.

     
  • Jakob

    Jakob - 2020-11-03

    Update

    Possible Driver issue?

    I was able to further investigate the problem with different drives and recording technologies.
    It came to light that 2 and again 2 drives on the same system behaved a bit strange after a short time when copying encrypted containers to encrypted partitions.
    Under the menu item "./Settings/Performance/Driver Configuration / Enable extended disk control codes support" I switched on the extended control commands.
    They behaved in such a way that the 2 by 2 team influenced each other as if they were drawing from an entire maximum contingent of write performance and, despite the different file structure, they were even faster when copying, so that they were significantly slower.

    After switching off the control commands, the effect weakened.


    German

    Ich konnte dem Problem weiter auf die Spur gehen mit verschiedenen Laufwerken und Aufzeichnungstechniken.
    Dabei kam zu tage das sich am selben System jeweils 2 und nochmals 2 Laufwerke beim kopieren von verschlüsselten Containern zu verschlüsselten Partitionen nach kurzer Zeit etwas seltsam verhielten.
    Unter dem Menüpunkt "./Settings/Performance/Driver Configuration/Enable extended disk control codes support" hatte ich die erweiterten Steuerungsbefehle eingeschaltet.
    Dabei verhielten die sich so, das das 2 mal 2 Gespann sich so beinflussten als ob sie aus einem gesamten Maximumkontingent der Schreibleistung schöpfen und glichen sich trotz unterschiedlicher Dateistruktur beim kopieren mit der Geschwindigkeit an, so das sie deutlich langsamer waren.

    Nach dem Abschalten der Steuerungsbefehle schwächte sich der Effekt ab.

    "./Settings/Performance/Driver Configuration/Enable extended disk control codes support"

     

    Last edit: Jakob 2020-11-03
  • Jakob

    Jakob - 2020-11-03

    Solution?!

    The problem seems to have been gone for 10 minutes since I completely switched off the Windows virus scanner.


    German

    Lösung?!

    Seit 10 Minuten scheint das Problem weg zu sein nachdem ich den Windows eigenen Virenscanner komplett ausgeschaltet habe.

     

    Last edit: Jakob 2020-11-03

Log in to post a comment.

MongoDB Logo MongoDB