Am 05.03.2017 um 14:12 schrieb Mathias Homann:
Am 05.03.2017 um 11:56 schrieb Stefan Seyfried:
Well, that's one thing I find useful, seeing some logs entries related to the failure to start. Well, but it makes "systemctl foobar status" take lots of time (tens of seconds) when running on rotating rust, because of the superior
Am 04.03.2017 um 22:59 schrieb Carlos E. R.: LOL. performance and design of the journal database.
are you sure you don't mean tens of MILLISECONDS?
server:~ # time systemctl status ntpd.service ● ntpd.service - NTP Server Daemon Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled; vendor preset: disabled) Drop-In: /run/systemd/generator/ntpd.service.d └─50-insserv.conf-$time.conf Active: active (running) since So 2017-03-05 09:16:50 CET; 9h ago Docs: man:ntpd(1) Process: 1622 ExecStart=/usr/sbin/start-ntpd start (code=exited, status=0/SUCCESS) Main PID: 1658 (ntpd) Tasks: 2 (limit: 512) Memory: 1.4M CPU: 3.848s CGroup: /system.slice/ntpd.service ├─1658 /usr/sbin/ntpd -p /var/run/ntp/ntpd.pid -g -u ntp:ntp -i /var/lib/ntp -c /etc/ntp.conf └─1659 ntpd: asynchronous dns resolver Mär 05 09:16:49 server sntp[1645]: sntp 4.2.8p9@1.3265-o Mon Dec 19 17:18:19 UTC 2016 (1) [...] Mär 05 09:16:50 server start-ntpd[1622]: Starting network time protocol daemon (NTPD) Hint: Some lines were ellipsized, use -l to show in full. real 0m3.199s user 0m0.009s sys 0m0.113s This machine has journal on a bcache backed device, so it's not really rotating rust only.
akari:/var/log/journal/69768dcfb08c8d9ed6558c265239e83b # time systemctl status apache2.service ● apache2.service - The Apache Webserver Loaded: loaded (/usr/lib/systemd/system/apache2.service; enabled; vendor preset: disabled) Active: active (running) since Do 2017-02-23 00:30:52 CET; 1 weeks 3 days ago Main PID: 3039 (httpd-prefork) Status: "Total requests: 7746; Current requests/sec: 0; Current traffic: 0 B/sec" Tasks: 11
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
real 0m0.039s user 0m0.001s sys 0m0.015s
...and that is a dualcore AMD turion2 so definitely not a supercomputer.
SSD or rotating rust? FS cache hot or cold? But it has been slighty improved during the last years. Nowadays the fragmentation is not that bad anymore as it was a few versions ago. So it's probably no longer tens of seconds, only "a few seconds". I'm still typing "-n 0" to avoid that. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org