Re: help w/panic under heavy load - 5.4

From: Edwin (edwin_at_verolan.com)
Date: 07/25/05

  • Next message: David Okeby: "aac_pci.c Patch (support for HP ML110 G2)"
    Date: Sun, 24 Jul 2005 18:59:40 -0400
    To: freebsd-hackers@freebsd.org
    
    

    Max Laier (max@love2party.net) wrote:
    >
    > Edwin, what do you have for CFLAGS? Can you try to downgrade to "-O" for now
    > so that we have a better chance to get a full view?
    >

    Max,

    I have no CFLAGS or COPTFLAGS in /etc/make.conf - this was a basic
    kern-developer install on a blank PC. The only thing that's a little
    different about the box that i use to compile is that it's a dual
    processor machine - but no -j# options used in compilation of the kernel.

    the compile is proceding with the following as an example output
    from make/cc

    $ grep netinet /tmp/make.DEBUG1.output |grep fastfwd
    cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith
    -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/
    acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib
    /dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -incl
    ude opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000
     -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Werror /usr/src/sys/netinet/ip_fastfwd.c
    $

    are you referring to the -fformat-extensions, -fno-common and -finline...etc
    optimizations as well? or just the -O v. -O2/-O3/-Os one?

    If yes to the -f* optimizations - besides commenting out parts of the makefiles
    - is there a 'normal' way to disable them?

    FWIW - I also had (I think) the same problem with the 5.3 release - but I
    never worked it out - just other things on my plate, so I don't believe it's
    a recent code change (ie. 5.4 timeframe) if it does turn out to be a code
    change.

    it also has something to do with the load on the box - I'm testing with
    small udp packets (using iperf) - if I step up the size - I have to step
    up the bandwidth in order to cause the panic.

    _______________________________________________
    freebsd-hackers@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
    To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"


  • Next message: David Okeby: "aac_pci.c Patch (support for HP ML110 G2)"

    Relevant Pages

    • Re: No VB6
      ... line of code change to it. ... Is there anywhere I can compile the source code online while I look around for a copy? ... Regards, Chris. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Access Compliating
      ... Thus, during development, you should compile often. ... I compile every time i make a code change. ... Of course, when you done making changes to your application, then you want to make a mde file. ...
      (microsoft.public.access.forms)