Re: FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-11 Thread Gary Jennejohn
On Sat, 11 May 2019 20:21:46 -0500
Warner Losh  wrote:

> On Sat, May 11, 2019, 12:52 PM Eugene Grosbein  wrote:
> 
> > 11.05.2019 21:32, Julian H. Stacey wrote:
> >  
> > >> I've posted a review to remove obsolete 10 and 10/100 Ethernet drivers
> > >> as previous approved in FCP-101.
> > >> The following drivers are slated for
> > >> removal from FreeBSD-HEAD (to be FreeBSD-13):
> > >>
> > >> ae, bm, cs, de, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe  
> > >
> > > OMG ! ed ! That EOL's loads of PC boxes I have (& a show box of
> > > spare)  that will never be able to upgrade.  
> >
> > Do those boxes have 10M-only or 100Mbps variants of ed(4)?
> > What kind of hardware do they have (CPU and memory-wise)?
> >  
> 

More relevant questions might be
1) will these drivers only be removed from FBSD >= 13?
2) what versions of FBSD is Julian now running on his hardware?
3) does he ever plan to upgrade this hardware to >= FBSD 13?

I know Julian and he has an amazing collection of old hardware.  I
suspect that most of it will not even be able to run FBSD 13.

> 
> There are no 100M ed variants. There are some PC Card variants that have
> 100M MII connections, but they are limited to about 12Mbps due to bus
> limits. Even the PCI ones didn't have 100M mii connections.
> 


-- 
Gary Jennejohn (gj@)
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 128030] [ipsec] Enable IPSec in GENERIC kernel configuration

2019-05-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=128030

--- Comment #30 from Kubilay Kocak  ---
Author: gallatin
Date: Thu May  9 22:38:15 2019
New Revision: 347410
URL: https://svnweb.freebsd.org/changeset/base/347410

Log:
  Remove IPSEC from GENERIC due to performance issues

  Having IPSEC compiled into the kernel imposes a non-trivial
  performance penalty on multi-threaded workloads due to IPSEC
  refcounting. In my benchmarks of multi-threaded UDP
  transmit (connected sockets), I've seen a roughly 20% performance
  penalty when the IPSEC option is included in the kernel (16.8Mpps
  vs 13.8Mpps with 32 senders on a 14 core / 28 HTT Xeon
  2697v3)). This is largely due to key_addref() incrementing and
  decrementing an atomic reference count on the default
  policy. This cause all CPUs to stall on the same cacheline, as it
  bounces between different CPUs.

  Given that relatively few users use ipsec, and that it can be
  loaded as a module, it seems reasonable to ask those users to
  load the ipsec module so as to avoid imposing this penalty on the
  GENERIC kernel. Its my hope that this will make FreeBSD look
  better in "out of the box" benchmark comparisons with other
  operating systems.

  Many thanks to ae for fixing auto-loading of ipsec.ko when
  ifconfig tries to configure ipsec, and to cy for volunteering
  to ensure the the racoon ports will load the ipsec.ko module

  Reviewed by:  cem, cy, delphij, gnn, jhb, jpaetzel
  Differential Revision:https://reviews.freebsd.org/D20163

Modified:
  head/UPDATING
  head/sys/amd64/conf/GENERIC
  head/sys/arm/conf/std.armv6
  head/sys/arm/conf/std.armv7
  head/sys/arm64/conf/GENERIC
  head/sys/i386/conf/GENERIC
  head/sys/powerpc/conf/GENERIC
  head/sys/powerpc/conf/GENERIC64
  head/sys/riscv/conf/GENERIC
  head/sys/sparc64/conf/GENERIC

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


[Bug 237843] arp: Skips all name lookups if first fail with TRY_AGAIN

2019-05-11 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237843

Kubilay Kocak  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|n...@freebsd.org
 Status|New |Open
   Keywords||needs-qa
Summary|arp skips all name lookups  |arp: Skips all name lookups
   |if first fall with  |if first fail with
   |TRY_AGAIN   |TRY_AGAIN
 CC||ko...@freebsd.org,
   ||n...@freebsd.org

--- Comment #2 from Kubilay Kocak  ---
Thank you for the report Pete

"removing the line which sets 'nflag' to 1 after a TRY_AGAIN results in this."

If the above refers to a patch to attempt to fix the issue, could you please
include it as an attachment

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-11 Thread Warner Losh
On Sat, May 11, 2019, 12:52 PM Eugene Grosbein  wrote:

> 11.05.2019 21:32, Julian H. Stacey wrote:
>
> >> I've posted a review to remove obsolete 10 and 10/100 Ethernet drivers
> >> as previous approved in FCP-101.
> >> The following drivers are slated for
> >> removal from FreeBSD-HEAD (to be FreeBSD-13):
> >>
> >> ae, bm, cs, de, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe
> >
> > OMG ! ed ! That EOL's loads of PC boxes I have (& a show box of
> > spare)  that will never be able to upgrade.
>
> Do those boxes have 10M-only or 100Mbps variants of ed(4)?
> What kind of hardware do they have (CPU and memory-wise)?
>


There are no 100M ed variants. There are some PC Card variants that have
100M MII connections, but they are limited to about 12Mbps due to bus
limits. Even the PCI ones didn't have 100M mii connections.

Warner

> ___
> freebsd-curr...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-11 Thread Eugene Grosbein
11.05.2019 22:59, Julian H. Stacey wrote:

>> 11.05.2019 21:32, Julian H. Stacey wrote:
>>
 I've posted a review to remove obsolete 10 and 10/100 Ethernet drivers
 as previous approved in FCP-101.
 The following drivers are slated for
 removal from FreeBSD-HEAD (to be FreeBSD-13):

 ae, bm, cs, de, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe
>>>
>>> OMG ! ed ! That EOL's loads of PC boxes I have (& a show box of
>>> spare)  that will never be able to upgrade.
>>
>> Do those boxes have 10M-only or 100Mbps variants of ed(4)?
>> What kind of hardware do they have (CPU and memory-wise)?
> 
> Thanks for question.  I ran a quick check:
> cd /usr/src; 
> # Apply my patches:
> # customise `pwd` 
> # http://www.berklix.com/~jhs/bin/.csh/customise
> cd /sys/amd64/conf
> grep device [A-Z][A-Z][A-Z][A-Z].small | grep ed
> DUAL.small:device ed
> FILM.small:device ed
> KING.small:device ed
> LAPA.small:device ed
> LAPD.small:device ed
> LAPL.small:device ed
> LAPN.small:device ed
> LOFT.small:device ed
> MINI.small:device ed
> SCAN.small:device ed0 at isa? port 0x280 irq 15 iomem 0xd iosiz 0x1
> SLIM.small:device ed
> SNOW.small:device ed0 at isa? port 0x280 irq 5 iomem 0xc8000
> WIND.small:device ed

I've asked not for configuration files but for description of hardware.
ed(4) supports many different models. Some of them do 10Mbps only
but some are 100M-capable including PCI-connected.

And it's interesting to know what is CPU and memory type/amount of boxes.


___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-11 Thread Warner Losh
On Sat, May 11, 2019, 12:03 PM Rodney W. Grimes <
freebsd-...@gndrsh.dnsmgr.net> wrote:

> > > I've posted a review to remove obsolete 10 and 10/100 Ethernet drivers
> > > as previous approved in FCP-101.
> > > The following drivers are slated for
> > > removal from FreeBSD-HEAD (to be FreeBSD-13):
> > >
> > > ae, bm, cs, de, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe
> >
> > OMG ! ed ! That EOL's loads of PC boxes I have (& a show box of
> > spare)  that will never be able to upgrade.
>
> I thought ed was already saved from this process, as that is the NE2000
> driver, probably the most cloned network device on the planet.
>

It was even a decade ago, but the world moved on. virtualization has
supported newer NICs for years.

Ed(4) doesn't do DMA and is quite limited in terms of what it can do.

But even so, we'd set the threshold at 5 or 10 installed machines running
11 or newer. If Julian legit has that many machines, then we can remove it
from the list. In the initial period of this process, all the folks that
were concerned turned put to not have machines. The nycbug dmesg stats also
showed no use after 8 or so.

Warner

-- 
> Rod Grimes
> rgri...@freebsd.org
> ___
> freebsd-curr...@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
>
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-11 Thread Rodney W. Grimes
> > I've posted a review to remove obsolete 10 and 10/100 Ethernet drivers
> > as previous approved in FCP-101.
> > The following drivers are slated for
> > removal from FreeBSD-HEAD (to be FreeBSD-13):
> > 
> > ae, bm, cs, de, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe
> 
> OMG ! ed ! That EOL's loads of PC boxes I have (& a show box of
> spare)  that will never be able to upgrade.

I thought ed was already saved from this process, as that is the NE2000
driver, probably the most cloned network device on the planet.


-- 
Rod Grimes rgri...@freebsd.org
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-11 Thread Julian H. Stacey
Eugene Grosbein wrote:
> 11.05.2019 21:32, Julian H. Stacey wrote:
> 
> >> I've posted a review to remove obsolete 10 and 10/100 Ethernet drivers
> >> as previous approved in FCP-101.
> >> The following drivers are slated for
> >> removal from FreeBSD-HEAD (to be FreeBSD-13):
> >>
> >> ae, bm, cs, de, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe
> > 
> > OMG ! ed ! That EOL's loads of PC boxes I have (& a show box of
> > spare)  that will never be able to upgrade.
> 
> Do those boxes have 10M-only or 100Mbps variants of ed(4)?
> What kind of hardware do they have (CPU and memory-wise)?

Thanks for question.  I ran a quick check:
cd /usr/src; 
#   Apply my patches:
#   customise `pwd` 
#   http://www.berklix.com/~jhs/bin/.csh/customise
cd /sys/amd64/conf
grep device [A-Z][A-Z][A-Z][A-Z].small | grep ed
DUAL.small:device ed
FILM.small:device ed
KING.small:device ed
LAPA.small:device ed
LAPD.small:device ed
LAPL.small:device ed
LAPN.small:device ed
LOFT.small:device ed
MINI.small:device ed
SCAN.small:device ed0 at isa? port 0x280 irq 15 iomem 0xd iosiz 0x1
SLIM.small:device ed
SNOW.small:device ed0 at isa? port 0x280 irq 5 iomem 0xc8000
WIND.small:device ed

My master config file is
 http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/sys/amd64/conf/HOLZ
(Its public but only for my convenience, not asking anyone to
struggle with that!)

None of those machines are newish, & some very old, some obsolete,
some still very useful, eg host SCAN running 4.11 embedded !
http://berklix.com/scanjet/

I need to look more what I can scrap, but ed was extremely common once,
inc for pcmcia, I bet loads of machine have embedded ed & ed0.

If its a shortage of hardware is the problem let me know.

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 http://stolenvotes.uk  Brexit ref. stole votes from 700,000 Brits in EU.
 Lies bought; Groups fined; 1.9 M young had no vote, 1.3 M old leavers died.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-11 Thread Eugene Grosbein
11.05.2019 21:32, Julian H. Stacey wrote:

>> I've posted a review to remove obsolete 10 and 10/100 Ethernet drivers
>> as previous approved in FCP-101.
>> The following drivers are slated for
>> removal from FreeBSD-HEAD (to be FreeBSD-13):
>>
>> ae, bm, cs, de, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe
> 
> OMG ! ed ! That EOL's loads of PC boxes I have (& a show box of
> spare)  that will never be able to upgrade.

Do those boxes have 10M-only or 100Mbps variants of ed(4)?
What kind of hardware do they have (CPU and memory-wise)?

___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: FCP-101: obsolete driver removal planned for 2019-05-18

2019-05-11 Thread Julian H. Stacey
> I've posted a review to remove obsolete 10 and 10/100 Ethernet drivers
> as previous approved in FCP-101.
> The following drivers are slated for
> removal from FreeBSD-HEAD (to be FreeBSD-13):
> 
> ae, bm, cs, de, ed, ep, ex, fe, pcn, sf, sn, tl, tx, txp, vx, wb, xe

OMG ! ed ! That EOL's loads of PC boxes I have (& a show box of
spare)  that will never be able to upgrade.

Cheers,
Julian
-- 
Julian Stacey, Consultant Systems Engineer, BSD Linux Unix, Munich Aachen Kent
 http://stolenvotes.uk  Brexit ref. stole votes from 700,000 Brits in EU.
 Lies bought; Groups fined; 1.9 M young had no vote, 1.3 M old leavers died.
___
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"