加快编译速度ubuntu_加快Ubuntu PC速度的6种方法

加快编译速度ubuntu

加快编译速度ubuntu

image

Ubuntu is pretty snappy out-of-the-box, but there are some ways to take better advantage of your system’s memory and speed up the boot process. Some of these tips can really speed things up, especially on older hardware.

Ubuntu相当开箱即用,但是有一些方法可以更好地利用系统的内存并加快启动过程。 这些技巧中的一些技巧确实可以加快速度,尤其是在较旧的硬件上。

In particular, selecting a lightweight desktop environment and lighter applications can give an older system a new lease on life. That old computer that struggles with Ubuntu’s Unity desktop can provide decent performance for years to come.

特别是,选择轻量级的桌面环境和轻量级的应用程序可以使旧系统焕然一新。 与Ubuntu的Unity桌面斗争的那台旧计算机可以在未来几年提供出色的性能。

安装预载 (Install Preload)

Preload is a daemon – a background service, in other words – that monitors the applications you use on your computer. It learns the libraries and binaries you use and loads them into memory ahead of time so the applications start faster. For example, if you always open LibreOffice and Firefox after starting your computer, preload will automatically load each application’s files into memory when your computer starts. When you log in and launch the applications, they’re start faster.

Preload是一个守护程序,即后台服务,它监视您在计算机上使用的应用程序。 它会学习您使用的库和二进制文件,并提前将它们加载到内存中,从而使应用程序启动更快。 例如,如果在启动计算机后始终打开LibreOffice和Firefox,则预加载将在计算机启动时自动将每个应用程序的文件加载到内存中。 登录并启动应用程序时,它们的启动速度更快。

Preload isn’t installed by default on Ubuntu, although some distributions do include it by default. To install Preload, run the following command:

默认情况下,Ubuntu上未安装预加载,尽管默认情况下某些发行版确实包含预加载。 要安装Preload,请运行以下命令:

sudo apt-get install preload

sudo apt-get安装预载

image

That’s it! Preload runs in the background without bothering you. You can tweak Preload’s settings in the /etc/preload.conf file if you want, but the default settings should work fine.

而已! 预加载在后台运行,不会打扰您。 您可以根据需要在/etc

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Ubuntu IDF 是指在 Ubuntu 操作系统上使用的 IDF(ESP-IDF)开发环境。IDF 是 Espressif Systems 开发的用于 ESP32 和 ESP32-S2 芯片的开发框架,它提供了一系列的工具和库,方便开发者进行硬件驱动、网络连接、固件烧录等任务。在 Ubuntu 上安装 IDF 可以通过在终端中执行相应的命令来完成,具体的安装过程可以参考网络上的 Ubuntu IDF 安装教程。 为了方便开发者的学习和使用,一般推荐使用 Ubuntu 操作系统,因为在 Linux 下编译速度比 Windows 快很多,而 Ubuntu 是非常常见的 Linux 操作系统之一。 在安装 IDF 环境之前,需要先安装 Ubuntu 操作系统和 VSCode 编辑器。关于如何在 Ubuntu 上安装 VSCode,可以通过在 Ubuntu 自带的浏览器中下载 deb 格式的安装包来实现。具体的安装方法可以参考网络上的相关教程。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *3* [【ESP32】虚拟机ubuntu下搭建 ESP-IDF 开发环境(详细)](https://blog.csdn.net/chenbenzhen/article/details/124523241)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] - *2* [Ubuntu构建ESP32 ESP-IDF开发环境](https://blog.csdn.net/chentuo2000/article/details/126777261)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值