Re: [systemd-devel] Bootchart speeding up boot time

2016-02-25 Thread Martin Townsend
A bit of an update. disabling the second core didn't make much difference, a couple of seconds max. I played around with my own init task based on bootchart and tracked it down to the fact that nanosleep was being called. I basically have the following code below which gives me the same boot time

Re: [systemd-devel] Bootchart speeding up boot time

2016-02-23 Thread Martin Townsend
I'm pretty sure they are, they are part of the Xilinx Zynq SoC platform, from their specs 32 KB Level 1 4-way set-associative instruction and data caches (independent for each CPU) 512 KB 8-way set-associative Level 2 cache (shared between the CPUs) Good idea on disabling a core, this could then

Re: [systemd-devel] Bootchart speeding up boot time

2016-02-23 Thread Umut Tezduyar Lindskog
On Mon, Feb 22, 2016 at 8:51 PM, Martin Townsend wrote: > Hi, > > Thanks for your reply. I wouldn't really call this system stripped down, it > has an nginx webserver, DHCP server, postgresql-server, sftp server, a few > mono (C#) daemons running, loads quite a few

Re: [systemd-devel] Bootchart speeding up boot time

2016-02-23 Thread Martin Townsend
I'm using a physical stopwatch and running it from the moment U-Boot hands over until I get a prompt so I'm not taking any timing information from systemd or even the system itself. I'm sure that glibc does indeed take some time to load into memory but I can't see it being the culprit of an 8-9

Re: [systemd-devel] Bootchart speeding up boot time

2016-02-22 Thread Kok, Auke-jan H
On Mon, Feb 22, 2016 at 11:51 AM, Martin Townsend wrote: > Hi, > > Thanks for your reply. I wouldn't really call this system stripped down, it > has an nginx webserver, DHCP server, postgresql-server, sftp server, a few > mono (C#) daemons running, loads quite a few

Re: [systemd-devel] Bootchart speeding up boot time

2016-02-22 Thread Martin Townsend
Hi, Thanks for your reply. I wouldn't really call this system stripped down, it has an nginx webserver, DHCP server, postgresql-server, sftp server, a few mono (C#) daemons running, loads quite a few kernel modules during boot, dbus, sshd, avahi, and a bunch of other stuff I can't quite

Re: [systemd-devel] Bootchart speeding up boot time

2016-02-22 Thread Kok, Auke-jan H
On Fri, Feb 19, 2016 at 7:15 AM, Martin Townsend wrote: > Hi, > > I'm new to systemd and have just enabled it for my Xilinx based dual core > cortex A-9 platform. The linux system is built using Yocto (Fido branch) > which is using version 219 of systemd. > > The main

[systemd-devel] Bootchart speeding up boot time

2016-02-19 Thread Martin Townsend
Hi, I'm new to systemd and have just enabled it for my Xilinx based dual core cortex A-9 platform. The linux system is built using Yocto (Fido branch) which is using version 219 of systemd. The main reason for moving over to systemd was to see if we could improve boot times and the good news