Re: [RFC] Start SMP subsystem earlier

2015-01-06 Thread John Baldwin
On 1/5/15 8:18 AM, Hans Petter Selasky wrote: Hi, There is a limitiation on the number of interrupt vectors available when only a single processor is running. To have more interrupts available we need to start SMP earlier when building a monotolith kernel and not loading drivers as modules.

Re: [RFC] Start SMP subsystem earlier

2015-01-06 Thread Hans Petter Selasky
On 01/06/15 15:37, John Baldwin wrote: We need a lot more work before this is ready. This is one of the goals of the multipass new-bus stuff. In particular, we have to enumerate enough devices to bring event timer hardware up so that timer interrupts work so that tsleep() will actually sleep.

Re: [RFC] Start SMP subsystem earlier

2015-01-06 Thread Konstantin Belousov
On Tue, Jan 06, 2015 at 09:37:30AM -0500, John Baldwin wrote: On 1/5/15 8:18 AM, Hans Petter Selasky wrote: Hi, There is a limitiation on the number of interrupt vectors available when only a single processor is running. To have more interrupts available we need to start SMP earlier

Re: [RFC] Start SMP subsystem earlier

2015-01-06 Thread Ian Lepore
On Tue, 2015-01-06 at 09:37 -0500, John Baldwin wrote: On 1/5/15 8:18 AM, Hans Petter Selasky wrote: Hi, There is a limitiation on the number of interrupt vectors available when only a single processor is running. To have more interrupts available we need to start SMP earlier when

Re: [RFC] Start SMP subsystem earlier

2015-01-06 Thread Adrian Chadd
On 6 January 2015 at 07:55, Ian Lepore i...@freebsd.org wrote: On Tue, 2015-01-06 at 09:37 -0500, John Baldwin wrote: On 1/5/15 8:18 AM, Hans Petter Selasky wrote: Hi, There is a limitiation on the number of interrupt vectors available when only a single processor is running. To have

Re: [RFC] Start SMP subsystem earlier

2015-01-06 Thread Ian Lepore
On Tue, 2015-01-06 at 07:57 -0800, Adrian Chadd wrote: On 6 January 2015 at 07:55, Ian Lepore i...@freebsd.org wrote: On Tue, 2015-01-06 at 09:37 -0500, John Baldwin wrote: On 1/5/15 8:18 AM, Hans Petter Selasky wrote: Hi, There is a limitiation on the number of interrupt vectors

Re: [RFC] Start SMP subsystem earlier

2015-01-06 Thread John Baldwin
On 1/6/15 10:55 AM, Ian Lepore wrote: On Tue, 2015-01-06 at 09:37 -0500, John Baldwin wrote: On 1/5/15 8:18 AM, Hans Petter Selasky wrote: Hi, There is a limitiation on the number of interrupt vectors available when only a single processor is running. To have more interrupts available we

Re: [RFC] Start SMP subsystem earlier

2015-01-05 Thread Hans Petter Selasky
On 01/05/15 14:43, Konstantin Belousov wrote: On Mon, Jan 05, 2015 at 02:18:17PM +0100, Hans Petter Selasky wrote: Hi, There is a limitiation on the number of interrupt vectors available when only a single processor is running. To have more interrupts available we need to start SMP earlier

[RFC] Start SMP subsystem earlier

2015-01-05 Thread Hans Petter Selasky
Hi, There is a limitiation on the number of interrupt vectors available when only a single processor is running. To have more interrupts available we need to start SMP earlier when building a monotolith kernel and not loading drivers as modules. The driver in question is a network driver and

Re: [RFC] Start SMP subsystem earlier

2015-01-05 Thread Konstantin Belousov
On Mon, Jan 05, 2015 at 02:18:17PM +0100, Hans Petter Selasky wrote: Hi, There is a limitiation on the number of interrupt vectors available when only a single processor is running. To have more interrupts available we need to start SMP earlier when building a monotolith kernel and not

Re: [RFC] Start SMP subsystem earlier

2015-01-05 Thread Adrian Chadd
On 5 January 2015 at 06:08, Hans Petter Selasky h...@selasky.org wrote: On 01/05/15 14:43, Konstantin Belousov wrote: On Mon, Jan 05, 2015 at 02:18:17PM +0100, Hans Petter Selasky wrote: Hi, There is a limitiation on the number of interrupt vectors available when only a single processor is