5400 rpm 1Gb 드라이브를 회전 시켰습니다.
부팅은 69 초가 걸리며 (느리게 진행됩니까?) /var/lib/ureadahead
빈 디렉토리를 포함 debugfs
합니다. ureadahead가 그 일을하는지 궁금합니다.
/var
디렉토리가 루트 파티션에 있습니다
~ > 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
설정이 기본값 인 것 같습니다
~ > 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
/var/log/upstart/ureadahead.log.1.gz에는 "상대 경로 무시"또는 "파일 또는 디렉토리 없음"태그 항목 만 포함됩니다.
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
부팅 차트에서 ureadahead는 16 초 에 나타나고 1 초 미만 지속됩니다. /superuser/286571/ubuntu-slow-startup-time-modprobe 와 비교 하십시오 . puremouthd 직후 우레아 헤드가 시작되는 곳
업데이트 1 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
파티션 / dev / sda1-/ dev / sda / 6은 windoze, ESP, DIAGS, WINRETOOLS, PBR 이미지입니다
dmesg 출력을 제공 할 수 있습니까?
—
Gewure
sudo systemctl disable ureadahead.service
. 이것은 커널 4.4와 우분투 16.04입니다