TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Does full disk encryption impact functionality of a developer machine?

3 点作者 sebastian_z超过 2 年前
I am interested in learning about any practical experiences, for example, certain programs no longer working or reduced performance.

5 条评论

simonblack超过 2 年前
As Devil&#x27;s Advocate here, I will pose this question: &quot;What benefits are there in Full Disk Encryption?&quot;<p>I see the use of Full Disk Encryption as being akin the problems faced by users when their disks are encrypted by Ransomware Hackers.<p>Do we really need Security by Obfuscation for 99.999% of machines? How many of us <i>really need</i> our disk drives to be encrypted?<p>I have looked at this question often. My verdict is that the potential problems of <i>My Own Access to My Own Data</i> and being locked out of it due to Full Disk Encryption are more of a pain than the minute possibility that some nasty &#x27;other&#x27; person might make off with my data.
smoldesu超过 2 年前
LUKS and APFS volume encryption seem to be seamless in my experience. I&#x27;ve heard mixed things about Bitlocker, but as long as you aren&#x27;t on Windows everything should run smoothly.
LinuxBender超过 2 年前
<i>no longer working or reduced performance</i><p>I am assuming Linux. Some of this is also true for Mac.<p>Reduced performance, battery life for sure. If one has enough ram they can work around this by doing builds in a ram disk <i>e.g. &#x2F;dev&#x2F;shm</i> and then committing artifacts to the encrypted disk. Along that same line, if one is using tmpfs such as &#x2F;dev&#x2F;shm to do ephemeral work in ram then be sure that swap is either encrypted or disabled as tmpfs is swap-backed and one could leak sensitive information into unencrypted swap. MacOS by default does not <i>or did not</i> have a ram disk but you can manually mount one.<p>Performance impact can be somewhat mitigated by ensuring the encryption used is AES and that the CPU supports the AES-NI instruction set and a modern kernel is being used. Really old kernels had a single encryption write thread.<p><pre><code> lscpu | grep --color -i aes # or grep --color -i aes &#x2F;proc&#x2F;cpuinfo </code></pre> Some proprietary encryption software can set exclusive locks on disks or files so unless you are using dm-crypt&#x2F;LUKS2 that would be something to research ahead of time in the event you need direct-io access such as a database and even in those cases there is usually a configuration work-around.
eimrine超过 2 年前
My assumption is that battery life definitely will decrease, probably some cashing might work not as great as without encryption. Performance will be the same only if your CPU has hardware cryptography for the algorithm you choose but hardware cryptography does not save you from faster throttling then without encryption.
PaulHoule超过 2 年前
I spent a year developing an A.I. search engine on a machine with full disk encryption. I don&#x27;t believe the performance was any worse.