Re: [systemd-devel] device enumeration by systemd user instances

2019-07-25 Thread Lennart Poettering
On Do, 25.07.19 17:51, Pawel Szewczyk (p.szewc...@samsung.com) wrote: > On 7/23/19 18:00, Lennart Poettering wrote: > > > > Do you have some profiler results about this? i.e. what exactly is the > > time spent on? > > I will probably try to do some 'real' study of this problem by using > perf or o

Re: [systemd-devel] device enumeration by systemd user instances

2019-07-25 Thread Pawel Szewczyk
On 7/23/19 18:00, Lennart Poettering wrote: > > Do you have some profiler results about this? i.e. what exactly is the > time spent on? I will probably try to do some 'real' study of this problem by using perf or other tool. So far all I know is that the device enumeration (i.e. device_enumerat

Re: [systemd-devel] device enumeration by systemd user instances

2019-07-25 Thread Greg KH
On Thu, Jul 25, 2019 at 05:29:33PM +0200, Pawel Szewczyk wrote: > On 7/17/19 23:14, Greg KH wrote: > > > > 100ms seems like a really long time, what exactly is it doing during > > that time? Is the kernel spending too much time regenerating the > > uevents? > > > > How many devices are you talki

Re: [systemd-devel] device enumeration by systemd user instances

2019-07-25 Thread Pawel Szewczyk
On 7/17/19 23:14, Greg KH wrote: > > 100ms seems like a really long time, what exactly is it doing during > that time? Is the kernel spending too much time regenerating the > uevents? > > How many devices are you talking about? Any chance to see what really > is happening here by running perf t

Re: [systemd-devel] device enumeration by systemd user instances

2019-07-23 Thread Lennart Poettering
On Mi, 17.07.19 17:46, Pawel Szewczyk (p.szewc...@samsung.com) wrote: > Dear all > > I was recently working on reducing booting time and I see one issue that > I think is worth discussing. > > The problem is the device units enumeration seems to take a long time > (>100ms in our case) before any u

Re: [systemd-devel] device enumeration by systemd user instances

2019-07-17 Thread Greg KH
On Wed, Jul 17, 2019 at 05:46:58PM +0200, Pawel Szewczyk wrote: > Dear all > > I was recently working on reducing booting time and I see one issue that > I think is worth discussing. > > The problem is the device units enumeration seems to take a long time > (>100ms in our case) before any unit

[systemd-devel] device enumeration by systemd user instances

2019-07-17 Thread Pawel Szewczyk
Dear all I was recently working on reducing booting time and I see one issue that I think is worth discussing. The problem is the device units enumeration seems to take a long time (>100ms in our case) before any units are beginning to start. I think there is some potential for improvement the