Jump to content
  • As Microsoft default-encrypts Windows 11, Linux is set to get a huge performance boost


    Karlston

    • 3 comments
    • 1.3k views
    • 2 minutes
     Share


    • 3 comments
    • 1.3k views
    • 2 minutes

    Earlier this month, we reported about an upcoming change that Microsoft is testing related to BitLocker encryption. in the upcoming Windows 11 version 24H2. The company wants to encrypt user drives by default. Although this was already a commonplace happening inside OEM PCs that run Windows 11 Pro, it looks like the same is going to happen to Home editions as well. You can read the dedicated coverage in this article here.

     

    Interestingly, it has been found that the default software-based BitLocker encryption (XTS-AES 128, - , where XTX stands for XEX Tweakable Block Cipher with Ciphertext Stealing and AES is Advanced Encryption Standard -) on Windows, can lead to massive performance loss even on some of the fastest data drives, like a PCIe Gen4 NVMe SSD, which means users can expect some performance hit on their systems,

     

    Meanwhile, over on Linux, Google's Eric Biggers recently started working on various tweaks to AES-XTS implementation and it was found to massively improve performance on AMD as well as Intel x86 systems.

     

    The test results post-implementation of these changes see a huge improvement in terms of throughput data on both AMD and Intel. The biggest improvement was seen on Zen 4. We covered this in detail previously in this article.

     

    Hence, if encryption becomes the norm, users may want to go for the superior solution, whether it's Windows or Linux. However, it is unclear at the moment how this improved performance on the Linux side will compare with Windows.

     

    This change has now been proposed for pushing in the upcoming Linux kernel version 6.10. The patch notes says:

     

    This update includes the following changes:

     

    API:

     

    • Remove crypto stats interface.

     

    Algorithms:

     

    • Add faster AES-XTS on modern x86_64 CPUs.
    • Forbid curves with order less than 224 bits in ecc (FIPS 186-5).
    • Add ECDSA NIST P521.

     

    Drivers:

     

    • Expose otp zone in atmel.
    • Add dh fallback for primes > 4K in qat.
    • Add interface for live migration in qat.
    • Use dma for aes requests in starfive.
    • Add full DMA support for stm32mpx in stm32.
    • Add Tegra Security Engine driver.

     

    Others:

     

    • Introduce scope-based x509_certificate allocation.

    Hence, in addition to a better-optimized algorithm for AES-XTS, there appear to be several other improvements as well including DMA (direct memory access) advancements, among several other things.

     

    Source: LKML via Phoronix

     

    Source


    User Feedback

    Recommended Comments

    I wonder if Microsoft warns the user that their disk is encrypted as this could cause quite a few problems in decrypting data if they don't know BitLocker and haven't saved the recovery key. 😬

    I don't understand why this feature should be enabled by default if it causes slowdowns and future troubles. 🤔

     

    But why would the average user need BitLocker anyway? Typically, if I ask my parents this question, they don't give a damn, they just want their PC to work correctly when they need it, and so do I.

    On the other hand, I regularly back up my files and I'm very careful when I take my PC away from home, otherwise I don't need my disk to be encrypted.

     

    In any case, the comments of these two articles are very instructive:

    https://www.neowin.net/news/microsofts-default-bitlocker-on-your-windows-11-pc-is-hitting-even-the-fastest-ssds-hard/

    https://www.neowin.net/news/microsoft-may-default-encrypt-your-data-with-bitlocker-on-windows-11-24h2-home-pcs-too/

    Edited by Tux 528
    • Like 3
    Link to comment
    Share on other sites




    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...