docs(hibernate-swap-dualboot): add hibernation performance optimization tips
Add recommended GRUB parameters for faster hibernation and resume: - hibernation.compressor=lz4 for faster compression with lower CPU overhead - GRUB_TIMEOUT and GRUB_TIMEOUT_STYLE settings for faster boot experience These optimizations are particularly beneficial for large swap images (60-90 GB).
This commit is contained in:
@@ -55,8 +55,12 @@ UUID de reprise = **FS hôte (racine)** `84888eb3-cab9-407b-b407-ea4b3133c4a6`,
|
|||||||
sudo mkinitcpio -P
|
sudo mkinitcpio -P
|
||||||
sudo lsinitcpio /boot/initramfs-linux.img | grep -i resume # doit matcher
|
sudo lsinitcpio /boot/initramfs-linux.img | grep -i resume # doit matcher
|
||||||
# /etc/default/grub :
|
# /etc/default/grub :
|
||||||
# GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet resume=UUID=84888eb3-cab9-407b-b407-ea4b3133c4a6 resume_offset=N"
|
# GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet resume=UUID=84888eb3-cab9-407b-b407-ea4b3133c4a6 resume_offset=N hibernate.compressor=lz4"
|
||||||
|
# → hibernate.compressor=lz4 : compression la plus RAPIDE de l'image (moins de
|
||||||
|
# CPU que lzo) → hibernate/resume plus courts sur une image de 60-90 Go.
|
||||||
# GRUB_DISABLE_OS_PROBER=true (aucune entrée GRUB->Windows -> PCR4/PCR7 propres)
|
# GRUB_DISABLE_OS_PROBER=true (aucune entrée GRUB->Windows -> PCR4/PCR7 propres)
|
||||||
|
# GRUB_TIMEOUT=1 + GRUB_TIMEOUT_STYLE=hidden → resume quasi immédiat (menu
|
||||||
|
# masqué, maintenir Maj/Échap pour l'afficher). Boot le plus rapide côté FWS.
|
||||||
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user