LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-13-2020, 12:18 PM   #6211
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162

Can a more optimal method be found when rebooting or powering down to eliminate the long sleep pauses? When using other distros rebooting and powering down is fast. Very fast. I am well aware the other distros use systemd, but the pauses are annoying when compared to other distros.

Thanks.
 
1 members found this post helpful.
Old 12-13-2020, 12:37 PM   #6212
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,065

Rep: Reputation: Disabled
Quote:
Originally Posted by upnort View Post
Can a more optimal method be found when rebooting or powering down to eliminate the long sleep pauses? When using other distros rebooting and powering down is fast. Very fast. I am well aware the other distros use systemd, but the pauses are annoying when compared to other distros.
You can win at least 5 seconds giving the argument "fast" to halt or reboot. Beyond that, bear in mind that the script /etc/rc.d/rc.6 is written in such a way that it can handle a lot of use cases, and what is optimal for you may be not optimal for others. For this reason I suggest that instead of modifying it upstream for everyone you modify it locally.

Last edited by Didier Spaier; 12-13-2020 at 12:39 PM.
 
Old 12-13-2020, 01:16 PM   #6213
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 879

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
Quote:
Originally Posted by USUARIONUEVO View Post
konsole-20.12.0 , have a bug in terminal colors.

I see some reports , but no patch at the moment.

https://bugs.kde.org/show_bug.cgi?id=430311

konsole-20.08.3 working as ever.
Confirmed here. I think it's konsolepart since yakuake also shows these issues. Let's hope it's fixed in the next Release Service update or even sooner.

Last edited by sombragris; 12-13-2020 at 01:17 PM.
 
1 members found this post helpful.
Old 12-13-2020, 01:35 PM   #6214
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
For this reason I suggest that instead of modifying it upstream for everyone you modify it locally.
I have modified the sleep commands for many years. The commands might have had merit with hardware from 25 years ago but are just annoying today.
 
Old 12-13-2020, 01:47 PM   #6215
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,030

Rep: Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230
Quote:
Originally Posted by upnort View Post
The commands might have had merit with hardware from 25 years ago but are just annoying today.
You are sure?

Trust me as I speak from my own experience, that an Intel Atom driven mini-PC having the system in a SD card is not exactly a dragster...

And, wasn't already discussed in details that the systemd's boot/shutdown speed is irrelevant for Slackers? Let's keep our words.

Last edited by ZhaoLin1457; 12-13-2020 at 02:03 PM.
 
Old 12-13-2020, 02:03 PM   #6216
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Yes, any time the word systemd is mentioned some Slackers start frothing at the mouth. I don't care for systemd but even a blind hog occasionally finds the acorns. Nowhere did I hint or imply I wanted Slackware to move to systemd.

The comparison point was that anybody coming from a systemd distro will notice the significant pauses. The pauses are annoying. Yes, I remove the delays on my systems, but a global approach would be welcome. That is all my post was about. Hell.
 
Old 12-13-2020, 02:10 PM   #6217
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,030

Rep: Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230
Quote:
Originally Posted by upnort View Post
The comparison point was that anybody coming from a systemd distro will notice the significant pauses. The pauses are annoying. Yes, I remove the delays on my systems, but a global approach would be welcome. That is all my post was about. Hell.
Did you are sure that those pauses are irrelevant for a modern computer with 1GHz unicore processor and the system installed in a 5400 RPM hard drive, for example?

There are computers like this sold today, and slackware-current works on them.

I believe that Mr. Didier is right, and that those pauses may be irrelevant on your computers, but there's a guarantee that they are irrelevant for any computer able to run today the slackware-current? Probably not.
 
2 members found this post helpful.
Old 12-13-2020, 02:37 PM   #6218
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
The request is for a global solution. I don't know why systemd does not need these delays while Slackware does, but a configuration option in /etc/default that can be toggled would benefit everybody.
 
1 members found this post helpful.
Old 12-13-2020, 02:41 PM   #6219
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 297

Rep: Reputation: Disabled
https://kde.org/announcements/releas...2-apps-update/

Quote:
KDE’s screenshot app, Spectacle, now has an editor that lets you add arrows, smilies, text and freehand drawing to your screenshots.
Looks like this is needed:

https://github.com/ksnip/kImageAnnotator

Can it be considered for inclusion?
 
1 members found this post helpful.
Old 12-13-2020, 02:45 PM   #6220
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,030

Rep: Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230
Quote:
Originally Posted by upnort View Post
The request is for a global solution. I don't know why systemd does not need these delays while Slackware does, but a configuration option in /etc/default that can be toggled would benefit everybody.
The systemd does not need delays because it uses targets and parallel processing of the services. And service dependencies.

For example, it can simultaneous shutdown apache2, mysql, vsftpd services then it waits all of them to being down and pass to running another target.

Slackware have an old school linear startup/shutdown, where the services are started (or stopped) one after one. It is a total different thing. We should really compare them?

Last edited by ZhaoLin1457; 12-13-2020 at 02:49 PM.
 
1 members found this post helpful.
Old 12-13-2020, 02:52 PM   #6221
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 879

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
Quote:
Originally Posted by denydias View Post
https://kde.org/announcements/releas...2-apps-update/



Looks like this is needed:

https://github.com/ksnip/kImageAnnotator

Can it be considered for inclusion?
I have a SlackBuild should you need one in the meantime.
 
Old 12-13-2020, 03:07 PM   #6222
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,893

Rep: Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162Reputation: 1162
Quote:
We should really compare them?
I am not comparing the two approaches. I am only noting that anybody familiar with systemd will notice the delays. A global solution would be nice.
 
Old 12-13-2020, 03:45 PM   #6223
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,030

Rep: Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230Reputation: 1230
Quote:
Originally Posted by upnort View Post
I am not comparing the two approaches. I am only noting that anybody familiar with systemd will notice the delays. A global solution would be nice.
Yes, there is a good solution: an init system with parallel services handling and service dependencies resolution, like is OpenRC.

Feel free to ask our BDFL to switch Slackware to OpenRC.

Last edited by ZhaoLin1457; 12-14-2020 at 04:39 AM.
 
1 members found this post helpful.
Old 12-13-2020, 04:06 PM   #6224
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
For most users, there's going to be a max of 10 seconds of "sleep" introduced in rc.6 (2 seconds for dhcpcd, 5 seconds between sending the SIGTERM and SIGKILL, and another 3 seconds to ensure harddrives have enough time to sync before powering off). Is that really that big of a deal? Those 10 seconds were introduced to prevent issues with the system or hard drives.

You say you aren't comparing systemd against Slackware but then state that "anyone familiar with systemd will notice the delays". That is a comparison. I don't care how fast or slow my system shuts down (within reason, no 5 minute shut downs or anything like that on a standard system), as long as it is shut down properly and all my data is preserved. Those 10 seconds that are introduced in rc.6 don't matter to me one bit.
 
2 members found this post helpful.
Old 12-13-2020, 04:12 PM   #6225
denydias
Member
 
Registered: Dec 2013
Distribution: Slackware
Posts: 297

Rep: Reputation: Disabled
Quote:
Originally Posted by sombragris View Post
I have a SlackBuild should you need one in the meantime.
That would be nice. Is it published to SBo?

Anyway, I hope the third party could be included by Pat.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration