Ceci est une ancienne révision du document !
Notes pour installation personnelle
Index des configurations
hostname | IP | Designation | OS | Topic |
---|---|---|---|---|
draco-ultrabook | 192.168.10.10 | HP ENVY Sleekbook 6-1260sf (D0X03EA#ABF) | Xubuntu 16.04 Windows 8.1 | |
draco-ultrabook | 192.168.10.10 | HP ENVY Sleekbook 6-1260sf (D0X03EA#ABF) | Xubuntu 16.04 Windows 8.1 | |
draco-ultrabook | 192.168.10.10 | HP ENVY Sleekbook 6-1260sf (D0X03EA#ABF) | Xubuntu 16.04 Windows 8.1 | |
draco-ultrabook | 192.168.10.10 | HP ENVY Sleekbook 6-1260sf (D0X03EA#ABF) | Xubuntu 16.04 Windows 8.1 | |
draco-ultrabook | 192.168.10.10 | HP ENVY Sleekbook 6-1260sf (D0X03EA#ABF) | Xubuntu 16.04 Windows 8.1 |
Accès disque après hibernation
Voir bug LP #607560 : jbd2 writing block every 5 - 10 seconds, preventing disk spin-down and making noise
jbd2 doesn't respect the commit interval for everyone most likely because pm-utils remount partitions with changed commit value.
- /usr/lib/pm-utils/power.d/journal-commit
JOURNAL_COMMIT_TIME_AC=${JOURNAL_COMMIT_TIME_AC:-0} #will remount partition on AC power with commit=0.
- Dump HDD activity :
#block_dump #"leafpad" is a lightweight text editor, should be in ubuntu by default but not sure. sudo -i #go into root shell leafpad /etc/rsyslog.conf #comment line starting with "$ModLoad imklog". This will prevent receiving kernel messages by syslog and thus lessen disk activity. restart rsyslog #restart syslog mkdir /tmp/mytemp #create temporary directory mount -t tmpfs -o size=100000000 none /tmp/mytemp #create temporary FS in RAM, roughly 100MB in size. dmesg -c #empty kernel messages buffer (contains lots of data from boot time) echo 1 > /proc/sys/vm/block_dump #enable hdd activity dumping. watch "dmesg -c >> /tmp/mytemp/trace_01.txt" #this dumps hdd trace into trace_01.txt every 2secs. Wait some time... Do something... echo 0 > /proc/sys/vm/block_dump #disable hdd activity dumping umount /tmp/mytemp #unmount temporary directory. DON'T FORGET TO COPY TRACE RESULTS! leafpad /etc/rsyslog.conf #uncomment "#$ModLoad imklog" restart rsyslog #after restart, hdd activity dump will be in syslog. Basically you can skip creating temporary directory if you don't plan to trace your hdd for too long. exit #exit from root shell
- Fix 1
- /etc/pm/config.d/10_journal_commit_time
JOURNAL_COMMIT_TIME_AC=30