小编Nef*_*pus的帖子

Chromium - Fedora 23 上的 H.264 支持

有没有办法在 Fedora 23/24 上为 Chromium 添加 H.264 支持?

任何解决方法或替代解决方案都可以。

我目前使用spot 的 Chromium repo

编辑:看来,目前没有其他不需要重新编译 Chromium 的选项。编辑:Ubuntu 有添加必要的编解码器的chromium-codecs-ffmpeg-extra 包。但是这种支持必须在 Chromium 编译时启用。

fedora chrome

10
推荐指数
1
解决办法
6207
查看次数

fstrim 似乎没有修剪使用 lvm 和 dm-crypt 的分区

我尝试使用 dm-crypt 和 LVM 设置 Fedora 25,但很难使 TRIM 工作。

$ sudo fstrim -av                                                                            
/boot: 28.6 MiB (30003200 bytes) trimmed
/: 56.5 GiB (60672704512 bytes) trimmed

$ sudo fstrim -av                                                                            
/boot: 0 B (0 bytes) trimmed
/: 56.5 GiB (60671877120 bytes) trimmed
Run Code Online (Sandbox Code Playgroud)

从上面的输出中可以看出,重复运行fstrim在未加密的ext4 上有效 /boot,但似乎对/(在同一磁盘上)没有影响。

设置是 SSD -> dm-crypt -> LVM -> XFS

$ lsblk -D                                                                                                                                                                                     
NAME                                          DISC-ALN DISC-GRAN DISC-MAX DISC-ZERO
sda                                                  0      512B       2G         0
??sda2                                               0      512B       2G         0
? ??luks-dd5ce54a-34c9-540c-a4cf-2a712b8a3a5e        0      512B …
Run Code Online (Sandbox Code Playgroud)

ssd lvm dm-crypt xfs fstrim

10
推荐指数
1
解决办法
4726
查看次数

SSD优化

我知道这已经讨论过很多次了,但是互联网上有很多不同的意见,哪些优化对 SSD 有利(以及是否使用它们)。此外,技术已经进步,一些建议可能已经过时。

FS 上的过度配置和可用空间

这似乎仍然相关,但根据ycombinator讨论中的用户 cabirum 的说法

您不必过度配置未分区的空间并保留 20% 的分区可用空间。这是一个或另一个,关键是要有足够的可用空间来进行适当的磨损平衡。

另一方面,在ArchWikinamhuy 的这篇文章中没有提到它。还有什么更简单的 Linux建议!

Noatime、nodirtime 和 relatime 挂载选项

namhuy建议两者,ArchWikieasylinux建议仅 noatime 和用户 andmarios 在ycombinator说:

noatime:这是旧的,使用relatime。

这是根据自 Linux 2.6.30 以来的手册页默认行为。

修剪

这可能是最大的混乱

  • easylinux/etc/rc.local. 不要使用discard挂载选项。
  • ArchWiki使用fstrim.servicefstrim.timer. 警告有关discard.
  • namhuy和simoncion ycombinator使用discard选项。

限制写入操作

ArchWikinamhuyeasylinux建议将浏览器缓存移至 RAM。这在ycombinator 中通常是不同意的。 …

ssd optimization

6
推荐指数
1
解决办法
1343
查看次数

Fedora 23 上的 Vagrant libvirt 提供程序

我需要安装libvirtVagrant 插件,但它失败并出现以下错误:

$ vagrant plugin install libvirt
The plugin(s) can't be installed due to the version conflicts below.
This means that the plugins depend on a library version that conflicts
with other plugins or Vagrant itself, creating an impossible situation
where Vagrant wouldn't be able to load the plugins.

You can fix the issue by either removing a conflicting plugin or
by contacting a plugin author to see if they can address the conflict.

Vagrant could not find …
Run Code Online (Sandbox Code Playgroud)

fedora vagrant

0
推荐指数
1
解决办法
1599
查看次数

标签 统计

fedora ×2

ssd ×2

chrome ×1

dm-crypt ×1

fstrim ×1

lvm ×1

optimization ×1

vagrant ×1

xfs ×1