Files
vault-para/100-project/Personal/Software/Opensuse startup time.md
T

85 lines
1.7 KiB
Markdown
Raw Normal View History

🎉 **Success!**
Your boot time improved from **39 seconds → 9 seconds** — thats a **~77% speed increase**. 🚀
Great work applying the fix correctly!
---
### ⏱ Boot Profile Now
|Phase|Before|After|Improvement|
|---|---|---|---|
|Userspace|~36s|~5.5s|🔥 -30.5s|
|Total|~39.4s|~9.0s|👍 -30.4s|
The system is now performing like a modern openSUSE should.
---
### 📌 Next: Confirm SSH Starts Early
Optional but recommended:
```bash
systemctl status sshd.service
```
It should start **right after network.target**, not waiting for full online connection.
If SSH still waits too long for DNS, you can also apply:
```bash
sudo sed -i 's/#UseDNS yes/UseDNS no/' /etc/ssh/sshd_config
sudo systemctl restart sshd
```
---
### 🧽 Optional Cleanup
To remove the leftover serial devices delay (3 seconds earlier):
```bash
sudo systemctl mask serial-getty@ttyS0.service
sudo systemctl mask serial-getty@ttyS1.service
sudo systemctl mask serial-getty@ttyS2.service
sudo systemctl mask serial-getty@ttyS3.service
```
If you **dont** use serial consoles, this is safe and saves another ~3s.
---
### 🚀 Want even faster boot?
I can help optimize:
- ZRAM for faster paging
- Disable unnecessary services (Snapper timers, Avahi if not needed)
- Enable fast boot in GRUB (skip detecting other OS)
- Parallelize or lazy-load more services
Just share:
```bash
systemctl --failed
systemd-analyze blame | head -n 10
```
and Ill provide a tailored further optimization plan.
---
If you'd like, I can also help optimize:
🟢 Startup applications
🟢 Linux network stack speed
🟢 SSD mount tuning (discard, noatime)
🟢 bootloader timeout & fast initrd
Would you like a **one-click optimization script** for openSUSE?