Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Hans Petter Selasky
On 08/18/15 23:54, Rick Macklem wrote: Ouch! Yes, I now see that the code that counts the # of mbufs is before the code that adds the tcp/ip header mbuf. In my opinion, this should be fixed by setting if_hw_tsomaxsegcount to whatever the driver provides - 1. It is not the driver's responsibility

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Yonghyeon PYUN
On Tue, Aug 18, 2015 at 06:04:25PM -0400, Rick Macklem wrote: > Hans Petter Selasky wrote: > > On 08/18/15 14:53, Rick Macklem wrote: > > > If this is just a test machine, maybe you could test with these lines (at > > > about #880) > > > in sys/netinet/tcp_output.c commented out? (It looks to me li

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Yonghyeon PYUN
On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: > On 08/18/15 23:54, Rick Macklem wrote: > >Ouch! Yes, I now see that the code that counts the # of mbufs is before the > >code that adds the tcp/ip header mbuf. > > > >In my opinion, this should be fixed by setting if_hw_tsomaxse

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Hans Petter Selasky
On 08/19/15 09:42, Yonghyeon PYUN wrote: On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: On 08/18/15 23:54, Rick Macklem wrote: Ouch! Yes, I now see that the code that counts the # of mbufs is before the code that adds the tcp/ip header mbuf. In my opinion, this should be

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Hans Petter Selasky
On 08/19/15 09:42, Yonghyeon PYUN wrote: On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: On 08/18/15 23:54, Rick Macklem wrote: Ouch! Yes, I now see that the code that counts the # of mbufs is before the code that adds the tcp/ip header mbuf. In my opinion, this should be

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Yonghyeon PYUN
On Wed, Aug 19, 2015 at 09:51:44AM +0200, Hans Petter Selasky wrote: > On 08/19/15 09:42, Yonghyeon PYUN wrote: > >On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: > >>On 08/18/15 23:54, Rick Macklem wrote: > >>>Ouch! Yes, I now see that the code that counts the # of mbufs is be

best way to restart process

2015-08-19 Thread Marko Cupać
Hi, I am trying to setup diskless client whose only purpose is logging of one user with permanent password into single RDP server via xfreerdp. I know how to setup autostart of xfreerdp, but I don't know how to restart if it exits for some reason (network problems etc.) What is the best way to ch

Re: best way to restart process

2015-08-19 Thread Slawa Olhovchenkov
On Wed, Aug 19, 2015 at 10:37:47AM +0200, Marko Cupa'c wrote: > Hi, > > I am trying to setup diskless client whose only purpose is logging > of one user with permanent password into single RDP server via xfreerdp. > I know how to setup autostart of xfreerdp, but I don't know how to > restart if i

Re: [POSSIBLE BUG] 10-STABLE CARP erroneously becomes master on boot

2015-08-19 Thread Damien Fleuriot
Hello list, Freddie, I've been able to run extensive tests, the results of which I'm pasting below. First of all, I've been unable to replicate the problem in our preproduction and QA environments. The differences between our production and pre/QA envs are as follows : - we use link aggregatio

[patch] [ports] net/relayd config check in rc.d

2015-08-19 Thread Damien Fleuriot
Hello list, Does anyone want to take a look at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200914 ? This is a patch I submitted for net/relayd 's rc.d script so that it performs a configuration check before start/reload/restart, à la nginx. The ticket's been assigned to mm@ but it looks

Installing FreeBSD on MacPro

2015-08-19 Thread Gerhard Schmidt
Hi, I'm trying to install FreeBSD 10.2 on a MacPro. Installing and Booting works. But a few seconds after login and accessing the Harddisk, I'm getting the following errors. ahcich0: Timeout on slot 13 port 0 ahcich0: is 0008 cs ss rs tfd 40 serr cmd

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Rick Macklem
Yonghyeon PYUN wrote: > On Wed, Aug 19, 2015 at 09:51:44AM +0200, Hans Petter Selasky wrote: > > On 08/19/15 09:42, Yonghyeon PYUN wrote: > > >On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: > > >>On 08/18/15 23:54, Rick Macklem wrote: > > >>>Ouch! Yes, I now see that the code

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Rick Macklem
Hans Petter Selasky wrote: > On 08/19/15 09:42, Yonghyeon PYUN wrote: > > On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: > >> On 08/18/15 23:54, Rick Macklem wrote: > >>> Ouch! Yes, I now see that the code that counts the # of mbufs is before > >>> the > >>> code that adds the

Re: ping from web application

2015-08-19 Thread Eugene Grosbein
On 18.08.2015 20:09, Marko Cupać wrote: > Hi, > > I use web applicaton (net-mgmt/phpipam) which should have the ability > to check hosts' availability via ping. I can even specify path to ping > executable. > > This functionality does not work on FreeBSD by default, and suggested > workaround is

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Rick Macklem
Hans Petter Selasky wrote: > On 08/19/15 09:42, Yonghyeon PYUN wrote: > > On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: > >> On 08/18/15 23:54, Rick Macklem wrote: > >>> Ouch! Yes, I now see that the code that counts the # of mbufs is before > >>> the > >>> code that adds the

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Rick Macklem
Hans Petter Selasky wrote: > On 08/19/15 09:42, Yonghyeon PYUN wrote: > > On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: > >> On 08/18/15 23:54, Rick Macklem wrote: > >>> Ouch! Yes, I now see that the code that counts the # of mbufs is before > >>> the > >>> code that adds the

Re: Installing FreeBSD on MacPro

2015-08-19 Thread Dot Yet
Seems to be related to be related to your SSD drive or the SATA control. do you a secondary SSD or HDD to try on this machine? I've seen this happen on my Intel SSD in the past. Thx . On Wed, Aug 19, 2015 at 8:07 AM, Gerhard Schmidt wrote: > Hi, > > I'm trying to install FreeBSD 10.2 on a MacPr

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Daniel Braniss
> On 19 Aug 2015, at 16:00, Rick Macklem wrote: > > Hans Petter Selasky wrote: >> On 08/19/15 09:42, Yonghyeon PYUN wrote: >>> On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: On 08/18/15 23:54, Rick Macklem wrote: > Ouch! Yes, I now see that the code that counts the

ipsec on recent STABLE

2015-08-19 Thread Eugene M. Zheganin
Hi. Recently I built an i386 nanobsd image from a recent STABLE, r285595M (seems like some patch laso wasn't overwritten correctly in my tree), and I cannot get it to work. In the same time same revision on amd64 works fine. Symptoms are - nanobsd sends traffic just fine, it's seen on the remote e

Re: Panic [page fault] in _ieee80211_crypto_delkey(): stable/10/amd64 @r286878

2015-08-19 Thread David Wolfskill
On Tue, Aug 18, 2015 at 04:20:07PM -0700, David Wolfskill wrote: > I was minding my own business in a staff meeting this afternoon, and my > laptop rebooted; seems it got a panic. I've copied the core.txt.0 file > to , along with a > verbose dme

Re: [POSSIBLE BUG] 10-STABLE CARP erroneously becomes master on boot

2015-08-19 Thread Damien Fleuriot
On 19 August 2015 at 11:29, Damien Fleuriot wrote: > Hello list, Freddie, > > > I've been able to run extensive tests, the results of which I'm pasting > below. > > > First of all, I've been unable to replicate the problem in our > preproduction and QA environments. > > The differences between ou

Re: Panic [page fault] in _ieee80211_crypto_delkey(): stable/10/amd64 @r286878

2015-08-19 Thread Adrian Chadd
hi, you'll have to do some debugging. it looks like it's some kind of odd race - line 461 is _ieee80211_crypto_delkey(); line 105 is cipher_detach() and it blows up there. Try "wlandebug +crypto" during your next boot and let's see what it logs for the key. If you can 'print *key' in kgdb on the

Re: Panic [page fault] in _ieee80211_crypto_delkey(): stable/10/amd64 @r286878

2015-08-19 Thread David Wolfskill
On Wed, Aug 19, 2015 at 12:25:38PM -0700, Adrian Chadd wrote: > ... But we definitely ahe enough to put into a PR.. > ... Bug 202494 - Panic [page fault] in _ieee80211_crypto_delkey() Peace, david -- David H. Wolfskill

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Rick Macklem
Daniel Braniss wrote: > > > On 19 Aug 2015, at 16:00, Rick Macklem wrote: > > > > Hans Petter Selasky wrote: > >> On 08/19/15 09:42, Yonghyeon PYUN wrote: > >>> On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: > On 08/18/15 23:54, Rick Macklem wrote: > > Ouch! Yes, I

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Yonghyeon PYUN
On Wed, Aug 19, 2015 at 09:00:35AM -0400, Rick Macklem wrote: > Hans Petter Selasky wrote: > > On 08/19/15 09:42, Yonghyeon PYUN wrote: > > > On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: > > >> On 08/18/15 23:54, Rick Macklem wrote: > > >>> Ouch! Yes, I now see that the code

Re: ix(intel) vs mlxen(mellanox) 10Gb performance

2015-08-19 Thread Yonghyeon PYUN
On Wed, Aug 19, 2015 at 08:13:59AM -0400, Rick Macklem wrote: > Yonghyeon PYUN wrote: > > On Wed, Aug 19, 2015 at 09:51:44AM +0200, Hans Petter Selasky wrote: > > > On 08/19/15 09:42, Yonghyeon PYUN wrote: > > > >On Wed, Aug 19, 2015 at 09:00:52AM +0200, Hans Petter Selasky wrote: > > > >>On 08/18/