Re: [rfc] migrate lagg to an rmlock

2013-08-24 Thread Alexander V. Chernikov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24.08.2013 00:54, Adrian Chadd wrote: Hi, I'd like to commit this to -10. It migrates the if_lagg locking from a rw lock to a rm lock. We see a bit of contention between the transmit and We're running lagg with rmlock on several hundred

Re: Thoughts on TMPFS no longer being considered highly experimental

2011-06-23 Thread Alexander V. Chernikov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew Jacob wrote: I gave up on using it after a brief try earlier this year. I can't remember the details, but it did lock up my amd64 system. On Thu, 23 Jun 2011, David O'Brien wrote: Does anyone object to this patch? David Wolfskill

Re: (i)frame based sites cause horrible performence in firefox 14.0.1

2012-08-17 Thread Alexander V. Chernikov
On 15.08.2012 07:04, Aryeh Friedman wrote: Sites that are based on frames or iframes (such as google mail and most of google's non-search services) kill the performance of www/firefox [firefox-14.0.1_1,1] (last updated yesterday on a 9.1 built at the same time) here is the uname: Same for me,

Re: Problem with r233937 on i386

2012-04-06 Thread Alexander V. Chernikov
On 06.04.2012 16:09, David Wolfskill wrote: Kernel build @ r233941 failed for me this morning, running: FreeBSD g1-227.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #525 233918M: Thu Apr 5 04:42:37 PDT 2012 r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386 thus: ...

Re: Some performance measurements on the FreeBSD network stack

2012-04-20 Thread Alexander V. Chernikov
On 20.04.2012 01:12, Andre Oppermann wrote: On 19.04.2012 22:34, K. Macy wrote: This is indeed a big problem. I'm working (rough edges remain) on changing the routing table locking to an rmlock (read-mostly) which This only helps if your flows aren't hitting the same rtentry. Otherwise you

Re: MPLS in freebsd

2012-05-06 Thread Alexander V. Chernikov
On 06.05.2012 12:11, Kurt Jaeger wrote: Hello, is there any on-job work on MPLS support in FreeBSD? Do you know this site ? It points to some svn repository with mpls patches. http://freebsd.mpls.in/ Major number of depends are already merged to the tree. I'm currently working to update

Re: null pointer panic in bpf_peers_present

2012-06-04 Thread Alexander V. Chernikov
On 04.06.2012 02:22, Andriy Gapon wrote: on 03/06/2012 23:56 Andriy Gapon said the following: I wonder if anybody else is seeing this and if there is a fix... This is very recent (today's) FreeBSD head with pretty dull network configuration. During boot I run into the following panic:

Re: bpf kernel crash

2012-06-04 Thread Alexander V. Chernikov
On 04.06.2012 18:31, Michael Pounov wrote: Kernel crash when you wish to change interface name from vlan0 to other name It seems to be in arrival/departure events. Yes, this is already fixed in r236559. -- WBR, Alexander ___

Re: interesting routing bug...

2014-01-09 Thread Alexander V. Chernikov
On 09.01.2014 05:18, John-Mark Gurney wrote: Well, I was trying to manually add a route for a host on the local network (I can explain why, but it doesn't matter) and I got this: Hello! There are several different kernel userland bugs :) # netstat -rnfinet Routing tables Internet:

Re: picking a new AF_* number for NETLINK ?

2014-01-17 Thread Alexander V. Chernikov
On 17.01.2014 03:19, Luigi Rizzo wrote: In porting the kernel openvswitch code to FreeBSD we have implemented netlink sockets, so we need to pick a Wow, great! How deep you're planning to go with netlink support? E.g. sockets with NETLINK_GENERIC OVS-related CMDs, or NETLINK_ROUTE (and other

Re: r265279 causes gpf at sys/net/route.c:930

2014-05-03 Thread Alexander V. Chernikov
On 04.05.2014 00:02, Trond Endrestøl wrote: Hi, I updated one of my amd64 base/head VMs this afternoon. It crashes in rt_expunge(), and I think r265279 is to blame. If someone's interested, here's the crash report: http://ximalas.info/~trond/amd64-head-VBOX-crash/r265283/core.txt.0

Re: r265279 causes gpf at sys/net/route.c:930

2014-05-03 Thread Alexander V. Chernikov
On 04.05.2014 00:06, Alexander V. Chernikov wrote: On 04.05.2014 00:02, Trond Endrestøl wrote: Hi, I updated one of my amd64 base/head VMs this afternoon. It crashes in rt_expunge(), and I think r265279 is to blame. If someone's interested, here's the crash report: http://ximalas.info

Re: New and exciting panic, possibly re(4)

2014-05-08 Thread Alexander V. Chernikov
On 07.05.2014 23:24, Sean Bruno wrote: While screwing around with comcast, I can trivially get this panic out of my desktop machine, and am very confused. It seems to happen on link change up/down events. I'm running 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r265280M. I don't have any direct

Re: dhclient sucks cpu usage...

2014-06-10 Thread Alexander V. Chernikov
On 10.06.2014 07:03, Bryan Venteicher wrote: Hi, - Original Message - So, after finding out that nc has a stupidly small buffer size (2k even though there is space for 16k), I was still not getting as good as performance using nc between machines, so I decided to generate some flame

Re: dhclient sucks cpu usage...

2014-06-10 Thread Alexander V. Chernikov
On 10.06.2014 20:24, John-Mark Gurney wrote: Alexander V. Chernikov wrote this message on Tue, Jun 10, 2014 at 13:17 +0400: On 10.06.2014 07:03, Bryan Venteicher wrote: Hi, - Original Message - So, after finding out that nc has a stupidly small buffer size (2k even though

Re: dhclient sucks cpu usage...

2014-06-10 Thread Alexander V. Chernikov
On 10.06.2014 22:11, Bryan Venteicher wrote: - Original Message - On 10.06.2014 07:03, Bryan Venteicher wrote: Hi, - Original Message - So, after finding out that nc has a stupidly small buffer size (2k even though there is space for 16k), I was still not getting as good as

Re: dhclient sucks cpu usage...

2014-06-10 Thread Alexander V. Chernikov
On 10.06.2014 22:56, John-Mark Gurney wrote: Alexander V. Chernikov wrote this message on Tue, Jun 10, 2014 at 21:33 +0400: On 10.06.2014 20:24, John-Mark Gurney wrote: Alexander V. Chernikov wrote this message on Tue, Jun 10, 2014 at 13:17 +0400: On 10.06.2014 07:03, Bryan Venteicher wrote

[patch] permit fib to be set on interface

2011-05-08 Thread Alexander V. Chernikov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At the moment the only possible way to set packet fib from userland is ipfw(8) setfib rule. Since no 'setfib tablearg' exists ruleset grows with every fib. Additionally, there is no way to set packet fib before netgraph processing: L2 ipfw hook is

HEADS UP: Merging projects/ipfw to HEAD

2014-10-04 Thread Alexander V. Chernikov
Hi, I'm going to merge projects/ipfw branch to HEAD in the middle of next week. What has changed: Main user-visible changes are related to tables: * Tables are now identified by names, not numbers. There can be up to 65k tables with up to 63-byte long names. * Tables are now set-aware

Re: Looping during boot-up process in FreeBSD-11 current

2014-10-04 Thread Alexander V. Chernikov
On 01.10.2014 02:02, Mike. wrote: On 9/30/2014 at 7:25 PM José Pérez Arauzo wrote: |[snip] |Try the 271146, |[snip] = This might be related with r271207. Can you try r271206 (or any recent HEAD with reverted r271207) ? I installed the 10.0 release CD. Then (after

Re: HEADS UP: Merging projects/ipfw to HEAD

2014-10-09 Thread Alexander V . Chernikov
On 04 Oct 2014, at 16:35, Alexander V. Chernikov melif...@freebsd.org wrote: Hi, I'm going to merge projects/ipfw branch to HEAD in the middle of next week. Merged in r 272840. What has changed: Main user-visible changes are related to tables: * Tables are now identified by names

Re: panic: resize_storage() notify failure [Was: HEADS UP: Merging projects/ipfw to HEAD]

2014-10-11 Thread Alexander V. Chernikov
On 11.10.2014 18:15, David Wolfskill wrote: On Sat, Oct 04, 2014 at 04:35:51PM +0400, Alexander V. Chernikov wrote: Hi, I'm going to merge projects/ipfw branch to HEAD in the middle of next week. OK; I was able to build install head @r272938 this morning on my laptop; on reboot, I

Re: The KASSERT from r282155 fired; have crash dump. will travel

2015-04-30 Thread Alexander V . Chernikov
30.04.2015, 15:31, David Wolfskill da...@catwhisker.org: From /var/crash/core.txt.6: Thu Apr 30 05:21:22 PDT 2015 FreeBSD  11.0-CURRENT FreeBSD 11.0-CURRENT #47  r282269M/282269:1100071: Thu Apr 30 05:07:08 PDT 2015 r...@g1-254.catwhisker.org:/common/S3/obj/usr/src/sys/CANARY  amd64

Re: panic: refcount inconsistency: found: 0 total: 1

2015-11-03 Thread Alexander V . Chernikov
03.11.2015, 17:05, "David Wolfskill" : > This was on my laptop; yesterday, it built & booted: > > FreeBSD g1-252.catwhisker.org 11.0-CURRENT FreeBSD 11.0-CURRENT #230 > r290270M/290270:1100085: Mon Nov 2 05:03:07 PST 2015 >

Re: r288951: ifconfig -alias, arp not removed

2015-10-30 Thread Alexander V . Chernikov
30.10.2015, 00:57, "Bryan Drewery" : > On 10/29/2015 9:46 AM, Bryan Drewery wrote: >>  On 10/29/15 9:42 AM, Eric van Gyzen wrote: >>>  On 10/29/2015 11:25, Bryan Drewery wrote:  # ifconfig  igb0: flags=8843 metric 0 mtu 1500

Re: panic in arptimer in r289937

2015-10-31 Thread Alexander V . Chernikov
31.10.2015, 05:32, "Adrian Chadd" : > Hiya, > > Here's a panic from arptimer: Hi Adrian, As far as I see, line 205 in if_ether.c is IF_AFDATA_LOCK(ifp) which happens after LLE_WUNLOCK(). So, it looks like (pre-cached) ifp had been freed before locking ifdata. Do you have

Re: panic in arptimer in r289937

2015-10-31 Thread Alexander V . Chernikov
31.10.2015, 16:46, "Adrian Chadd" <adr...@freebsd.org>: > On 31 October 2015 at 09:34, Alexander V. Chernikov > <melif...@freebsd.org> wrote: >>  31.10.2015, 05:32, "Adrian Chadd" <adr...@freebsd.org>: >>>  Hiya, >>> >>&g

Re: Why does netstat not work in jails?

2015-08-27 Thread Alexander V . Chernikov
28.08.2015, 04:56, Chris H bsd-li...@bsdforge.com: I've been attempting to run jails on an 11-CURRENT for the purpose of building world/kernel ports for all of our 9-STABLE production servers. I'm using standard/classic jail setup(s) -- not using any of the convenience ports/applications

Re: Panic on kldload/kldunload in/near callout

2015-09-12 Thread Alexander V . Chernikov
12.09.2015, 20:30, "hiren panchasara" <hi...@strugglingcoder.info>: > On 09/12/15 at 03:32P, Alexander V. Chernikov wrote: >>  12.09.2015, 02:22, "hiren panchasara" <hi...@strugglingcoder.info>: >>  > On 09/11/15 at 09:06P, Hans Pett

kernel dtrace and current

2015-09-13 Thread Alexander V . Chernikov
Hello all, I keep running in "dtrace: failed to compile script: "/usr/lib/dtrace/psinfo.d", line 39: failed to copy type of 'pr_uid': Type information is in parent and unavailable" message more and more often while trying to trace different -current kernels. Typically the reason besides that is

Re: Panic on kldload/kldunload in/near callout

2015-09-12 Thread Alexander V . Chernikov
12.09.2015, 02:22, "hiren panchasara" : > On 09/11/15 at 09:06P, Hans Petter Selasky wrote: >>  On 09/10/15 21:23, hiren panchasara wrote: >>  > I am on 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r286760M: Thu Sep 10 >>  > 08:15:43 MST 2015 >>  > >>  > I get random (1 out of

Re: kernel dtrace and current

2015-09-14 Thread Alexander V . Chernikov
13.09.2015, 23:54, "Mark Johnston" <ma...@freebsd.org>: > On Sun, Sep 13, 2015 at 04:23:23PM +0300, Alexander V. Chernikov wrote: >>  Hello all, >> >>  I keep running in >>  "dtrace: failed to compile script: "/usr/lib/dtrace/psinfo.d

Re: forwarding didn't work if wlan0 is member of a bridge

2016-01-13 Thread Alexander V . Chernikov
___ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: forwarding didn't work if wlan0 is member of a bridge

2016-01-11 Thread Alexander V . Chernikov
12.01.2016, 01:53, "Olivier Cochard-Labbé" : > After weeks of troubleshooting, at last I found how to reproduce this > problem ;-) Hi Olivier, > > Here is the setup: > > LAN0 <--> [(re0) fbsd router (bridge0 addm re1 addm wlan0)] <--> Wireless > LAN > > If interface re1

Re: forwarding didn't work if wlan0 is member of a bridge

2016-01-12 Thread Alexander V . Chernikov
12.01.2016, 23:48, "Olivier Cochard-Labbé" : > On Tue, Jan 12, 2016 at 7:22 PM, Adrian Chadd > wrote: > >>  This is actually the intended behaviour, right? The routed interface >>  is down, so the IP address on it and connected to it are unreachable. >

Re: forwarding didn't work if wlan0 is member of a bridge

2016-01-13 Thread Alexander V . Chernikov
13.01.2016, 13:02, "Olivier Cochard-Labbé" <oliv...@cochard.me>: > On Wed, Jan 13, 2016 at 9:45 AM, Alexander V. Chernikov <melif...@ipfw.ru> > wrote: > >>  I suspect the reason here is link state bridge handling. >>  ix0 does not seem to have IFCA

Re: panic "wlock already held" when changing ipv6 default route

2016-03-24 Thread Alexander V . Chernikov
25.03.2016, 02:11, "Guy Yur" : > Hi, > > When changing the ipv6 default route I get a panic on wlock already held. > Could be related to r293424 lock changes, haven't checked an older version > yet. Hi, Yes, there is a problem when the default route next hop is filled in