压缩 500MB 的 deb 需要很长时间。我仍然需要压缩。反正有多线程吗?
有 pxz、pigz、pbzip2。有什么办法可以让 dpkg-deb 使用其中之一。或者用这些实现替换我系统上现有的非并行库?
我已经搜索了一段时间,但似乎 depk-deb 只允许对压缩选项进行非常有限的自定义。
我正在使用 Ubuntu 14.04。
Ubuntu 有ionice,但据我所知,它绝对没有任何作用。
我怀疑这是因为Ubuntu用deadline替换了cfq,而deadline不支持优先级。
是否有任何可能的方法可以在 Ubuntu 上设置 I/O 优先级?
编辑:上下文是我有一个数据库恢复,它很容易消耗我所有的 I/O 并使我的系统在完成之前无法使用。我希望它仍然可用于其他任务。
在 Ubuntu 14.04 上
$ dpkg --get-selections | grep ^aspell
$ apt-cache depends aspell
aspell
Depends: libaspell15
Depends: libc6
Depends: libncursesw5
Depends: libstdc++6
Depends: libtinfo5
Depends: dictionaries-common
Suggests: aspell-doc
Suggests: spellutils
|Recommends: aspell-en
|Recommends: <aspell-dictionary>
aspell-ca
aspell-am
aspell-ar
aspell-ar-large
aspell-bg
aspell-br
aspell-cs
aspell-cy
aspell-de
aspell-de-alt
aspell-el
aspell-en
aspell-eo
aspell-eo-cx7
aspell-es
aspell-et
aspell-eu-es
aspell-fa
aspell-fo
aspell-fr
aspell-ga
aspell-gl-minimos
aspell-he
aspell-hr
aspell-hsb
aspell-hu
aspell-hy
aspell-id
aspell-is
aspell-it
aspell-kk
aspell-ku
aspell-lt
aspell-lv
aspell-nl
aspell-pl
aspell-pt-br
aspell-pt-pt
aspell-ro
aspell-ru
aspell-sk
aspell-sl
aspell-sv
aspell-tl
aspell-uk …Run Code Online (Sandbox Code Playgroud)