Re: [systemd-devel] Does systemd have points to spend many times to complete its process?
On Thu, Jul 25, 2013 at 4:58 AM, Tony Seo wrote: > Hello > > I'm Tony Seo. > > I've analyzed a plot resulted in systemd-analyze plot. > > As you can see an attached image file, I got this image from my systemd. > > While I have analyzed it, I have several questions. > > > 1. what is "-.mount" ? > > when I first saw "-.mout", I was confused how to configure it. > > > > 2. I doubt that there are critical points which make systemd more delayed > for several reasons. > > I have tried to test my systemd for optimization in perspective of time > consume. > > So, I changed the order of unit dependency and sequence among units. > > But I found that I may not reduce the time to activate getty.target, > multi-user.target and graphical.target. > > And I doubt that there are critical points or span of stage to make the > systemd more delayed. > > I want to know whether I'm wrong or not. > > what do you think about it? > > If you know some tip to improve a systemd in optimize perspective, could you > give some tips to make my systemd more fast? systemd is not the problem. the picture you posted shows that some service is delaying sysinit.target or basic.target. Most likely the "player.service" is implemented incorrectly. You may have entered the wrong "Type" in the service file. Cheers, Auke ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Does systemd have points to spend many times to complete its process?
Oh, just noticed your attached boot chart. That definitely doesn't look right, but I'm not really sure what the problem is. It looks like no single service is blocking the other services, just that a ton of things already running in parallel are taking excessive time. ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Does systemd have points to spend many times to complete its process?
Please don't send HTML mail to this list. On Thu, Jul 25, 2013 at 4:58 AM, Tony Seo wrote: > 1. what is "-.mount" ? > when I first saw "-.mout", I was confused how to configure it. You configure it from the /etc/fstab entry for the root file system, which then generates that unit during boot-up. The unit is only present for the sake of consistency and dependency management. > 2. I doubt that there are critical points which make systemd more delayed > for several reasons. > > I have tried to test my systemd for optimization in perspective of time > consume. > > So, I changed the order of unit dependency and sequence among units. > > But I found that I may not reduce the time to activate getty.target, > multi-user.target and graphical.target. > > And I doubt that there are critical points or span of stage to make the > systemd more delayed. > > I want to know whether I'm wrong or not. > > what do you think about it? systemd eagerly starts any unit wanted or required, and it does so with maximum parallelism. In other words, it keeps the boot hierarchy as flat as possible to minimize startup time overhead caused by waiting on dependencies. systemd introduces a couple mechanisms to increase parallelism: (1) the ability to want or require other units without waiting for them to finish starting (no assumed After=) and (2) socket activation. > If you know some tip to improve a systemd in optimize perspective, could you > give some tips to make my systemd more fast? You should use systemd's boot chart [1] and analysis [2] tools. > 3. I need a clear knowledge about transaction stage. > > I read a manpage which introduces a few contents of transaction, but I > would like to get more information about it. A systemd transaction is simply the idea that the operation is only successful if the main operation and its dependencies succeed. If service A requires service B, you start service A, and the not-yet-running service B fails to start, the transaction fails. [1] http://www.freedesktop.org/software/systemd/man/systemd-bootchart.html [2] http://www.freedesktop.org/software/systemd/man/systemd-analyze.html ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Re: [systemd-devel] Does systemd have points to spend many times to complete its process?
Hello, 'Twas brillig, and Tony Seo at 25/07/13 11:49 did gyre and gimble: > I've analyzed a plot resulted in systemd-analyze plot. > > As you can see an attached image file, I got this image from my systemd. No image attached. THe mailing list likely stripped it out because it was too large. As requested previously, please post it somewhere and include a link here. > While I have analyzed it, I have several questions. > > > 1. what is "-.mount" ? > > when I first saw "-.mout", I was confused how to configure it. This is you / mount point. It's synthesised from your fstab (all fstab entries will have .mount units) > 2. I doubt that there are critical points which make systemd more > delayed for several reasons. > > I have tried to test my systemd for optimization in perspective of time > consume. > > So, I changed the order of unit dependency and sequence among units. > > But I found that I may not reduce the time to activate getty.target, > multi-user.target and graphical.target. > > And I doubt that there are critical points or span of stage to make the > systemd more delayed. > > I want to know whether I'm wrong or not. I really don't know what you mean by the above and it's hard to see without comparisons of different setups and options and their corresponding plot outputs. > If you know some tip to improve a systemd in optimize perspective, could > you give some tips to make my systemd more fast? Perhaps this: http://freedesktop.org/wiki/Software/systemd/Optimizations/ > 3. I need a clear knowledge about transaction stage. > > I read a manpage which introduces a few contents of transaction, but I > would like to get more information about it. Again, I don't really know what you are asking here... Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited http://www.tribalogic.net/ Open Source: Mageia Contributor http://www.mageia.org/ PulseAudio Hacker http://www.pulseaudio.org/ Trac Hacker http://trac.edgewall.org/ ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel
[systemd-devel] Does systemd have points to spend many times to complete its process?
Hello I'm Tony Seo. I've analyzed a plot resulted in systemd-analyze plot. As you can see an attached image file, I got this image from my systemd. While I have analyzed it, I have several questions. 1. what is "-.mount" ? when I first saw "-.mout", I was confused how to configure it. 2. I doubt that there are critical points which make systemd more delayed for several reasons. I have tried to test my systemd for optimization in perspective of time consume. So, I changed the order of unit dependency and sequence among units. But I found that I may not reduce the time to activate getty.target, multi-user.target and graphical.target. And I doubt that there are critical points or span of stage to make the systemd more delayed. I want to know whether I'm wrong or not. what do you think about it? If you know some tip to improve a systemd in optimize perspective, could you give some tips to make my systemd more fast? 3. I need a clear knowledge about transaction stage. I read a manpage which introduces a few contents of transaction, but I would like to get more information about it. Thanks, Tony Seo ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel