Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've read the Upstart features and it says nothing about concurrency. I also read old advices to set CONCURRENCY value in the /etc/init.d/rc But there is a comment:

Specify method used to enable concurrent init.d scripts. Valid options are 'none', 'startpar' and 'makefile'. To enable the concurrent boot option, the init.d script order must allow for concurrency. This is not the case with the default boot sequence in Debian as of 2008-01-20. Before enabling concurrency, one need to check the sequence values of all boot scripts, and make sure only scripts that can be started in parallel have the same sequence number, and that a scripts dependencies have a earlier sequence number. See the insserv package for a away to reorder the boot automatically to allow this.

And the CONCURRENCY is set to none.

insserv is installed in my Ubuntu 11.04. But is it used?

My system is already amazingly fast because it's on the SSD. But I'd like to know if it uses all cores during boot.

share|improve this question
    
I've just installed chkconfig and here is what it said: $ sudo chkconfig postgresql off insserv: warning: script 'K20acpi-support' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. and lots of other messages like this. –  int_ua Sep 18 '11 at 15:23

1 Answer 1

up vote 8 down vote accepted

Increasingly this setting is becoming meaningless as most services are launched by Upstart. Only the scripts listed in /etc/init.d/ that are not symlinks are run as System V style init scripts.

Chkconfig is not very useful on newer versions of Ubuntu (10.04 on) because so many of the jobs are now run by Upstart. Any error like the one you posted means bascially "this is an Upstart job, I can't do anything with it". The symlinks in /etc/init.d are for your convenience and for compatibility with scripts that expect to start services with a command like /etc/init.d/acpid start.

The real startup script/job is /etc/init/acpid.conf. Only the scripts in /etc/init.d that aren't links to /etc/init can be manipulated with commands like chkconfig or update-rc.d.

I don't expect there to be much speed difference at all with any setting you put in there. Upstart is already highly parallelized and it's doing by far most of the work booting your system. To answer the headline question: YES, the Ubuntu boot process is definitely taking advantage of multiple cores.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.