小编Ric*_*tte的帖子

为什么不自动回收slab对象

更新:我在 4.9 上不再遇到此问题。* 不确定何时修复。

每天在完整的系统备份后,各种程序都会因读取错误而失败,直到我运行echo 2 > /proc/sys/vm/drop_caches以释放可回收的平板对象。

例如,这sudo apt-get update是备份后的输出。

$ sudo apt-get update
Hit http://ftp.ca.debian.org unstable InRelease
Hit http://ftp.ca.debian.org experimental InRelease                                                            
Ign http://dl.google.com stable InRelease                                                                      
Get:1 http://ftp.ca.debian.org unstable/contrib amd64 Packages/DiffIndex [7,819 B]               
Hit http://dl.google.com stable Release.gpg                                     
Hit http://ppa.launchpad.net wily InRelease                               
Get:2 http://ftp.ca.debian.org unstable/non-free amd64 Packages/DiffIndex [6,577 B]            
Hit http://dl.google.com stable Release                                         
Hit http://ppa.launchpad.net wily InRelease                                                      
Get:3 http://ftp.ca.debian.org unstable/main amd64 Packages/DiffIndex [7,876 B]
Get:4 http://ftp.ca.debian.org unstable/contrib i386 Packages/DiffIndex [7,819 B]
Get:5 http://ppa.launchpad.net wily/main amd64 …
Run Code Online (Sandbox Code Playgroud)

memory cache linux-kernel

17
推荐指数
1
解决办法
3146
查看次数

如何选择 mq-deadline 调度器?

我正在尝试选择新的 mq-deadline io 调度程序,但它似乎不可用。

$ cat /sys/block/sda/queue/scheduler 
noop [deadline] 
Run Code Online (Sandbox Code Playgroud)

核心:

$ uname -a
Linux pluto 4.11.6-zenbook #1 SMP Wed Jun 21 09:39:34 EDT 2017 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

留言:

$ sudo dmesg|grep deadline
[    0.077863] TSC deadline timer enabled
[    1.383260] io scheduler deadline registered (default)
[    1.383261] io scheduler mq-deadline registered
Run Code Online (Sandbox Code Playgroud)

linux scheduling block-device

5
推荐指数
1
解决办法
7678
查看次数

标签 统计

block-device ×1

cache ×1

linux ×1

linux-kernel ×1

memory ×1

scheduling ×1