Re: To SMP or not to SMP

2013-01-09 Thread Barney Cordoba
--- On Wed, 1/9/13, Barney Cordoba wrote: > From: Barney Cordoba > Subject: Re: To SMP or not to SMP > To: "Mark Atkinson" > Cc: freebsd-net@freebsd.org > Date: Wednesday, January 9, 2013, 1:08 PM > > > --- On Tue, 1/8/13, Mark Atkinson > wrote: > > > From: Mark Atkinson > > Subject: Re:

Re: To SMP or not to SMP

2013-01-09 Thread Erich Dollansky
Hi, On Wed, 9 Jan 2013 16:25:41 -0800 Michael Sierchio wrote: > On Wed, Jan 9, 2013 at 4:18 PM, Erich Dollansky > wrote: > > > SMP goes into the applications. A single-CPU kernel must still run > > these kind of applications. > > Applications may be multithreaded - and on a host with more tha

Re: To SMP or not to SMP

2013-01-09 Thread Michael Sierchio
On Wed, Jan 9, 2013 at 4:18 PM, Erich Dollansky wrote: > SMP goes into the applications. A single-CPU kernel must still run > these kind of applications. Applications may be multithreaded - and on a host with more than one (real or virtual) CPU, those threads may run concurrently. De quoi s'agi

Re: To SMP or not to SMP

2013-01-09 Thread Erich Dollansky
Hi, On Wed, 9 Jan 2013 06:35:33 -0800 (PST) Barney Cordoba wrote: > > This explanation defies the possibility of a GENERIC kernel, which > of course is an important element of a GPOS. Its too bad that smp > support can't be done with logic rather than a kernel option. > it seems to me that y

Re: To SMP or not to SMP

2013-01-09 Thread Konstantin Belousov
On Wed, Jan 09, 2013 at 03:54:43PM -0500, John Baldwin wrote: > On Wednesday, January 09, 2013 10:00:31 am Barney Cordoba wrote: > > > > --- On Wed, 1/9/13, sth...@nethelp.no wrote: > > > > > From: sth...@nethelp.no > > > Subject: Re: To SMP or not to SMP > > > To: erichsfreebsdl...@alogt.com >

Re: To SMP or not to SMP

2013-01-09 Thread John Baldwin
On Wednesday, January 09, 2013 10:00:31 am Barney Cordoba wrote: > > --- On Wed, 1/9/13, sth...@nethelp.no wrote: > > > From: sth...@nethelp.no > > Subject: Re: To SMP or not to SMP > > To: erichsfreebsdl...@alogt.com > > Cc: barney_cord...@yahoo.com, freebsd-net@freebsd.org, jack.vo...@gmail.

Re: bpf hold buffer in-use flag

2013-01-09 Thread John Baldwin
On Tuesday, November 13, 2012 4:40:57 pm Guy Helmer wrote: > To try to completely resolve the race in bpfread(), I have put together these changes to add a flag to indicate when the hold buffer cannot be modified because it is in use. Since it's my first time using mtx_sleep() and wakeup(), I wa

Re: panics in soabort with so_count != 0, one possible solution to one cause.

2013-01-09 Thread Andre Oppermann
On 09.01.2013 18:12, Gleb Smirnoff wrote: On Wed, Jan 09, 2013 at 04:22:15PM +0100, Steve Read wrote: S> Context for this message: S> http://www.freebsd.org/cgi/query-pr.cgi?pr=145825&cat=kern S> S> kern/145825: [panic] panic: soabort:

Re: To SMP or not to SMP

2013-01-09 Thread Barney Cordoba
--- On Tue, 1/8/13, Mark Atkinson wrote: > From: Mark Atkinson > Subject: Re: To SMP or not to SMP > To: freebsd-net@freebsd.org > Date: Tuesday, January 8, 2013, 11:29 AM > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 01/07/2013 18:25, Barney Cordoba wrote: > > I have a situation w

Re: panics in soabort with so_count != 0, one possible solution to one cause.

2013-01-09 Thread Gleb Smirnoff
On Wed, Jan 09, 2013 at 04:22:15PM +0100, Steve Read wrote: S> Context for this message: S> http://www.freebsd.org/cgi/query-pr.cgi?pr=145825&cat=kern S> S> kern/145825: [panic] panic: soabort: so_count S> S> AND S> S> http://www.freeb

Re: How to use netmap pkt-gen on 9.1?

2013-01-09 Thread Olivier Cochard-Labbé
On Wed, Jan 9, 2013 at 2:54 PM, Luigi Rizzo wrote: > you need to add a "device netmap" option in your kernel config file in order > to > build the device drivers with the required changes. "device netmap" was the forgotten part ! Now I reach to use it on -current and, following your advice, on

panics in soabort with so_count != 0, one possible solution to one cause.

2013-01-09 Thread Steve Read
Context for this message: http://www.freebsd.org/cgi/query-pr.cgi?pr=145825&cat=kern kern/145825: [panic] panic: soabort: so_count AND http://www.freebsd.org/cgi/query-pr.cgi?pr=159621 kern/159621: [tcp] [panic] panic: soabort: so_co

Re: To SMP or not to SMP

2013-01-09 Thread Barney Cordoba
--- On Wed, 1/9/13, sth...@nethelp.no wrote: > From: sth...@nethelp.no > Subject: Re: To SMP or not to SMP > To: erichsfreebsdl...@alogt.com > Cc: barney_cord...@yahoo.com, freebsd-net@freebsd.org, jack.vo...@gmail.com, > atkin...@gmail.com > Date: Wednesday, January 9, 2013, 9:32 AM > > > 4B

Re: To SMP or not to SMP

2013-01-09 Thread sthaug
> > 4BSD runs pretty well with an SMP kernel. I can test ULE and compare > > easily. A no SMP kernel is problematic as the igb driver doesn't seem > > to work and my onboard NICs are, sadly, igb. > > > this is bad luck. I know of the kernels as I have had SMP and single > CPU machines since 4.x t

Re: To SMP or not to SMP

2013-01-09 Thread Barney Cordoba
--- On Wed, 1/9/13, Erich Dollansky wrote: > From: Erich Dollansky > Subject: Re: To SMP or not to SMP > To: "Barney Cordoba" > Cc: "Mark Atkinson" , freebsd-net@freebsd.org, > jack.vo...@gmail.com > Date: Wednesday, January 9, 2013, 9:14 AM > Hi, > > On Wed, 9 Jan 2013 05:40:13 -0800 (PST)

Re: To SMP or not to SMP

2013-01-09 Thread Erich Dollansky
Hi, On Wed, 9 Jan 2013 05:40:13 -0800 (PST) Barney Cordoba wrote: > --- On Wed, 1/9/13, Erich Dollansky > wrote: > > From: Erich Dollansky > > Subject: Re: To SMP or not to SMP > > To: "Mark Atkinson" > > Cc: freebsd-net@freebsd.org > > Date: Wednesday, January 9, 2013, 1:01 AM > > Hi, > > >

Re: How to use netmap pkt-gen on 9.1?

2013-01-09 Thread Luigi Rizzo
On Wed, Jan 9, 2013 at 5:21 AM, Olivier Cochard-Labbé wrote: > On Wed, Jan 9, 2013 at 12:02 AM, Luigi Rizzo wrote: > > > not your mistake, on stable/9 i have not merged yet the > > device driver changes. > > Your best option is to copy sys/dev/netmap from HEAD, > > and add the device-specific chu

Re: To SMP or not to SMP

2013-01-09 Thread Barney Cordoba
--- On Wed, 1/9/13, Erich Dollansky wrote: > From: Erich Dollansky > Subject: Re: To SMP or not to SMP > To: "Mark Atkinson" > Cc: freebsd-net@freebsd.org > Date: Wednesday, January 9, 2013, 1:01 AM > Hi, > > On Tue, 08 Jan 2013 08:29:51 -0800 > Mark Atkinson > wrote: > > > -BEGIN PGP

Re: How to use netmap pkt-gen on 9.1?

2013-01-09 Thread Olivier Cochard-Labbé
On Wed, Jan 9, 2013 at 12:02 AM, Luigi Rizzo wrote: > not your mistake, on stable/9 i have not merged yet the > device driver changes. > Your best option is to copy sys/dev/netmap from HEAD, > and add the device-specific chunks also from HEAD > into the various drivers (dev/e1000, dev/ixgbe, dev/