On 2019-07-26 15:55, Mick <michaelkintz...@gmail.com> wrote: > On Friday, 26 July 2019 15:23:11 BST YUE Daian wrote: >> On 2019-07-26 09:30, Peter Humphrey <pe...@prh.myzen.co.uk> wrote: >> > On Friday, 26 July 2019 05:36:29 BST YUE Daian wrote: >> >> Hi folks, >> >> >> >> I use ntp-client to synchronize the date/time of my Gentoo system. >> >> >> >> I added it to the default boot level (OpenRC), however it seriously >> >> slows down the boot process (around 10 seconds or so). >> >> >> >> Is there any way to make it faster? Or am I using the wrong service? >> > >> > It may be taking time to gather entropy. In that case you could install >> > sys- apps/haveged and add it to your boot run-level. >> >> Well, I presume the problem is related to ntpdate itself. >> >> It is working in a blocking way that the remaining boot processes have >> to wait until the time got synchronized. > > Or, until the network is up and a time server can be contacted? > > >> Is there any way to make it update the time in an asynchronize way? >> Or should I use ntpd instead? >> >> Thanks. >> >> Danny > > I don't run ntp-client here, but have a look at its startup script and any > dependencies defined therein, then perhaps tweak /etc/rc.conf. Does setting > rc_depend_strict="NO" makes a difference? > > -- > Regards, > > Mick
In fact since my PC is using a wire connection, the network starting process takes very short time. It is the problem of slow NTP itself. I tried "rc_depend_strict" but no luck...