On Thu, Dec 13, 2001 at 01:57:46PM +0100, Dag-Erling Smorgrav wrote:
> Luigi Rizzo <[EMAIL PROTECTED]> writes:
> > STABLE can forward approx 125Kpps, whereas CURRENT tops at approx 80Kpps.
> 
> Kernel configs, please.

Attached. PICO5 is for CURRENT, PICO4 is for STABLE.
In my testbed i am using the "dc" driver.

        cheers
        luigi
#
# $FreeBSD: src/release/picobsd/bridge/PICOBSD,v 1.1.4.3 2001/01/29 22:40:02 luigi Exp 
$
#
# Line starting with #PicoBSD contains PicoBSD build parameters
#marker         def_sz  init    MFS_inodes      floppy_inodes
#PicoBSD        4200    init    8192            32768
options MD_ROOT_SIZE=4200      # same as def_sz

#makeoptions    CWARNFLAGS="-pedantic -Werror"
#makeoptions    COPTFLAGS="-O2"
# next to each option there is the approx. space used in the
# picobsd image.

machine         i386
#cpu            I386_CPU
cpu             I486_CPU
cpu             I586_CPU
cpu             I686_CPU
ident           PICOBSD
maxusers        20

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
#options                BOOTP
options         MFS                     #Memory Filesystem
options         MD_ROOT         #MFS as root
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]

options MSDOSFS         #MSDOS Filesystem
#options        CD9660          #ISO 9660 Filesystem, 12KB
#options        PROCFS          #Process filesystem, 4KB
#options        USERCONFIG              #boot -c editor, 4KB
#options        INTRO_USERCONFIG        #imply -c and parse info area
#options        VISUAL_USERCONFIG       #visual boot -c editor

options         IPFIREWALL
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT # divert (for natd, 4KB)
#options        DEVFS
options         PCI_QUIET
# Support for bridging and bandwidth limiting
options DUMMYNET
options BRIDGE
options HZ=1000
#options NMBCLUSTERS=16384
options NMBCLUSTERS=8192

#config         kernel  root on fd0a

device  isa0
device  pci0

device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0

device ata0     at isa? port IO_WD1 irq 14
#device ata1    at isa? port IO_WD2 irq 15
#device ata
device atadisk
#device atapicd # 8KB

# atkbdc0 controls both the keyboard and the PS/2 mouse
device  atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1
#device          psm0    at atkbdc? irq 12 # 8KB

device          vga0    at isa?

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa?

device          npx0    at nexus? port IO_NPX irq 13

# flags 0x30 means console, does not work on vmware.
device          sio0    at isa? port IO_COM1 flags 0x30 irq 4
device          sio1    at isa? port IO_COM2 irq 3

# device ppc0   at isa? port? flags 0x40 irq 7
# device        ppbus0
# device                nlpt0   at ppbus?
# device                plip0   at ppbus?
# device                ppi0    at ppbus?

#
# The following Ethernet NICs are all PCI devices.
#
device  miibus 
#device de0              # DEC/Intel DC21x4x (``Tulip'')
device  fxp0             # Intel, 4KB
#device xl0             # 3Com
#device ep0
device rl0              # Realtek 8139, 4KB
device dc0              # New Dec/Intel DC21x4x, 8KB
device sis0
device  lnc0

device ed0 at isa? port 0x280 irq 5 iomem 0xd8000
device ed1 at isa? port 0x300 irq 5 iomem 0xd0000

pseudo-device   loop
pseudo-device   ether
#pseudo-device  tun     2       # 4KB, for ppp
#pseudo-device  vn
pseudo-device   pty     16
pseudo-device   md              # memory disk

#options        MATH_EMULATE            #Support for x87 emulation, 4KB
pseudo-device   bpf 4   # 4KB, for tcpdump
#options        NFS                     #Network Filesystem
#options        NFS_NOSERVER            #Network Filesystem
options         DDB

#options        DEVICE_POLLING
#
# $FreeBSD: src/release/picobsd/bridge/PICOBSD,v 1.12 2001/10/01 17:32:43 luigi Exp $
#
# Line starting with #PicoBSD contains PicoBSD build parameters
#marker         def_sz  init    MFS_inodes      floppy_inodes
#PicoBSD        3200    init    8192            32768
options MD_ROOT_SIZE=3200      # same as def_sz

hints   "PICOBSD.hints"
machine         i386
#cpu            I386_CPU        # we do not want this on current...
#cpu            I486_CPU
cpu             I586_CPU
cpu             I686_CPU
ident           PICOBSD
maxusers        20

#options                MATH_EMULATE            #Support for x87 emulation
options         INET                    #InterNETworking
#options        INET6
options         FFS                     #Berkeley Fast Filesystem
#options        BOOTP                   #Use BOOTP to obtain IP address/hostname
options         MD_ROOT                 #MD is a potential root device

#options        NFS                     #Network Filesystem
#options        NFS_ROOT                #NFS usable as root device, NFS required

#options        MSDOSFS                 #MSDOS Filesystem
#options        CD9660                  #ISO 9660 Filesystem
#options        CD9660_ROOT             #CD-ROM usable as root, CD9660 required
#options        DEVFS                   #Device Filesystem
#options        PROCFS                  #Process filesystem
options         COMPAT_43               #Compatible with BSD 4.3 [KEEP THIS!]

options         DDB

options         IPFIREWALL
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT                # divert (for natd)
options         PCI_QUIET               #quiets PCI code on chipset settings

# Support for bridging and bandwidth limiting
options         DUMMYNET
options         BRIDGE
options         HZ=1000
options         NMBCLUSTERS=8192

device          isa
device          pci

# Floppy drives
device          fdc

# ATA and ATAPI devices
#device         ata
#device         atadisk                 # ATA disk drives
#device         atapicd                 # ATAPI CDROM drives
#options                ATA_STATIC_ID           #Static device numbering

# atkbdc0 controls both the keyboard and the PS/2 mouse
device          atkbdc  1               # At keyboard controller
device          atkbd
#device         psm                     # do we need the mouse ??

device          vga                     # VGA screen

# syscons is the default console driver, resembling an SCO console
device          sc      1

# Floating point support - do not disable.
device          npx

# Serial (COM) ports
device          sio

# Audio support
#device         pcm

# PCCARD (PCMCIA) support
#device         card            # pccard bus
#device         pcic            # PCMCIA bridge

# Parallel port
#device         ppc
#device         ppbus           # Parallel port bus (required)
#device         lpt             # Printer
#device         plip            # TCP/IP over parallel
#device         ppi             # Parallel port interface device

#
# The following Ethernet NICs are all PCI devices.
#
device  miibus 
#device         de              # DEC/Intel DC21x4x (``Tulip'')
device          lnc
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
device          xl              # 3Com
device          rl              # RealTek 8129/8139
device          vx              # 3Com 3c590, 3c595 (``Vortex'')
#device         wx              # Intel Gigabit Ethernet Card (``Wiseman'')
device          dc              # DEC/Intel 21143 and various workalikes
device          ed
device          sis

device          loop            # Network loopback
device          ether           # Ethernet support
device          tun             # Packet tunnel.
#device         vn              #Vnode driver (turns a file into a device)
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"
#device         gif     4       # IPv6 and IPv4 tunneling
#device         faith   1       # IPv6-to-IPv4 relaying (translation)
#device         tap


# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
device          bpf             # Berkeley packet filter
#options        DEVICE_POLLING

Reply via email to