J'ai obtenu une rotation de 1 400 Go à 5400 tr / min.
Le démarrage prend 69 secondes (est-ce lent?) Et /var/lib/ureadahead
contient un répertoire vide debugfs
. C'est pourquoi je me demande si ureadahead fait son travail.
/var
le répertoire est sur la partition racine
~ > df
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 24G 15G 8,1G 65% /
udev 3,9G 4,0K 3,9G 1% /dev
/dev/sda9 705G 143G 562G 21% /data
/dev/sda8 29G 24G 4,2G 85% /home
les configurations semblent être par défaut
~ > cat /etc/init/ureadahead.conf|grep -v '#'|grep -ve '^$'
description "Read required files in advance"
start on starting mountall
stop on stopped rc
expect fork
kill timeout 180
normal exit 0
exec /sbin/ureadahead --daemon
pre-stop exec sleep 45
~ > cat /etc/init/ureadahead-other.conf|grep -v '#'|grep -ve '^$'
description "Read required files in advance (for other mountpoints)"
start on mounted DEVICE=[/UL]* MOUNTPOINT=/?*
expect fork
normal exit 0 4
exec /sbin/ureadahead --daemon $MOUNTPOINT
Étrangement /var/log/upstart/ureadahead.log.1.gz contient presque uniquement des entrées marquées "Chemin relatif ignoré" ou "Aucun fichier ou répertoire de ce type".
root:/var/log# zcat upstart/ureadahead.log.1.gz |grep -v "Ignored relative path"
Counted 4 CPUs
ureadahead:/data/swapfile: Error retrieving chunk extents: Operation not supported
ureadahead:/var/lib/NetworkManager/dhclient-eth0.conf: No such file or directory
ureadahead:/var/lib/NetworkManager/dhclient-wlan0.conf: No such file or directory
ureadahead:/var/lib/NetworkManager/dhclient-eth0.conf: No such file or directory
ureadahead:/var/lib/NetworkManager/dhclient-wlan0.conf: No such file or directory
ureadahead:/etc/X11/xorg.conf: No such file or directory
ureadahead:/var/lib/NetworkManager/dhclient-eth0.conf: No such file or directory
ureadahead:/var/lib/NetworkManager/dhclient-wlan0.conf: No such file or directory
ureadahead:/var/lib/NetworkManager/dhclient-eth0.conf: No such file or directory
ureadahead:/var/lib/NetworkManager/dhclient-wlan0.conf: No such file or directory
ureadahead:/usr/share/X11/xorg.conf.d/20-intel.conf: No such file or directory
Counted 4 CPUs
ureadahead:/data/swapfile: Error retrieving chunk extents: Operation not supported
Sur bootchart, ureadahead apparaît à la 16 e seconde et dure moins d'une seconde. Comparez avec /superuser/286571/ubuntu-slow-startup-time-modprobe où ureadahead démarre immédiatement après plymouthd
MISE À JOUR 1 Ajouter un rapport blockdev
# blockdev --report
RO RA SSZ BSZ StartSec Size Device
rw 256 512 4096 0 1000204886016 /dev/sda
rw 256 512 4096 2048 524288000 /dev/sda1
rw 256 512 4096 1026048 41943040 /dev/sda2
rw 256 512 4096 1107968 134217728 /dev/sda3
rw 256 512 4096 1370112 524288000 /dev/sda4
rw 256 512 4096 2394112 171795546112 /dev/sda5
rw 256 512 4096 1927233536 13460267008 /dev/sda6
rw 256 512 4096 337932288 26214400000 /dev/sda7
rw 256 512 4096 389132288 31457280000 /dev/sda8
rw 256 512 4096 450572288 756050558976 /dev/sda9
rw 256 512 512 0 1073741312 /dev/sr0
Les partitions / dev / sda1 - / dev / sda / 6 sont windoze, ESP, DIAGS, WINRETOOLS, PBR Image
sudo systemctl disable ureadahead.service
. C'est Ubuntu 16.04 avec le noyau 4.4