English 中文(简体)
我能否获得比/dev/null更快的产出管道?
原标题:Can I get a faster output pipe than /dev/null?

我正在执行一项艰巨的任务[自动翻译,并附有永久+数据库等],为期大约两周,不停。 在思考如何加快速度时,我看到,翻译将一切(所有翻译的判决书,都用上了路)都投入到科技促发委。 因此,当我获得奥索尔的产出时,它的工作明显放缓。

我显然把产出推到<代码>/dev/null,但我当时认为,“可能有一些更快的东西?” 它的产出如此之多,确实产生了变化。

而我问你,因为就我所知,没有什么更快的......。 (But I m远非是一种uru,仅在过去3年中每天使用lin子)

最佳回答

输油/奶粉的输出在高血管中执行。 产出管道现在给你带来问题,它占用了建设被送至/dev/null的楼梯所需的时间。 我建议你通过该方案,并评论所有无用印刷说明的行文(或用<代码>) 我确信,伤势给你带来了明显的加快。

问题回答

I m 能够(通过dd)将每秒20千兆字节的数据丢弃。 这并不是你的瓶颈:

加快数据速度的唯一途径是首先不产生数据——完全删除记录表。 生成所有日志信息的成本可能超过将其丢弃的成本。

与垂直和标准产出无关,但有<代码>null_blk的阻塞装置,其速度甚至超过<代码>/dev/null。 基本来说,它受美术表演的束缚,而且它有大块可饱和的公共汽车。





相关问题
Signed executables under Linux

For security reasons, it is desirable to check the integrity of code before execution, avoiding tampered software by an attacker. So, my question is How to sign executable code and run only trusted ...

encoding of file shell script

How can I check the file encoding in a shell script? I need to know if a file is encoded in utf-8 or iso-8859-1. Thanks

How to write a Remote DataModule to run on a linux server?

i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...

How can I use exit codes to run shell scripts sequentially?

Since cruise control is full of bugs that have wasted my entire week, I have decided the existing shell scripts I have are simpler and thus better. Here is what I have so far svn update /var/www/...

Good, free, easy-to-use C graphics libraries? [closed]

I was wondering if there were any good free graphics libraries for C that are easy to use? It s for plotting 2d and 3d graphs and then saving to a file. It s on a Linux system and there s no gnuplot ...

热门标签