Peppermint OS

Support => Advanced Topics => Topic started by: stevesveryown on September 27, 2018, 07:49:07 am

Title: systemd-journal-flush.service gobbling boot time [Solved]
Post by: stevesveryown on September 27, 2018, 07:49:07 am
Hi, all my Peppermint friends!

I've been enjoying Pepp 9 on my HP 8440p laptop.  The only issue I have is the long boot time. over 25 seconds are gobbled up with  systemd-journal-flush.service.  Is there a way to reduce the time on this? Here is the out put from systemd-analyze blame

Spoiler (click here to view / hide)
[close]
Title: Re: systemd-journal-flush.service gobbling boot time
Post by: PCNetSpec on September 27, 2018, 08:46:56 am
What's the output from
Code: [Select]
journalctl --verifyand
Code: [Select]
journalctl --disk-usageand
Code: [Select]
du -hs /var/log/journal/


This link is only here for my future reference
https://forum.peppermintos.com/index.php/topic,7482.msg76881.html#msg76881
Title: Re: systemd-journal-flush.service gobbling boot time
Post by: stevesveryown on September 28, 2018, 06:53:05 am
journalctl --verify
Spoiler (click here to view / hide)
[close]
The File corruption detected is interesting.

journalctl --disk-usage
Spoiler (click here to view / hide)
[close]

du -hs /var/log/journal/
stephen@stephen-HP-EliteBook-8440p ~ $ du -hs /var/log/journal/
497M   /var/log/journal/
Title: Re: systemd-journal-flush.service gobbling boot time
Post by: PCNetSpec on September 28, 2018, 08:35:49 am
Okay run:
Code: [Select]
journalctl --vacuum-time=2dthen post the output from
Code: [Select]
journalctl --verifyagain.
Title: Re: systemd-journal-flush.service gobbling boot time
Post by: stevesveryown on September 28, 2018, 09:22:56 am
Here you go.  Looks like an issue.

Spoiler (click here to view / hide)
[close]

Spoiler (click here to view / hide)
[close]
Title: Re: systemd-journal-flush.service gobbling boot time
Post by: PCNetSpec on September 28, 2018, 09:50:47 am
Sorry, try
Code: [Select]
sudo journalctl --vacuum-time=2dthen post the output from
Code: [Select]
journalctl --verifyand
Code: [Select]
journalctl --disk-usage
Title: Re: systemd-journal-flush.service gobbling boot time
Post by: stevesveryown on September 29, 2018, 07:36:41 am
Here's the output:

Spoiler (click here to view / hide)
[close]
Title: Re: systemd-journal-flush.service gobbling boot time
Post by: PCNetSpec on September 29, 2018, 07:38:14 am
Okay have the boot times improved ?
Title: Re: systemd-journal-flush.service gobbling boot time
Post by: stevesveryown on September 29, 2018, 08:42:30 am
Boot time hasn't improved much.  systemd-journal-flush.service has dropped down in the rank.

systemd-analyze blame
Spoiler (click here to view / hide)
[close]

So I know for the future, what were the commands doing?

As always, thanks for taking the time out to answer my questiion.
Title: Re: systemd-journal-flush.service gobbling boot time
Post by: PCNetSpec on September 29, 2018, 08:47:39 am
Trimming down the systemd log files

What you need is an SSD :)
Title: Re: systemd-journal-flush.service gobbling boot time
Post by: stevesveryown on September 29, 2018, 11:25:43 am
Yes.  Just old school and still not 100% sure of them.   :-\

I'll mark the post solved.   

Thanks!  ;)
Title: Re: systemd-journal-flush.service gobbling boot time [Solved]
Post by: PCNetSpec on September 29, 2018, 11:34:35 am
I'll absolutely guarantee, an SSD would be the best purchase you've ever made (as long as your SATA port is SATA III), and once you use one you'll never touch a 'spinner' again ;)
Title: Re: systemd-journal-flush.service gobbling boot time [Solved]
Post by: AndyInMokum on September 29, 2018, 12:49:26 pm
I'll absolutely guarantee, an SSD would be the best purchase you've ever made (as long as your SATA port is SATA III), and once you use one you'll never touch a 'spinner' again ;)

Dito  ;).
Title: Re: systemd-journal-flush.service gobbling boot time [Solved]
Post by: stevesveryown on September 30, 2018, 08:18:45 am
I'll absolutely guarantee, an SSD would be the best purchase you've ever made (as long as your SATA port is SATA III), and once you use one you'll never touch a 'spinner' again ;)

My HP specs labels the interface as a serial ata-300, which I understand to be a sata II.
Title: Re: systemd-journal-flush.service gobbling boot time [Solved]
Post by: PCNetSpec on September 30, 2018, 08:32:39 am
What's the output from
Code: [Select]
dmesg | grep -i ahci | grep -i Gbpsand
Code: [Select]
dmesg | grep -i sata | grep -i  'link up'
Title: Re: systemd-journal-flush.service gobbling boot time [Solved]
Post by: stevesveryown on September 30, 2018, 09:52:07 am
What's the output from
Code: [Select]
dmesg | grep -i ahci | grep -i Gbpsand
Code: [Select]
dmesg | grep -i sata | grep -i  'link up'

Spoiler (click here to view / hide)
[close]
Title: Re: systemd-journal-flush.service gobbling boot time [Solved]
Post by: PCNetSpec on September 30, 2018, 10:20:55 am
Yep, SATA II (3.0 Gbps) .. you'd possibly still notice a slight difference, but not much :(

I take it we're not talking about the system in your sig then ?
Title: Re: systemd-journal-flush.service gobbling boot time [Solved]
Post by: stevesveryown on October 01, 2018, 08:11:01 am
Yep, SATA II (3.0 Gbps) .. you'd possibly still notice a slight difference, but not much :(

I take it we're not talking about the system in your sig then ?

No I am not, PCNetSpec.  I was talking about my HP laptop.  I am lookinginto an ssd for my main machine, though.  Before I do that I need to get my external drive cleaned up and back up my system.  I'm getting my son his own so I can format mine in ext4.

I want to say thanks, not just for me, but all us Peppermint users, for you help.  I know it's not always easy.
Title: Re: systemd-journal-flush.service gobbling boot time [Solved]
Post by: PCNetSpec on October 01, 2018, 08:42:36 am
It's a pleasure my mate, you're more than welcome :)