130******98
deepin
2016-10-11 18:53 安装支持“add-apt-repository”命令:
sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
sudo apt-get update
sudo apt-get install python-software-properties
sudo apt-get install software-properties-common
sudo apt-get update
Reply Like 0 View the author


中文 


使用ZRAM提高内存性能
如果你的电脑内存不太充裕(1G以下),可以使用ZRAM软件来提高内存性能。ZRAM能在系统中创建一个压缩的块设备,用于模拟一个交换分区,减少因内存不足而多硬盘的蹂躏频次。可以使用如下PPA安装ZRAM:
sudo add-apt-repository ppa:shnatsel/zram(这一步报错提示 add-apt-repository找不到)不知道是ppa的问题还是deepin添加PPA方法不同
sudo apt-get update
sudo apt-get install zramswap-enabler