Re: [systemd-devel] [PATCH v2] Detect page size runtime

2011-03-18 Thread fykc...@gmail.com
2011/3/19 Jan Engelhardt : > On Saturday 2011-03-19 03:10, Lennart Poettering wrote: > >>On Fri, 18.03.11 03:44, fykc...@gmail.com (fykc...@gmail.com) wrote: >> >>> Hi all, >>> >>> Systemd hardcode page size as 4096(in macro.h), this is not always correct: >>> """ Some architectures support multipl

Re: [systemd-devel] Improve boot-time of systemd

2011-03-18 Thread Chen Jie
2011/3/18 Kay Sievers : > On Fri, Mar 18, 2011 at 14:40, Gustavo Sverzut Barbieri > wrote: >> On Fri, Mar 18, 2011 at 10:52 AM, Andrey Borzenkov wrote: >>> On Fri, Mar 18, 2011 at 12:35 PM, fykc...@gmail.com >>> wrote: > 1. What can readahead affect boot-time? Sadly observed negative

Re: [systemd-devel] [PATCH] Detect page size runtime

2011-03-18 Thread Jan Engelhardt
On Saturday 2011-03-19 03:10, Lennart Poettering wrote: >On Fri, 18.03.11 03:44, fykc...@gmail.com (fykc...@gmail.com) wrote: > >> Hi all, >> >> Systemd hardcode page size as 4096(in macro.h), this is not always correct: >> """ Some architectures support multiple machine types with diffenent >> p

Re: [systemd-devel] [PATCH] Detect page size runtime

2011-03-18 Thread Lennart Poettering
On Fri, 18.03.11 03:44, fykc...@gmail.com (fykc...@gmail.com) wrote: > Hi all, > > Systemd hardcode page size as 4096(in macro.h), this is not always correct: > """ Some architectures support multiple machine types with diffenent > page sizes, and some machine types even support multiple page siz

Re: [systemd-devel] Improve boot-time of systemd

2011-03-18 Thread Kay Sievers
On Fri, Mar 18, 2011 at 14:40, Gustavo Sverzut Barbieri wrote: > On Fri, Mar 18, 2011 at 10:52 AM, Andrey Borzenkov wrote: >> On Fri, Mar 18, 2011 at 12:35 PM, fykc...@gmail.com >> wrote: >>> 1. What can readahead affect boot-time? >>> Sadly observed negative affect -- boot-time increases at l

Re: [systemd-devel] Improve boot-time of systemd

2011-03-18 Thread Gustavo Sverzut Barbieri
On Fri, Mar 18, 2011 at 10:52 AM, Andrey Borzenkov wrote: > On Fri, Mar 18, 2011 at 12:35 PM, fykc...@gmail.com wrote: >> Hi all, >> >> We did a series boot-time tests of systemd, and found some interesting >> things: >> (Note the tests were performed on a laptop with a 4-core mips cpu, AMD >> R

Re: [systemd-devel] systemd-logger and external syslog daemon

2011-03-18 Thread Kay Sievers
On Fri, Mar 18, 2011 at 14:30, Rainer Gerhards wrote: > On 03/18/2011 01:53 PM, Kay Sievers wrote: >> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9d90c8d9cde929cbc575098e825d7c29d9f45054 > > That's what I understood and what I based my proposal on. In that case, >

Re: [systemd-devel] systemd-logger and external syslog daemon

2011-03-18 Thread Rainer Gerhards
On 03/18/2011 01:53 PM, Kay Sievers wrote: On Fri, Mar 18, 2011 at 08:19, Rainer Gerhards wrote: -Original Message- From: Lennart Poettering [mailto:lenn...@poettering.net] Sent: Thursday, March 17, 2011 10:38 PM To: Rainer Gerhards Cc: Michael Biebl; Andrey Borzenkov; systemd- de...@li

Re: [systemd-devel] systemd-logger and external syslog daemon

2011-03-18 Thread Kay Sievers
On Fri, Mar 18, 2011 at 08:19, Rainer Gerhards wrote: >> -Original Message- >> From: Lennart Poettering [mailto:lenn...@poettering.net] >> Sent: Thursday, March 17, 2011 10:38 PM >> To: Rainer Gerhards >> Cc: Michael Biebl; Andrey Borzenkov; systemd- >> de...@lists.freedesktop.org >> Subje

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-18 Thread Mike Kazantsev
On Fri, 18 Mar 2011 14:11:47 +0300 Andrey Borzenkov wrote: > On Fri, Mar 18, 2011 at 8:31 AM, Mike Kazantsev wrote: > > > > That'd make all the systems with currently enabled services in > > network.target.wants misconfigured - network should fail on these > > unless something Requires= (or Want

Re: [systemd-devel] Special targets - should they Want or be WantedBy?

2011-03-18 Thread Andrey Borzenkov
On Fri, Mar 18, 2011 at 8:31 AM, Mike Kazantsev wrote: > On Fri, 18 Mar 2011 00:34:19 +0100 > Lennart Poettering wrote: > >> >> But what about the other direction? We definitely want network.target in >> the boot transaction if NM or network.service is part of it too. Because >> only then the net

Re: [systemd-devel] Improve boot-time of systemd

2011-03-18 Thread Andrey Borzenkov
On Fri, Mar 18, 2011 at 12:35 PM, fykc...@gmail.com wrote: > Hi all, > > We did a series boot-time tests of systemd, and found some interesting things: > (Note the tests were performed on a laptop with a 4-core mips cpu, AMD > RS780 chipset, 2GB Memory, rotate harddisk with ext4 filesystem, > debi

Re: [systemd-devel] rsyslog drops messages in debug mode

2011-03-18 Thread Andrey Borzenkov
On Fri, Mar 18, 2011 at 11:44 AM, Michal Schmidt wrote: > On Fri, 18 Mar 2011 07:42:34 +0100 Michael Biebl wrote: >> > On Fri, 18 Mar 2011 07:03:01 +0100 >> > Michael Biebl wrote: >> > >> >> when booting with systemd.log_level=debug, I get > [...] >> My point rather is, that for a default rsyslog

Re: [systemd-devel] rsyslog drops messages in debug mode

2011-03-18 Thread Michal Schmidt
On Fri, 18 Mar 2011 07:42:34 +0100 Michael Biebl wrote: > > On Fri, 18 Mar 2011 07:03:01 +0100 > > Michael Biebl wrote: > > > >> when booting with systemd.log_level=debug, I get [...] > My point rather is, that for a default rsyslog + systemd installation > imho this should not happen. When you a

Re: [systemd-devel] systemd-logger and external syslog daemon

2011-03-18 Thread Rainer Gerhards
> -Original Message- > From: Lennart Poettering [mailto:lenn...@poettering.net] > Sent: Thursday, March 17, 2011 10:38 PM > To: Rainer Gerhards > Cc: Michael Biebl; Andrey Borzenkov; systemd- > de...@lists.freedesktop.org > Subject: Re: [systemd-devel] systemd-logger and external syslog d