Windows 10: slow writing on USB 3 key encrypted with Bitlocker

Discus and support slow writing on USB 3 key encrypted with Bitlocker in Windows 10 Drivers and Hardware to solve the problem; Hi, after upgrading my two PC to Windows 10 Enterprise 2004, OS build 19041.450, I'm experiencing on both slow writing on USB 3 key encrypted with... Discussion in 'Windows 10 Drivers and Hardware' started by calaver4, Aug 16, 2020.

  1. calaver4 Win User

    slow writing on USB 3 key encrypted with Bitlocker


    Hi,

    after upgrading my two PC to Windows 10 Enterprise 2004, OS build 19041.450, I'm experiencing on both slow writing on USB 3 key encrypted with bitlocker.

    With previous Windows version writing speed was about 20 MB/s, now speed swings from 8 MB/s to 0.

    With the same USB key not encrypted the writing speed is about 18 MB/s, a bit slower than with the previous Windows version.

    USB 3 chipset is not the same on the PCs, one is Intel and the other is ASmedia.


    Any idea on how to fix this issue?


    Thanks in advance

    :)
     
    calaver4, Aug 16, 2020
    #1
  2. SergiyRX Win User

    Poor write performance of Bitlocker-enabled USB 3.x UAS (USB Attached SCSI) external SSD drives


    slow writing on USB 3 key encrypted with Bitlocker 52eda7fc-322c-4860-8cd7-e7f5f3ab27a8?upload=true.png

    slow writing on USB 3 key encrypted with Bitlocker 5cb25da4-1d58-422a-a173-dab91806191d?upload=true.png


    Hi Community!

    This topic is about poor write performance of Bitlocker-enabled external USB 3.x attached SCSI SSD drives (so called UAS drives) that are gaining popularity these days.

    I trigger this topic because I found information available on the Internet too contradictory and misleading, and because of growing number of UAS SSDs on the market. The devices are typically equipped with some sort of
    SandFprce or Phison controllers, so they operate much like SAS SCSI drives. Peculiarly, since USB 3.x provides double simplex transfers, in theory (if supported in Windows 10, of which I am not sure) the devices should be capable of simultaneously read and
    write with little speed downgrade.

    When people complain about “something is wrong” with their Bitlocker enabled drive, they lack “system and methodology”, because what is applicable to one drive is not applicable to another or the same drive in different circumstances.
    Hereby I give you a method of correctly testing and comparing the performance of the external USB 3.x attached SCSI SSD drives which cannot alter the true results and mislead interpretations. (Like the guy who run the test on a PC with 64 GB DRAM and test
    file size of 32 GB therefore actually measured performance of cache and not Bitlocker itself). Once you stick to the procedure described, you will not make such the mistakes.

    This procedure applies to Bitlocker encrypted volumes on external SCSI SSD drives connected through USB 3.x serial bus to Windows 10 64 Professional / Professional for Workstations machines, builds 1605 and above;

    For this procedure the following conditions are true:

    • The CPU of the machine has included set of Intel New AES instructions, providing at least 5 G-ops for encryption/decryption performance in hardware, total for all the cores;

    • The sustained DirectIO mode (Windows caching disabled) speed of the SAS attached USB 3.x drive should be above 400 MB/sec for both write and read random patterns, latency below 0.03 ms, when tested blocksizes are above 256K according ATTO and test
      file size should be double of the system physical memory. So we know for sure UAS is enabled and operating.

    • The drive should be set as "Removable" in the policy. This is a precaution to prevent the OS to intervene into the IO flow and caching.

    Now the Bitlocker performance measure procedure:

    • Create a new NTFS volume on the drive with size of quadruple of system memory size (physical). So t.ex. for 8 GB system memory we create a volume 32 GB.

    • Ensure that hardware encryption on the drive, if any, is disabled in GPO. For me t.ex, with new Corsair Voyager GTX 512 GB, there is no encrypting processor on the drive, as the controller of the disk is Phison (no compression or encryption).

    • Create another volume next to it, of the same size and type of filesystem as the previos. This second volume will be our reference.

    • Enable BITLOCKER for the first volume and fully encrypt it with new XTS 128 bit AES (default for new versions of Windows 10) and not the "compatible mode". Do NOT use "Bitlocker On The Go", encrypt the whole volume NOW. Do not enable the Bitlocker
      on the reference volume.

    Well, if you correctly reproduced the bench, you will have a Bitlocker volume on your external drive with assigned letter, and another volume with another assigned drive letter, so move on and open ATTO.

    • Pick up the second (unencrypted) volume by the assigned letter. Select queque depth of 8, Direct IO mode, IO overlapping as test parametes and full range for the block sizes. Set test file size to be half of the volume size.

    • Run the test and save the results.

    • Now, do the same for the Bitlocker encrypted drive. Save the results

    The outcome.

    You will immediately notice how performance drops when BitLocker is enabled. This is especially noticeable for large block sizes.

    Pick up t.ex 4 Mb block size random write speed from the results set for unencrypted volume and divide it by the same result for the Bitlocker encrypted volume.

    For me the performance degradation is severe: this ratio is as large as 4 on NTFS and up to 7 for ReFS; To underline, this is for the whole encrypted volume.

    Discussion.

    Till now, nobody told us how much actual data the Bitlocker writes physically to disk when System writes to Bitlocker some given portion of data. What is the aspect ratio of the two? With the hardware AES support on new Intel
    CPUs the encryption overhead is minimal, a matter of percents;

    But ratios this high for AES writing operations might tell us that Bitlocker writes 4-5 times more to the physical layer that it writes on the System level, hence the performance drop.

    Is that normal, is that “by design”?

    Can you share you results acquired according this procedure for you drive?

    Can you report your model name/ capacity with the result of the test?

    It seems that something is not clear with the latest implementation of Bitlocker when it comes to real-world performance with external USB 3.x UAS SSD drives. Do you agree?

    What is your opinion on the topic? Would you suggest some additional testing/ GPO settings/ configurations to test this issue more completely and are you aware of the way how to fix it, if you believe it is possible?

    Do you agree that sustained write performance for 450+ MB/s capable device at 100+ MB/s with Bitlocker enabled is a shame? For comparison, VeraCrypt provides Three Level Nested Encryption at such the write speed on the same drive
    and volume!

    Thank you everybody who reads this and share your thoughts and results.

    Thank attached are ATTO test for the same volume on the external USB 3.x UAS SSD Bitlocker encrypted vs. Unencrypted (NTFS)

    Regards,

    Serge
     
    SergiyRX, Aug 16, 2020
    #2
  3. BitLocker Save to USB Flash missing?


    Hi,

    I followed the step by step guide on what Brink wrote up below.
    https://www.tenforums.com/tutorials/3...-a.html?filter[1]=Security System Tools

    However, when turning ON BitLocker to encrypt the OS drive only, and ask me to where to save the recovery key, I get only the Save to File and not the Save to USB Flash. Has MS taken out the Save to USB selection since WIn 10 version 1511?

    I followed all the steps and left BitLocker to its default setting (except for encryption method).

    I was able to save the recovery key to a file which was my USB flash drive.
     
    win10freak, Aug 16, 2020
    #3
  4. Jan Del Win User

    slow writing on USB 3 key encrypted with Bitlocker

    Bitlocker USB

    Hi, Margaret.

    BitLocker requires you to have a USB key in able to access the information. You can create a USB key by using a blank thumb drive or USB drive formatted to NTFS OR FAT32 and follow these steps:

    • Click Start and go to Control Panel.
    • Look for System and Security then click it.
    • Select BitLocker Drive Encryption.
    • Under BitLocker Drive Encryption, click Turn on BitLocker.
    • Choose how you want to unlock your drive during startup: Insert a USB flash drive or
      Enter a Password and then click Next.
    • On the How Do You Want To Store Your Recovery Key Page, click Save the Recovery Key To A File.
    • In the Save BitLocker Recovery Key As dialog box, choose a save location, and then click
      Save.
    • You can now print the recovery key if you want to. When you have finished, click
      Next.
    • On the Are You Ready To Encrypt This Drive page, click Start Encrypting.

    Note: Do not remove the USB flash drive until the encryption process is complete. How long the encryption process takes depends on the size of the drive and other factors.

    Get back to us if you need further assistance.
     
    Jan Del, Aug 16, 2020
    #4
Thema:

slow writing on USB 3 key encrypted with Bitlocker

Loading...
  1. slow writing on USB 3 key encrypted with Bitlocker - Similar Threads - slow writing USB

  2. Bitlocker encryption - key not escrowed

    in Windows 10 Software and Apps
    Bitlocker encryption - key not escrowed: We manage bitlocker through SCCM and inadvertently enabled bitlocker on external storage devices D and E. An employee had an attached external drive, and the drive encrypted, but the Bitlocker Key never escrowed to AD, and we can not find it on the comptuer. Attaching the...
  3. Bitlocker drive encryption key

    in Windows 10 Gaming
    Bitlocker drive encryption key: Hey there,My laptop is not opening and is asking for Bitlocker drive encryption key.I have log in with my university email address for some software logins like powerbi, tableau and python. How can I get the key?Thanks in advance...
  4. Bitlocker drive encryption key

    in Windows 10 Software and Apps
    Bitlocker drive encryption key: Hey there,My laptop is not opening and is asking for Bitlocker drive encryption key.I have log in with my university email address for some software logins like powerbi, tableau and python. How can I get the key?Thanks in advance...
  5. Bitlocker Key Encryption

    in AntiVirus, Firewalls and System Security
    Bitlocker Key Encryption: Hi team,My hard drive was bitlocker encrypted and the surprising thing is that I didn't even know how. For this reason i formatted the disk since I didn't have any choice. After formatting even if I am trying to recover the data, it is asking for the recovery key. Could you...
  6. Bitlocker Key Encryption

    in Windows 10 Gaming
    Bitlocker Key Encryption: Hi team,My hard drive was bitlocker encrypted and the surprising thing is that I didn't even know how. For this reason i formatted the disk since I didn't have any choice. After formatting even if I am trying to recover the data, it is asking for the recovery key. Could you...
  7. Bitlocker Key Encryption

    in Windows 10 Software and Apps
    Bitlocker Key Encryption: Hi team,My hard drive was bitlocker encrypted and the surprising thing is that I didn't even know how. For this reason i formatted the disk since I didn't have any choice. After formatting even if I am trying to recover the data, it is asking for the recovery key. Could you...
  8. Bitlocker encryption key recovery

    in Windows 10 Installation and Upgrade
    Bitlocker encryption key recovery: My Dell windows 10 laptop is acting up. Won't finish booting up.. Try to run clean disk and keep getting asked for my bit locker encryption key... I've never set this up machine bought new in a store. Help! Please... Steve...
  9. Bitlocker fulldisk encryption, writing files to disk while encryption is in progress?

    in Windows 10 Ask Insider
    Bitlocker fulldisk encryption, writing files to disk while encryption is in progress?: So if i enabled fulldisk-encryption with bitlocker, and while it is encrypting i am for example creating textdocuments or whatever on the disk being encrypted, it will also be encrypted or will it not be? Edit: I am not creating textdocuments but copying big files to the...
  10. Bitlocker: Encrypted USB no access

    in AntiVirus, Firewalls and System Security
    Bitlocker: Encrypted USB no access: Hello, I have a usb that has been encrypted using bitlocker, I can connect this usb to my desktop and I can input the password and access the usb. However on my laptop and other computers, when I plug in the usb I do not get the prompt to input my password and instead just...

Users found this page by searching for:

  1. nu vot

    ,
  2. bitlocker usb slow